homepage/static/assets/css/default.css

270 lines
3.5 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 {
2023-12-24 13:16:08 -07:00
background-color: #fffa;
2015-03-24 12:13:18 -06:00
margin: auto;
padding: 1em;
border-radius: 1em;
max-width: 35em;
2023-06-23 16:22:19 -06:00
font-family: "Lato", "Roboto", "Noto Color Emoji", 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
header {
2023-12-24 13:16:08 -07:00
background: #e0e4cc;
}
header {
2018-11-21 13:19:31 -07:00
border-radius: 0.25em;
padding: 0.1em 0.5em;
margin-top: 0;
2023-12-24 13:16:08 -07:00
box-shadow: 0.2em 0.2em 1em #8885;
2008-10-27 15:57:45 -06:00
}
header * {
margin: 0.2em;
}
.tagline {
font-style: italic;
margin-left: 1.5em;
}
2023-09-25 17:14:16 -06:00
.draft,
.draft a:any-link {
2023-01-24 16:13:28 -07:00
background-color: black;
color: orange;
}
2023-09-25 17:14:16 -06:00
.draft:after {
2023-01-24 16:13:28 -07:00
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 {
2023-12-24 13:16:08 -07:00
color: #246;
2008-10-27 15:57:45 -06:00
text-decoration: none;
}
a:visited {
2023-12-24 13:16:08 -07:00
color: #479;
2008-10-27 15:57:45 -06:00
}
a:hover {
2023-12-24 13:16:08 -07:00
color: #a52;
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 {
2014-10-26 20:06:25 -06:00
overflow-x: auto;
2008-10-27 15:57:45 -06:00
}
blockquote {
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
2023-09-25 17:14:16 -06:00
nav ul,
ul.compact {
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
2023-09-25 17:14:16 -06:00
nav ul li,
ul.compact li {
2008-10-27 15:57:45 -06:00
display: inline;
2022-09-05 08:34:52 -06:00
margin: 0.5em 0.5em;
text-align: center;
2022-08-09 20:12:34 -06:00
}
2023-09-25 17:14:16 -06:00
nav ul li {
flex-grow: 1;
}
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;
}
2023-04-14 08:25:01 -06:00
.jistify-center {
text-align: center;
}
2022-10-09 20:59:33 -06:00
.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;
}
2023-09-25 17:14:16 -06:00
.tags li::before {
content: "➤";
padding-right: 0.2em;
}
.branch::after {
content: "✢";
}
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
}
2023-04-14 08:25:01 -06:00
.flex {
display: flex;
justify-content: space-around;
}
.flex.wrap {
flex-wrap: wrap;
}
2022-09-04 19:54:41 -06:00
@media (prefers-color-scheme: dark) {
html {
2023-12-24 13:16:08 -07:00
color: white;
background-color: black;
2022-09-04 19:54:41 -06:00
background-image: url("../images/bg-dark.jpg");
}
2023-12-24 13:16:08 -07:00
body {
background-color: #444d;
}
header, pre, blockquote {
2023-12-24 13:23:24 -07:00
background-color: #442;
2023-12-24 13:16:08 -07:00
}
h1, h2, h3, h4, h5, h6 {
2023-12-24 13:23:24 -07:00
color: #c94;
2023-12-24 13:16:08 -07:00
}
a {
color:#9be;
}
a:visited {
2023-12-24 13:23:24 -07:00
color: #abc;
2023-12-24 13:16:08 -07:00
}
a:hover {
color: #f83;
2022-09-04 19:54:41 -06:00
}
}
2022-08-09 19:03:01 -06:00