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.

202 lines
3.8 KiB
CSS

/* lato-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url('/fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: url('/fonts/lato-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url('/fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Lato';
font-style: italic;
font-weight: 700;
src: url('/fonts/lato-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inconsolata-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Inconsolata';
font-style: normal;
font-weight: 400;
src: url('/fonts/inconsolata-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ----- 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%;
}