presence/style.css

169 lines
2.1 KiB
CSS

/* <reset> */
body { margin: 0 }
h1, h2, h3, h4, h5, h6 { font-weight: normal }
table {
border-collapse: collapse;
border-spacing: 0
}
th, td {
text-align: left;
vertical-align: top
}
img, iframe { border: 0 }
/* </reset> */
html, body {
background-color: #FCFCFC;
color: #030303;
}
@media (prefers-color-scheme: dark) {
html, body {
background-color: #101010;
color: #D0D0D0;
}
}
body {
text-align: center;
height: 100%;
font-family: Avenir;
font-weight: 100;
}
h1, h2, h3, h4, h5 {
font-family: Avenir;
}
img {
margin-top: 30px;
height: auto;
max-width: 100%;
box-sizing: border-box;
border: 1px solid #7f7f7f;
border-radius: 7px;
}
img.window {
border: none;
display: block;
margin-left: auto;
margin-right: auto;
width: 75%;
}
img.compare {
width: 49%;
}
h1 {
margin-top: 30px;
margin-bottom: 0;
}
h1 + div {
margin-bottom: 30px;
font-weight: 500;
}
main {
max-width: 900px;
margin: 0 auto;
}
section {
margin: 0 20px;
}
section.content {
text-align: justify;
text-justify: auto;
hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
}
blockquote {
border-left: 1px solid rgba(230, 230, 230, 0.7);
border-right: 1px solid rgba(230, 230, 230, 0.7);
margin: 0;
padding-left: 20px;
padding-right: 20px;
}
main h1 {
text-align: center;
}
pre {
padding: 16px;
text-align: left;
background-color: rgba(230, 230, 230, 0.7);
color: #353535;
border-radius: 12px;
overflow: scroll;
}
code {
font-family: monospace;
}
code.comment {
color: #9F9F9F;
}
div.desc {
text-align: left;
margin: 20px 0;
}
div.example {
border-top: 1px solid #DDD;
margin: 20px 0;
}
@media (min-width: 768px) {
div.desc.code {
float: left;
width: 38%;
}
div.desc + pre {
float: right;
width: 56%;
}
div.example, section, footer {
clear: both;
}
}
footer {
padding: 5px;
margin-top: 30px;
margin-bottom: 30px;
font-family: sans-serif;
font-size: 10px;
}
a, a:visited {
color: #7F7F7F;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}