mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
159 lines
3.2 KiB
SCSS
159 lines
3.2 KiB
SCSS
// Add your own CSS here!
|
|
:root {
|
|
--light: #faf8f8;
|
|
--dark: #141021;
|
|
--secondary: #284b63;
|
|
--tertiary: #84a59d;
|
|
--visited: #afbfc9;
|
|
--primary: #f28482;
|
|
--gray: #4e4e4e;
|
|
--lightgray: #f0f0f0;
|
|
--outlinegray: #dadada;
|
|
}
|
|
|
|
[saved-theme="dark"] {
|
|
--light: #1e1e21 !important;
|
|
--dark: #fbfffe !important;
|
|
--secondary: #6b879a !important;
|
|
--visited: #4a575e !important;
|
|
--tertiary: #84a59d !important;
|
|
--primary: #f58382 !important;
|
|
--gray: #d4d4d4 !important;
|
|
--lightgray: #292633 !important;
|
|
--outlinegray: #343434 !important;
|
|
}
|
|
|
|
:root {
|
|
--text-accent: rgb(238, 27, 231);
|
|
--background-primary-alt: #000;
|
|
}
|
|
.theme-dark {
|
|
--text-accent: rgb(238, 27, 231);
|
|
--background-primary-alt: #000;
|
|
}
|
|
|
|
html {
|
|
font-size: 24px;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
body, body.theme-dark {
|
|
color: #fff;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: .75rem;
|
|
background: #111;
|
|
box-sizing: border-box;
|
|
font-family: "Poppins", sans-serif;
|
|
font-weight: 500;
|
|
line-height: 1em;
|
|
font-smoothing: antialiased;
|
|
text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
#page-title a { display: flex; align-items: center; color: #fff; font-size: .75rem; }
|
|
#page-title img { margin-right: 15px; }
|
|
|
|
.mainTOC { background: #222; }
|
|
|
|
article a {
|
|
color: rgb(238, 27, 231); background: none;
|
|
}
|
|
article a.internal-link { background: none; }
|
|
|
|
article h2 {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
body.theme-dark h1,
|
|
body.theme-dark h2,
|
|
body.theme-dark h3,
|
|
body.theme-dark h4,
|
|
body.theme-dark h5,
|
|
body.theme-dark h6,
|
|
body.theme-dark .page-header {
|
|
font-family: 'Playfair Display', serif;
|
|
margin-top: 45px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.page-header {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.markdown-preview-view h1 {
|
|
font-size: 32px;
|
|
font-family: 'Playfair Display', sans-serif;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.markdown-preview-view {
|
|
font-size: 16px;
|
|
line-height: 26px;
|
|
font-family: 'Poppins', sans-serif;
|
|
}
|
|
|
|
.markdown-preview-view .internal-link.is-unresolved {
|
|
opacity: .75;
|
|
}
|
|
.published-container.is-readable-line-width .site-body {
|
|
justify-content: initial;
|
|
}
|
|
|
|
.site-body-left-column-site-name {
|
|
padding-left: 60px;
|
|
position: relative;
|
|
}
|
|
|
|
.site-body-left-column {
|
|
flex: 0 0 330px;
|
|
}
|
|
|
|
.published-container.is-readable-line-width .site-body-center-column {
|
|
flex: 0 1 940px;
|
|
}
|
|
|
|
.site-body-left-column-site-name:before {
|
|
content: '';
|
|
display: block;
|
|
width: 30px;
|
|
height: 30px;
|
|
background: url(https://overment.com/images/logo-icon.svg);
|
|
background-size: cover;
|
|
position: absolute;
|
|
left: 20px;
|
|
top: 11px;
|
|
}
|
|
|
|
.has-navigation .site-body-left-column {
|
|
background: #000;
|
|
}
|
|
|
|
img[alt="overment"] { width: 200px; margin: 0 auto; display: block; }
|
|
.logo { width: 50px; margin: 0; }
|
|
|
|
|
|
@media (max-width: 1024px) {
|
|
.site-body-left-column-site-name:before {
|
|
top: 0;
|
|
}
|
|
body.theme-dark {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.markdown-preview-view {
|
|
font-size: 1.3rem;
|
|
line-height: 1.7rem;
|
|
}
|
|
} |