You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
2.1 KiB
CSS

/* ----- COLOURS ----- */
body, details > summary::marker {
1 year ago
color: #222;
}
body {
1 year ago
background-color: white;
}
a, a:link, a:hover, a:visited, a:active, h1, h2, h3, details > summary {
1 year ago
color: var(--colourone);
}
li:before {
1 year ago
color: #9e9e9e;
}
details, blockquote {
1 year ago
border: 2px solid var(--colourone);
box-shadow: 8px 8px 0px var(--colourone);
}
body {
1 year ago
font-family: 'Lato', sans-serif;
font-size: 13px; word-wrap: break-word;
}
img {
1 year ago
max-width: 100%;
}
a, a:link, a:hover, a:visited, a:active {
1 year ago
text-decoration: none;
}
a:hover {
1 year ago
border-bottom: 1px solid;
}
/* ---- BOXES ---- */
details > summary {
cursor: pointer;
font-weight: bold;
}
details, blockquote {
1 year ago
padding: 20px;
margin-bottom: 15px !important;
}
blockquote {
1 year ago
max-width: 100%;
min-width: 10%;
display: inline-block;
}
blockquote p, details p {
1 year ago
margin: 0;
padding: 0;
}
blockquote ul {
1 year ago
margin-top: 0;
margin-bottom: 0;
}
blockquote > * + *, details > * + * {
1 year ago
margin-top: 20px !important;
}
/* ---- CONTENT ---- */
@media only screen and (min-width: 900px) {
1 year ago
div#site-wrapper {
width: 90%;
margin: 1em auto;
}
}
@media only screen and (max-width: 900px) {
1 year ago
div#site-wrapper {
width: 99%; margin: 1em auto;
}
}
input, select {
1 year ago
background-color: white;
font-family: 'Lato', sans-serif;
}
textarea {
1 year ago
font-family: 'Inconsolata', monospace;
}
code, pre, .timestamp {
1 year ago
background: #f0f0f0;
font-family: 'Inconsolata', monospace !important;
}
pre {
1 year ago
display: inline-block;
padding: 2px;
max-width: 100%;
overflow: auto;
}
ul {
1 year ago
list-style: none;
}
ul li:before {
1 year ago
content: "+ ";
font-weight: bold;
}
ol {
1 year ago
list-style: none;
counter-reset: li
}
ol li:before {
1 year ago
content: counter(li)". ";
font-weight: bold;
}
ol li {
1 year ago
counter-increment: li;
}
/* ----- GIFSETS ----- */
div.figure {
1 year ago
text-align: center;
padding: 0;
}
div.figure img {
1 year ago
display: inline;
margin: 5px;
}
div.figure.oneup img {
1 year ago
width: auto;
height: auto;
max-width: 90%;
}
div.figure.twoup img {
1 year ago
width: 40%;
}
div.figure.threeup img {
width: 30%;
}