ariadne.space/static/styles.css

129 lines
1.8 KiB
CSS
Raw Normal View History

2022-08-02 16:59:11 +00:00
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 {
2022-08-02 22:16:22 +00:00
padding: 1em 1em 0em 1em;
2022-08-02 16:59:11 +00:00
max-width: 50em;
font-size: 1.2rem;
}
2022-08-02 23:08:22 +00:00
[rel="me"] img {
width: 15em;
height: 15em;
padding-bottom: 0.5em;
border-radius: 15em;
}
2022-08-02 23:59:09 +00:00
#elsewhere {
text-align: left;
}
2022-08-02 23:08:22 +00:00
@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;
}
2022-08-02 23:59:09 +00:00
.p-note, #elsewhere {
display: none;
}
2022-08-02 23:08:22 +00:00
}
a {
color: #ccf;
text-decoration: none;
}
nav a {
color: #fff;
}
nav ul li, article a {
text-decoration: underline;
}
2022-08-02 16:59:11 +00:00
h1, h2, h3, h4, h5, h6 {
margin: 0 0 1em 0;
}
2022-08-02 22:16:22 +00:00
.article {
2022-08-02 23:08:22 +00:00
padding-bottom: 1rem;
2022-08-02 22:16:22 +00:00
}
2022-08-02 17:31:41 +00:00
.article a {
display: block;
2022-08-02 23:08:22 +00:00
margin: 0 0 0.75rem 0;
2022-08-02 17:31:41 +00:00
}
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
2022-08-02 23:08:22 +00:00
margin: 0 0 0.25rem 0;
2022-08-02 16:59:11 +00:00
}
2022-08-02 17:31:41 +00:00
.highlight pre {
background-color: #0a0316;
tab-size: 4;
2022-08-02 22:16:22 +00:00
overflow-x: scroll;
2022-08-02 17:31:41 +00:00
}
2022-08-02 22:41:53 +00:00
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;
}