homepage/static/assets/css/default.css

216 lines
3.0 KiB
CSS
Raw Normal View History

2015-03-24 12:13:18 -06:00
/* http://www.colourlovers.com/palette/92095/Giant_Goldfish */
html {
background-color: white;
2017-07-09 18:13:41 -06:00
background-image: url("../images/bg.jpg");
2015-03-24 12:13:18 -06:00
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
2015-03-24 12:13:18 -06:00
}
body {
2015-03-24 12:13:18 -06:00
background-color: rgba(255, 255, 255, 0.8);
margin: auto;
padding: 1em;
border-radius: 1em;
max-width: 35em;
2018-11-21 13:19:31 -07:00
font-family: "Lato", "Roboto", sans-serif;
2019-10-26 16:05:15 -06:00
font-size: 13pt;
}
input {
2022-10-09 20:59:33 -06:00
font-family: inherit;
font-size: inherit;
border: thin solid #ccc;
}
input:read-only {
2022-10-09 21:42:30 -06:00
color: #444;
2022-10-09 20:59:33 -06:00
background-color: #eee;
}
2008-10-27 15:57:45 -06:00
2022-08-01 16:18:29 -06:00
.title, td.main {
2015-03-24 12:13:18 -06:00
background-color: #e0e4cc;
2018-11-21 13:19:31 -07:00
border-radius: 0.25em;
padding: 0.1em 0.5em;
margin-top: 0;
2018-11-21 13:19:31 -07:00
box-shadow: 0.2em 0.2em 1em rgba(0,0,0,0.1);
2008-10-27 15:57:45 -06:00
}
2023-01-24 16:13:28 -07:00
.title.draft {
background-color: black;
color: orange;
}
.title.draft:after {
content: " (draft)";
font-style: italic;
}
2008-10-27 15:57:45 -06:00
2022-08-01 16:18:29 -06:00
.subtitle {
font-size: 60%;
}
2008-10-27 15:57:45 -06:00
h1, h2, h3, h4, h5, h6 {
2018-11-21 13:19:31 -07:00
color: #e64;
2008-10-27 15:57:45 -06:00
}
a {
2015-03-24 12:13:18 -06:00
color: #38d;
2008-10-27 15:57:45 -06:00
text-decoration: none;
}
a:visited {
2015-03-24 15:19:01 -06:00
color: #579;
2008-10-27 15:57:45 -06:00
}
a:hover {
2015-03-24 12:13:18 -06:00
color: #f83;
2008-10-27 15:57:45 -06:00
}
2015-03-24 12:13:18 -06:00
img.face {
margin: 1em;
width: 10em;
}
2008-10-27 15:57:45 -06:00
pre {
background: #e0e4cc;
2014-10-26 20:06:25 -06:00
overflow-x: auto;
2008-10-27 15:57:45 -06:00
}
blockquote {
background: #e0e4cc;
padding: 0.1em 1em;
border-radius: 0.4em;
}
2017-07-09 18:13:41 -06:00
footer {
clear: both;
2010-05-28 18:03:09 -06:00
border-top: solid black 1px;
2008-10-27 15:57:45 -06:00
}
2017-07-09 18:13:41 -06:00
nav ul {
2022-08-09 20:12:34 -06:00
display: flex;
2017-07-09 18:13:41 -06:00
padding: 0;
2017-07-09 19:57:09 -06:00
margin-top: 0;
margin-bottom: 1em;
2022-08-09 20:12:34 -06:00
flex-wrap: wrap;
2017-07-09 18:13:41 -06:00
}
2022-08-09 20:12:34 -06:00
nav ul li {
2008-10-27 15:57:45 -06:00
display: inline;
2022-09-05 08:34:52 -06:00
margin: 0.5em 0.5em;
2022-08-09 20:12:34 -06:00
flex-grow: 1;
2022-09-05 08:34:52 -06:00
text-align: center;
2022-08-09 20:12:34 -06:00
}
nav ul .fill {
flex-grow: 20;
2008-10-27 15:57:45 -06:00
}
2017-07-09 18:13:41 -06:00
.left {
float: left;
}
.right {
float: right;
}
/* Formatting */
p, li, dd {
text-align: left;
}
body > p {
text-indent: 1.5em;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, ol + p, ul + p, pre + p, blockquote + p, img + p {
text-indent: 0;
}
h1, h2, h3, h4, h5, h6 {
2019-10-26 16:05:15 -06:00
font-weight: bold;
2017-07-09 18:13:41 -06:00
}
pre {
margin: 1em 2em;
padding: 1em;
border: solid black 1px;
}
.figure {
float: right;
padding: 0.25em;
margin: 0.5em;
font-size: small;
border: solid black 1px;
}
#timestamp {
font-size: small;
text-indent: inherit;
2008-10-27 15:57:45 -06:00
}
2018-11-21 13:19:31 -07:00
button.big {
padding: 0;
border: 0;
margin: 1em;
font-size: 2em;
background: inherit;
}
2022-08-02 15:23:06 -06:00
2022-10-09 20:59:33 -06:00
legend {
background-color: #e0e4cc;
}
table {
2022-10-09 21:42:30 -06:00
margin: 1em 0;
2022-10-09 20:59:33 -06:00
border-collapse: collapse;
}
thead, tfoot {
color: #e64;
background-color: rgba(224, 228, 204, 0.8);
}
tbody tr:nth-of-type(even) {
background-color: rgba(238, 102, 68, 0.05);
}
td, th {
padding: 0.2em 0.5em;
}
caption {
caption-side: bottom;
font-size: small;
}
.justify-right, input[type="number"] {
text-align: right;
}
.justify-left {
text-align: left;
}
2022-08-02 15:23:06 -06:00
.tags {
font-size: small;
}
2022-08-09 19:03:01 -06:00
@media (max-width: 768px) {
img, video {
max-width: 100%;
}
}
@media (min-width: 768px) {
img, video {
max-width: 60%;
}
2022-10-09 21:42:30 -06:00
figure img {
max-width: 100%;
}
2022-08-09 19:03:01 -06:00
}
2022-09-04 19:54:41 -06:00
@media (prefers-color-scheme: dark) {
html {
background-image: url("../images/bg-dark.jpg");
filter: invert(1);
}
2022-09-04 20:39:56 -06:00
img,video,canvas {
2022-09-04 19:54:41 -06:00
filter: invert(1);
}
}
2022-08-09 19:03:01 -06:00