aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/polaris/assets/css/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/polaris/assets/css/style.css')
-rw-r--r--themes/polaris/assets/css/style.css80
1 files changed, 40 insertions, 40 deletions
diff --git a/themes/polaris/assets/css/style.css b/themes/polaris/assets/css/style.css
index 230e5b8..2ca94ef 100644
--- a/themes/polaris/assets/css/style.css
+++ b/themes/polaris/assets/css/style.css
@@ -7,8 +7,8 @@
--nav-active-background: #eeeeee;
--nav-active-foreground: #1a1a1a;
--hr-background: #8a8a8a;
- --sans-serif-font: Noto Serif, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
- --serif-font: Noto Serif, Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
+ --sans-serif-font: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
+ --serif-font: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
--mono-font: monospace;
}
@@ -19,8 +19,9 @@ body {
font-family: var(--sans-serif-font);
}
-h1, h2, h3, h4, h5, h6 {
- font-family: var(--serif-font);
+.content h1, .content h2, .content h3 {
+ padding-bottom: 4px;
+ border-bottom: 1px #555555 solid;
}
a {
@@ -32,99 +33,99 @@ a:hover {
text-decoration: underline;
}
-.nav-over, main, footer {
+.header, .content {
max-width: 1000px;
margin: 0 auto;
}
@media only screen and (max-width: 1100px) {
- .nav-over, main, footer {
+ .header, .content {
max-width: 800px;
}
}
@media only screen and (max-width: 900px) {
- .nav-over, main, footer {
+ .header, .content {
max-width: 700px;
}
}
@media only screen and (max-width: 750px) {
- .nav-over, main, footer {
+ .header, .content {
max-width: none;
}
- .nav-title, main, footer {
+ .header-top, .content {
margin: 0 16px;
}
- .nav-title h2 {
+ .header-title {
display: block;
}
}
-.nav-under {
- background-color: var(--nav-background);
- padding: 4px 0;
+.header-bottom {
+ height: 4px;
+ background: var(--nav-background);
}
-.nav-title h2 {
+.header-title {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
}
-.nav-title {
+.header-top {
padding: 16px 0;
}
-.nav-subtext {
+.header-subtext {
margin-left: 16px;
color: #999999;
font-style: italic;
}
-.nav-over ul {
+.header-items {
list-style-type: none;
margin: 0;
padding-left: 0;
overflow: hidden;
}
-.nav-link {
+.header-item a {
background-color: var(--nav-background);
color: var(--nav-foreground);
display: block;
padding: 8px 12px;
}
-.link-active {
+.header-item-active a {
background-color: var(--nav-active-background);
color: var(--nav-active-foreground);
}
-.link-left {
+.header-item-left {
float: left;
}
-.link-right {
+.header-item-right {
float: right;
}
@media only screen and (max-width: 400px) {
- .link-left, .link-right {
+ .header-item-left, .header-item-right {
float: none;
}
- .nav-under {
+ .header-bottom {
display: none;
}
- .nav-title h2 {
+ .header-title {
display: block;
}
- .nav-subtext {
+ .header-subtext {
margin-left: 0;
}
}
@@ -135,27 +136,26 @@ hr {
border: none;
}
-footer {
- text-align: center;
-}
-
-.footer-break {
- width: 120px;
+pre {
+ padding: 8px;
+ white-space: pre-wrap;
}
-.build-date {
- font-style: italic;
+code {
+ font-size: 110%;
}
-.badge {
- image-rendering: crisp-edges;
+.toc {
+ background: #101010;
+ padding: 8px;
}
-pre {
- padding: 8px;
- white-space: pre-wrap;
+.toc h2 {
+ margin-top: 0;
+ margin-bottom: 0;
}
-code {
- font-size: 110%;
+.toc > nav > ol {
+ margin-top: 8px;
+ margin-bottom: 0;
}