ariadne.space/static/styles.css

131 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;
}
.h-entry img {
max-width: 100%;
}
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 (max-width: 1100px)
and (orientation: portrait) {
body {
flex-direction: column;
}
nav {
width: inherit;
text-align: left;
}
[rel="me"] img {
display: none;
}
.p-note, #elsewhere {
display: none;
}
}
a, .u-url {
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;
}
.u-url {
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;
}