mirror of https://github.com/aliasrobotics/cai.git
152 lines
3.2 KiB
CSS
152 lines
3.2 KiB
CSS
/*
|
|
Root variables that apply to all color schemes.
|
|
Material for MkDocs automatically switches data-md-color-scheme
|
|
between "default" (light) and "slate" (dark) when you use the toggles.
|
|
*/
|
|
:root {
|
|
/* Font families */
|
|
--md-text-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
--md-typeface-heading: "Playfair Display", Georgia, "Times New Roman", serif;
|
|
|
|
/* Global color variables */
|
|
--md-default-fg-color: #212121;
|
|
--md-default-bg-color: #ffffff;
|
|
--md-primary-fg-color: #000;
|
|
--md-accent-fg-color: #000;
|
|
|
|
/* Code block theming */
|
|
--md-code-fg-color: #333;
|
|
--md-code-bg-color: #f5f5f5;
|
|
|
|
/* Tables, blockquotes, etc. */
|
|
--md-table-row-border-color: #e0e0e0;
|
|
--md-admonition-bg-color: #f8f8f8;
|
|
--md-admonition-title-fg-color: #373737;
|
|
--md-default-fg-color--light: #000;
|
|
|
|
--md-typeset-a-color: #000;
|
|
--md-accent-fg-color: #000;
|
|
|
|
--md-code-fg-color: #000;
|
|
}
|
|
|
|
/* Add elegant font imports */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
|
|
|
|
/* Header styling */
|
|
.md-header {
|
|
background-color: #000;
|
|
}
|
|
|
|
.md-header--shadow {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.md-content .md-typeset h1 {
|
|
color: #000;
|
|
font-size: 2.5rem;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.md-typeset p,
|
|
.md-typeset li {
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.md-typeset__table p {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.md-nav {
|
|
font-size: 14px;
|
|
}
|
|
.md-nav__title {
|
|
color: #000;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.md-typeset h1,
|
|
.md-typeset h2,
|
|
.md-typeset h3,
|
|
.md-typeset h4 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.md-typeset h2 {
|
|
font-size: 1.8rem;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.md-typeset h3 {
|
|
font-size: 1.4rem;
|
|
margin-top: 1.5rem;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.md-typeset h1 code {
|
|
color: #000;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
}
|
|
.md-footer {
|
|
display: none;
|
|
}
|
|
|
|
.md-header__title {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.md-typeset .admonition,
|
|
.md-typeset details {
|
|
border: none;
|
|
outline: none;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-typeset pre > code {
|
|
font-size: 14px;
|
|
font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
|
|
}
|
|
|
|
.md-typeset__table code {
|
|
font-size: 14px;
|
|
font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
|
|
}
|
|
|
|
/* Custom link styling */
|
|
.md-content a {
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.md-content a:hover {
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
/* Code block styling */
|
|
.md-content .md-code__content {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.md-clipboard.md-icon {
|
|
color: #9e9e9e;
|
|
}
|
|
|
|
/* Reset scrollbar styling to browser default with high priority */
|
|
.md-sidebar__scrollwrap {
|
|
scrollbar-color: auto !important;
|
|
}
|
|
|
|
/* Add monospace font for code */
|
|
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');
|