2020-02-08 23:22:37 +01:00
|
|
|
/* Jetbrains Mono font from https://www.jetbrains.com/lp/mono/
|
|
|
|
licensed under Apache 2.0. Thanks, Jetbrains! */
|
|
|
|
@font-face {
|
|
|
|
font-family: jetbrains-mono;
|
|
|
|
src: url(jetbrains-mono.woff2);
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: jetbrains-mono;
|
|
|
|
font-weight: bold;
|
|
|
|
src: url(jetbrains-mono-bold.woff2);
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: jetbrains-mono;
|
|
|
|
font-style: italic;
|
|
|
|
src: url(jetbrains-mono-italic.woff2);
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: jetbrains-mono;
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
src: url(jetbrains-mono-bold-italic.woff2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Generic-purpose styling */
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 40px auto;
|
|
|
|
line-height: 1.6;
|
|
|
|
font-size: 18px;
|
|
|
|
padding: 0 10px;
|
|
|
|
font-family: jetbrains-mono, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, a :not(.uncoloured-link) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
h1, h2, h3 {
|
|
|
|
line-height: 1.2
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Homepage styling */
|
|
|
|
|
|
|
|
.dark {
|
|
|
|
max-width: 800px;
|
|
|
|
background-color: #181818;
|
|
|
|
color: #e4e4ef;
|
|
|
|
}
|
|
|
|
|
2020-02-09 03:20:41 +01:00
|
|
|
.dark-link, .interblag-title {
|
2020-02-09 01:02:10 +01:00
|
|
|
color: #96a6c8;
|
|
|
|
}
|
|
|
|
|
2020-02-08 23:22:37 +01:00
|
|
|
.entry-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2020-02-09 01:02:10 +01:00
|
|
|
justify-content: flex-start;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
.interblag-title {
|
|
|
|
text-decoration: none;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
.entry {
|
|
|
|
width: 42%;
|
|
|
|
margin: 5px;
|
2020-02-09 03:20:41 +01:00
|
|
|
padding-left: 7px;
|
2020-02-09 01:02:10 +01:00
|
|
|
padding-right: 5px;
|
|
|
|
border: 2px solid;
|
|
|
|
border-radius: 5px;
|
|
|
|
flex-grow: 1;
|
2020-02-09 03:20:41 +01:00
|
|
|
text-decoration: none;
|
2020-02-09 01:02:10 +01:00
|
|
|
}
|
2020-02-08 23:22:37 +01:00
|
|
|
|
2020-02-09 01:12:13 +01:00
|
|
|
.misc {
|
2020-02-09 14:39:12 +01:00
|
|
|
color: #73c936;
|
|
|
|
border-color: #73c936;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blog {
|
2020-02-09 01:02:10 +01:00
|
|
|
color: #268bd2;
|
|
|
|
border-color: #268bd2;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
.project {
|
2020-02-09 14:39:12 +01:00
|
|
|
color: #ff4f58;
|
|
|
|
border-color: #ff4f58;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
.entry-title {
|
|
|
|
color: inherit !important;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
.entry-date {
|
|
|
|
font-style: italic;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
|
|
|
/* Blog styling */
|
|
|
|
|
|
|
|
.light {
|
|
|
|
max-width: 650px;
|
|
|
|
color: #383838;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
|
|
|
.blog-title {
|
|
|
|
color: inherit;
|
2020-02-08 23:22:37 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
|
|
|
.footer {
|
|
|
|
text-align: right;
|
2020-02-08 23:22:37 +01:00
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
2020-02-08 23:22:37 +01:00
|
|
|
.date {
|
|
|
|
text-align: right;
|
|
|
|
font-style: italic;
|
|
|
|
float: right;
|
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
2020-02-08 23:22:37 +01:00
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2020-02-09 01:02:10 +01:00
|
|
|
|
2020-02-09 01:31:31 +01:00
|
|
|
.lod {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-02-09 01:02:10 +01:00
|
|
|
pre {
|
|
|
|
min-width: 100%;
|
|
|
|
/* some code snippets escape to the side, but I don't want to wrap them */
|
|
|
|
width: max-content;
|
|
|
|
}
|
2020-02-09 01:31:31 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2020-02-09 14:02:14 +01:00
|
|
|
|
|
|
|
.cheddar-callout {
|
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cheddar-question {
|
|
|
|
color: #3367d6;
|
|
|
|
background-color: #e8f0fe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cheddar-todo {
|
|
|
|
color: #616161;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cheddar-tip {
|
|
|
|
color: #00796b;
|
|
|
|
background-color: #e0f2f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cheddar-warning {
|
|
|
|
color: #a52714;
|
|
|
|
background-color: #fbe9e7;
|
|
|
|
}
|