ariadne.space/static/styles.css

129 lines
1.8 KiB
CSS

body {
font-family: -apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;
background: #14062d;
color: #eee;
display: flex;
margin: 0;
min-height: 100vh;
line-height: 1.8rem;
}
nav {
padding: 1em;
width: 15em;
background: #8224e3;
text-align: center;
}
nav ul {
text-align: left;
list-style: none;
padding: 0;
}
main {
padding: 1em 1em 0em 1em;
max-width: 50em;
font-size: 1.2rem;
}
[rel="me"] img {
width: 15em;
height: 15em;
padding-bottom: 0.5em;
border-radius: 15em;
}
#elsewhere {
text-align: left;
}
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {
body {
flex-direction: column;
}
nav {
width: inherit;
text-align: left;
}
[rel="me"] img {
display: none;
}
.p-note, #elsewhere {
display: none;
}
}
a {
color: #ccf;
text-decoration: none;
}
nav a {
color: #fff;
}
nav ul li, article a {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 1em 0;
}
.article {
padding-bottom: 1rem;
}
.article a {
display: block;
margin: 0 0 0.75rem 0;
}
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
margin: 0 0 0.25rem 0;
}
.highlight pre {
background-color: #0a0316;
tab-size: 4;
overflow-x: scroll;
}
blockquote {
margin: 0;
border-left: 2px solid #aad;
padding-left: 1rem;
color: #ccf;
}
[rel="pagination"] ul {
display: block;
text-align: center;
}
[rel="pagination"] ul li {
display: inline-block;
}
[rel="pagination"] [role="button"] {
border: 1px solid #546;
padding: 0.5rem;
}
[rel="pagination"] [aria-disabled="true"] {
display: none;
}
[rel="pagination"] [aria-current="page"] {
color: #fff;
font-weight: bold;
}