Files
Servo/docs/static/main.css
Eric Bower d0511c4ebf chore: update pdocs to latest (#295)
* chore: update pdocs to latest

* design: sidebar
2024-03-07 09:13:34 -05:00

122 lines
1.6 KiB
CSS

.sitemap {
width: 150px;
}
.post {
max-width: 700px;
}
.post-container {
display: flex;
gap: 1rem;
flex-direction: row-reverse;
}
.hiw {
background-color: #282a36;
}
.link-alt-adj,
.link-alt-adj:visited,
.link-alt-adj:visited:hover,
.link-alt-adj:hover {
color: var(--link-color);
text-decoration: none;
}
.link-alt-adj:visited:hover,
.link-alt-adj:hover {
text-decoration: underline;
}
.link-alt-hover,
.link-alt-hover:visited,
.link-alt-hover:visited:hover,
.link-alt-hover:hover {
color: var(--hover);
text-decoration: none;
}
.link-alt-hover:visited:hover,
.link-alt-hover:hover {
text-decoration: underline;
}
.link-alt,
.link-alt:visited,
.link-alt:visited:hover,
.link-alt:hover {
color: var(--white);
text-decoration: none;
}
.link-alt:visited:hover,
.link-alt:hover {
text-decoration: underline;
}
.hero {
padding: 5rem 0;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
gap: 1rem;
}
.features h3 {
border: none;
}
.mk-nav {
padding: 1rem;
}
.text-hdr {
color: var(--hover);
}
.text-underline-hdr {
border-bottom: 3px solid var(--hover);
padding-bottom: 3px;
}
.current {
background-color: var(--blockquote-bg) !important;
border-right: 5px solid var(--blockquote);
}
.current a {
color: var(--white);
}
.current-page a {
color: var(--white);
}
.pager {
min-width: 150px;
}
@media only screen and (max-width: 800px) {
body {
padding: 0 1rem;
}
header {
margin: 0;
}
.post-container {
display: block;
}
.sitemap {
text-align: center;
-moz-column-count: 2;
column-count: 2;
width: 100%;
}
}