willy.club/public/static/style/main.css

82 lines
1.2 KiB
CSS

body {
color: #111;
background: #fff;
line-height: 1.5;
font-size: 1rem;
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
/* text based browsers */
hr {
display: none;
}
a {
color: #00f;
}
h1, h2, h3 {
font-weight: normal;
border-bottom: 1px solid #e9ecef;
padding-bottom: .25rem;
}
header {
background: #ddf;
border-bottom: 1px solid #aaa;
}
header > nav {
padding: 0.75rem;
margin: auto;
max-width: 37rem;
}
main {
padding: 0 0.75rem 0 0.75rem;
margin: auto;
max-width: 37rem;
}
img {
display: block;
height: auto;
max-width: 100%;
}
table {
display: block;
border-collapse: collapse;
overflow: auto;
}
tbody {
display: table;
width: 100%;
}
td, th {
text-align: left;
padding: .5rem;
}
tr {
border-bottom: 1px solid #aaa;
}
tr:nth-child(even) {
background: #eee;
}
pre, code {
font-family: "DejaVu Sans Mono", Consolas, monospace;
background: #eee;
border: 1px solid #aaa;
padding: .5rem;
max-width: 100%;
display: block;
overflow-x: auto;
overflow-y: hidden;
}
@media (prefers-color-scheme: dark) {
html {
filter: invert(1);
}
}