test
This commit is contained in:
43
mkdocs/site/stylesheets/extra-cm-archive.css
Normal file
43
mkdocs/site/stylesheets/extra-cm-archive.css
Normal file
@@ -0,0 +1,43 @@
|
||||
/* Multi-line code blocks */
|
||||
pre {
|
||||
white-space: pre-wrap !important;
|
||||
word-wrap: break-word !important;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden !important;
|
||||
position: static !important; /* Change to static to remove from stacking context */
|
||||
}
|
||||
|
||||
pre code {
|
||||
white-space: pre-wrap !important;
|
||||
word-break: break-word !important;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
/* Inline code blocks */
|
||||
p code {
|
||||
white-space: normal !important;
|
||||
word-break: normal !important;
|
||||
width: auto !important;
|
||||
display: inline !important;
|
||||
background-color: rgba(175, 184, 193, 0.2);
|
||||
padding: 0.2em 0.4em;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* Target the popup container specifically */
|
||||
div[role="dialog"],
|
||||
.md-dialog,
|
||||
.md-tooltip,
|
||||
.md-overlay {
|
||||
position: relative !important;
|
||||
z-index: 100000 !important; /* Very high z-index */
|
||||
}
|
||||
|
||||
/* Ensure code blocks inside popups behave properly */
|
||||
div[role="dialog"] pre,
|
||||
.md-dialog pre {
|
||||
position: relative !important;
|
||||
z-index: 1 !important;
|
||||
}
|
||||
341
mkdocs/site/stylesheets/home.css
Normal file
341
mkdocs/site/stylesheets/home.css
Normal file
@@ -0,0 +1,341 @@
|
||||
/* Core layout */
|
||||
.page-layout {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* Left sidebar */
|
||||
.left-sidebar {
|
||||
width: 280px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
order: 2;
|
||||
}
|
||||
|
||||
/* Main content container */
|
||||
.home-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
text-align: left;
|
||||
padding: 1.5rem;
|
||||
min-width: 0;
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.home-content {
|
||||
max-width: 800px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Typography styles */
|
||||
.home-content h1 {
|
||||
margin: 0 0 1rem;
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.home-content p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
color: var(--md-primary-fg-color);
|
||||
margin: 0.7rem 0 1rem 0 !important;
|
||||
}
|
||||
|
||||
/* Button styles */
|
||||
.home-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
gap: 0.8rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
display: inline-block;
|
||||
padding: 0.7rem 1.4rem;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.home-button.primary {
|
||||
background-color: var(--md-primary-fg-color);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.home-button.primary:hover {
|
||||
background-color: var(--md-primary-fg-color--dark);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.home-button.secondary {
|
||||
background-color: transparent;
|
||||
color: var(--md-primary-fg-color);
|
||||
border: 1px solid var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.home-button.secondary:hover {
|
||||
background-color: rgba(var(--md-primary-fg-color--rgb), 0.05);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Contact sidebar */
|
||||
.contact-sidebar {
|
||||
width: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
order: 3;
|
||||
}
|
||||
|
||||
/* Card styling */
|
||||
.sidebar-card {
|
||||
background: var(--md-primary-bg-color);
|
||||
border-radius: 8px;
|
||||
padding: 1.2rem;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.sidebar-card:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--md-primary-fg-color);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.card-content h3 {
|
||||
font-size: 1.1rem;
|
||||
margin: 0 0 0.8rem 0;
|
||||
color: var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.card-content p {
|
||||
font-size: 0.85rem;
|
||||
margin: 0.3rem 0 0.8rem;
|
||||
}
|
||||
|
||||
/* Resources card */
|
||||
.resource-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.resource-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.7rem;
|
||||
padding: 0.7rem;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all 0.2s ease;
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
.resource-item:hover {
|
||||
background: rgba(var(--md-primary-fg-color--rgb), 0.1);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.resource-icon {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.resource-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.resource-info strong {
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.resource-info span {
|
||||
font-size: 0.75rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Download card */
|
||||
.sidebar-card.download {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
background: var(--md-primary-fg-color);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
font-size: 1.5rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Community profile */
|
||||
.community-profile {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin: 1rem 0;
|
||||
padding: 0.8rem;
|
||||
background: rgba(var(--md-primary-fg-color--rgb), 0.04);
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.community-photo {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.community-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.community-info strong {
|
||||
display: block;
|
||||
font-size: 0.9rem;
|
||||
color: var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
/* Contact actions */
|
||||
.contact-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.7rem 1rem;
|
||||
background: white;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 6px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-size: 0.85rem;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.action-btn:hover {
|
||||
background: var(--md-primary-fg-color);
|
||||
color: white;
|
||||
border-color: var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.action-btn.secondary {
|
||||
background: rgba(var(--md-primary-fg-color--rgb), 0.1);
|
||||
color: var(--md-primary-fg-color);
|
||||
}
|
||||
|
||||
.icon {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@media (max-width: 1200px) {
|
||||
.page-layout {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.home-container {
|
||||
flex-basis: 100%;
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.left-sidebar {
|
||||
flex-basis: 45%;
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.contact-sidebar {
|
||||
flex-basis: 45%;
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.page-layout {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.home-container {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.left-sidebar,
|
||||
.contact-sidebar {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.left-sidebar {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.contact-sidebar {
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.page-layout {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.home-buttons {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark mode support */
|
||||
[data-md-color-scheme="slate"] .sidebar-card {
|
||||
background: rgba(45, 55, 72, 0.3);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .resource-item {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .resource-item:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .action-btn {
|
||||
background: rgba(45, 55, 72, 0.5);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
Reference in New Issue
Block a user