2023-07-09 01:57:34 +00:00
|
|
|
/* Fonts */
|
|
|
|
|
2024-09-10 16:57:05 +00:00
|
|
|
/* Non-default fonts added significant time to first initial load.
|
|
|
|
* Code can still be found in git commit c34f6241
|
|
|
|
*/
|
2023-07-09 01:57:34 +00:00
|
|
|
|
2024-09-10 16:57:05 +00:00
|
|
|
/*
|
|
|
|
@import url("https://cdn.jsdelivr.net/gh/aaaakshat/cm-web-fonts@latest/fonts.css");
|
|
|
|
body {
|
|
|
|
font-family: "Computer Modern Serif", serif;
|
2023-07-09 01:57:34 +00:00
|
|
|
}
|
|
|
|
*/
|
2024-09-10 16:57:05 +00:00
|
|
|
|
2022-07-06 04:54:07 +00:00
|
|
|
/* Body */
|
2022-04-12 02:15:09 +00:00
|
|
|
|
2022-03-10 07:22:29 +00:00
|
|
|
body {
|
2022-07-06 04:54:07 +00:00
|
|
|
display: flex;
|
2023-06-17 05:13:12 +00:00
|
|
|
flex-wrap: wrap;
|
2024-09-10 16:57:05 +00:00
|
|
|
/*
|
|
|
|
Web safe fonts:
|
|
|
|
font-family: "Georgia", 'serif';
|
|
|
|
font-family: "Garamond", 'serif';
|
|
|
|
font-family: 'Times New Roman';
|
|
|
|
|
|
|
|
More fonts:
|
|
|
|
font-family: 'Source Serif Pro';
|
|
|
|
font-family: "Computer Modern Serif", serif;
|
|
|
|
font-family: 'charter';
|
|
|
|
*/
|
|
|
|
font-family: "Georgia", 'serif';
|
2023-07-09 01:57:34 +00:00
|
|
|
font-size: 25px;
|
2023-02-11 21:43:52 +00:00
|
|
|
background-color: #fcfcfc;
|
2024-09-10 16:57:05 +00:00
|
|
|
color: #333;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
2023-06-18 01:44:51 +00:00
|
|
|
* { /* incorporates the padding and borders into the object size*/
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2022-07-06 04:54:07 +00:00
|
|
|
/* header */
|
|
|
|
header {
|
|
|
|
flex-basis: 100%;
|
2022-07-24 05:55:48 +00:00
|
|
|
border-bottom: 2px solid #eee;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
2022-07-06 04:54:07 +00:00
|
|
|
header h1 {
|
2023-07-13 21:14:24 +00:00
|
|
|
margin: 0.5em 0 0.5em 0.7em;
|
2023-02-11 21:43:52 +00:00
|
|
|
color:#333;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header a {
|
2022-07-06 16:53:13 +00:00
|
|
|
text-decoration: none;
|
2023-02-11 21:43:52 +00:00
|
|
|
color: #333;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header h1 span {
|
2022-07-06 04:54:07 +00:00
|
|
|
margin-left: 0em;
|
2022-07-06 16:53:13 +00:00
|
|
|
color: #555;
|
|
|
|
/*
|
2023-06-17 05:32:50 +00:00
|
|
|
font-size: 70%;
|
2022-07-06 04:54:07 +00:00
|
|
|
font-style: italic;
|
2022-07-06 16:53:13 +00:00
|
|
|
*/
|
2022-07-06 04:54:07 +00:00
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
header nav { /* Not used by me, but used by suckless.org */
|
2022-07-06 04:54:07 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
2023-07-13 21:14:24 +00:00
|
|
|
/* Header */
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
line-height: 110%;
|
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
/* Navigation bar */
|
|
|
|
|
2023-06-17 05:32:50 +00:00
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-basis: 20%;
|
|
|
|
max-width: 20%;
|
|
|
|
min-width: 20%;
|
2022-07-06 04:54:07 +00:00
|
|
|
float: left;
|
|
|
|
margin: 0 1px 0 0;
|
2022-07-24 05:55:48 +00:00
|
|
|
border-right: 2px solid #eee;
|
2023-06-17 05:32:50 +00:00
|
|
|
/* width: 350px; */
|
2022-07-06 04:54:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav a{
|
|
|
|
text-decoration: none;
|
2023-06-18 00:39:42 +00:00
|
|
|
/* color: #005386; */
|
2023-06-18 00:43:37 +00:00
|
|
|
color: #333;
|
2022-07-06 04:54:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav a:hover {
|
|
|
|
background-color: #ddd;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
2022-07-06 04:54:07 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
list-style-type: none;
|
|
|
|
list-style-position: outside;
|
|
|
|
padding-left: 0;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav li ul {
|
2022-07-06 04:54:07 +00:00
|
|
|
padding-left: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav li a {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.3em 2em 0.8ex 1em;
|
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
/* article */
|
2022-07-06 04:54:07 +00:00
|
|
|
article{
|
|
|
|
flex-basis: 70%;
|
2023-06-17 05:13:12 +00:00
|
|
|
max-width: 70%;
|
|
|
|
min-width: 70%;
|
2022-07-06 04:54:07 +00:00
|
|
|
padding-left: 1em;
|
2023-02-11 21:43:52 +00:00
|
|
|
color: #333;
|
2023-08-13 19:06:24 +00:00
|
|
|
line-height: 140%;
|
2023-06-17 05:32:50 +00:00
|
|
|
/* padding: 0.3em 0 0 0; */
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
/* footer */
|
2022-03-10 07:22:29 +00:00
|
|
|
footer {
|
2023-06-18 01:44:51 +00:00
|
|
|
display: none;
|
2023-06-17 05:32:50 +00:00
|
|
|
/* display: block; */
|
2023-06-18 01:44:51 +00:00
|
|
|
/*
|
2022-07-24 05:55:48 +00:00
|
|
|
flex-grow: 1;
|
2022-09-28 22:35:58 +00:00
|
|
|
flex-basis: 100%;
|
|
|
|
flex-shrink: 0;
|
2022-07-06 04:54:07 +00:00
|
|
|
justify-content: space-between;
|
2023-06-17 05:32:50 +00:00
|
|
|
padding: 0.1em 0em 1em 1em;
|
2022-07-24 05:55:48 +00:00
|
|
|
border-top: 2px solid #eee
|
2023-06-18 01:44:51 +00:00
|
|
|
*/
|
2022-07-06 04:54:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* links */
|
|
|
|
|
|
|
|
a {
|
2023-06-18 00:39:42 +00:00
|
|
|
/* color: #005386; */
|
2023-06-18 00:43:37 +00:00
|
|
|
color: #333;
|
2022-03-10 07:22:29 +00:00
|
|
|
}
|
2022-03-10 07:24:30 +00:00
|
|
|
|
2022-07-06 04:54:07 +00:00
|
|
|
/* Images and figures */
|
|
|
|
|
2022-03-15 18:58:38 +00:00
|
|
|
figure figcaption {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
text-align: center;
|
2022-09-28 22:35:58 +00:00
|
|
|
font-size: 16px;
|
2022-03-15 18:58:38 +00:00
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
.img-frontpage-center,
|
|
|
|
.img-medium-center,
|
2022-03-10 07:24:30 +00:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-06-17 05:41:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2022-03-10 07:24:30 +00:00
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.img-frontpage-center {
|
2023-06-17 05:32:50 +00:00
|
|
|
width: 40%;
|
2022-03-10 07:24:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.img-medium-center {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2022-07-07 16:34:25 +00:00
|
|
|
/* Block quotes */
|
|
|
|
|
|
|
|
blockquote{
|
|
|
|
width:60%;
|
|
|
|
margin: 5px auto;
|
2023-06-18 00:39:42 +00:00
|
|
|
/* color: #555555; */
|
2023-06-18 00:43:37 +00:00
|
|
|
color: #333;
|
2022-07-07 16:34:25 +00:00
|
|
|
padding: 1.2em 30px 1.2em 75px;
|
2023-06-18 00:39:42 +00:00
|
|
|
/* border-left: 8px solid #005386 ; */
|
2023-06-18 00:43:37 +00:00
|
|
|
border-left: 8px solid #333;
|
2022-07-07 16:34:25 +00:00
|
|
|
line-height:1.3;
|
|
|
|
position: relative;
|
|
|
|
background: #F0F0F0;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote::before{
|
|
|
|
font-family:Arial;
|
|
|
|
content: "\201C";
|
2023-06-18 00:39:42 +00:00
|
|
|
/* color:#005386; */
|
2023-06-18 00:43:37 +00:00
|
|
|
color: #333;
|
2022-07-07 16:34:25 +00:00
|
|
|
font-size:4em;
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
top:-10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code bloocks */
|
2023-03-08 07:37:40 +00:00
|
|
|
pre {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border: 2px solid;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2023-04-14 22:31:21 +00:00
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
display: block;
|
2023-03-08 07:37:40 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
2022-07-26 03:16:35 +00:00
|
|
|
/* Lists */
|
|
|
|
/* this aligns the sitemap */
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li{
|
|
|
|
list-style-position: outside;
|
|
|
|
/* list-style-type: '- ' /* ndash, a*/
|
|
|
|
}
|
|
|
|
|
2022-09-11 21:57:03 +00:00
|
|
|
/* Tables */
|
2023-06-17 05:41:38 +00:00
|
|
|
/* old style:
|
2022-09-11 21:57:03 +00:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
text-align: left;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
2022-07-26 03:16:35 +00:00
|
|
|
|
2022-09-11 21:57:03 +00:00
|
|
|
th {
|
|
|
|
background: var(--accent-bg);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-06-17 05:41:38 +00:00
|
|
|
*/
|
2022-09-11 21:57:03 +00:00
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
table {
|
2023-06-18 00:39:42 +00:00
|
|
|
/* border: 3px solid #005386; */
|
2023-06-18 00:43:37 +00:00
|
|
|
border: 3px solid #333;
|
2023-06-17 05:41:38 +00:00
|
|
|
border-collapse: collapse;
|
|
|
|
table-layout: fixed;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
2023-11-15 12:50:02 +00:00
|
|
|
table-layout: auto;
|
2022-09-11 21:57:03 +00:00
|
|
|
}
|
|
|
|
|
2023-06-17 05:41:38 +00:00
|
|
|
table thead {
|
|
|
|
/* position: sticky;
|
|
|
|
top: 0; */
|
|
|
|
}
|
|
|
|
|
|
|
|
table tbody tr:nth-child(even) {
|
2023-06-18 00:39:42 +00:00
|
|
|
/* background: #E9F1F4; */
|
|
|
|
background: #ededed;
|
2023-06-17 05:41:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table th {
|
2023-06-18 00:39:42 +00:00
|
|
|
/* background: #005386; */
|
2023-06-18 00:43:37 +00:00
|
|
|
background: #333;
|
2023-06-17 05:41:38 +00:00
|
|
|
color: #fcfcfc;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
table th, table td {
|
|
|
|
padding: 1em 1em 1em 1em;
|
|
|
|
/* border: 3px solid #005386; */
|
2022-09-11 21:57:03 +00:00
|
|
|
}
|
2022-10-31 18:18:27 +00:00
|
|
|
|
|
|
|
/* Newsletter stuff */
|
|
|
|
|
2022-11-08 12:37:42 +00:00
|
|
|
.subscribe-button {
|
2023-06-18 00:39:42 +00:00
|
|
|
/* background: #0055d4; */
|
2023-06-18 00:43:37 +00:00
|
|
|
background: #333;
|
2022-10-31 18:18:27 +00:00
|
|
|
padding: 15px 30px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
color: #ffff;
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 150px;
|
|
|
|
font-size: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-11-08 12:37:42 +00:00
|
|
|
.subscribe-input {
|
2022-10-31 18:18:27 +00:00
|
|
|
padding: 10px 15px;
|
|
|
|
border: 1px solid #888;
|
|
|
|
border-radius: 3px;
|
|
|
|
width: 33%;
|
|
|
|
box-shadow: 2px 2px 0 #f3f3f3;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2023-06-17 05:41:38 +00:00
|
|
|
|
2022-10-31 18:18:27 +00:00
|
|
|
input:focus {
|
|
|
|
border-color: #0055d4;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus::placeholder {
|
|
|
|
color: transparent;
|
|
|
|
}
|
2022-11-08 12:37:42 +00:00
|
|
|
|
2022-12-04 23:57:00 +00:00
|
|
|
/* Figcaptions for markdown
|
|
|
|
* Per <https://stackoverflow.com/questions/19331362/using-an-image-caption-in-markdown-jekyll>
|
|
|
|
*/
|
|
|
|
|
|
|
|
img + em {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2023-02-11 21:43:52 +00:00
|
|
|
|
2023-02-12 10:24:33 +00:00
|
|
|
/* Isso comments */
|
|
|
|
/* You can see the general comments style: <https://comments.nunosempere.com/css/isso.css> */
|
|
|
|
|
|
|
|
.isso-textarea, #isso-postbox-author, #isso-postbox-email, #isso-postbox-website, .isso-post-action > input {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2023-02-11 21:43:52 +00:00
|
|
|
|
2023-04-14 22:31:21 +00:00
|
|
|
.isso-textarea {
|
|
|
|
height: 15em;
|
2023-04-15 02:37:18 +00:00
|
|
|
resize: vertical !important;
|
2023-04-14 22:31:21 +00:00
|
|
|
|
|
|
|
}
|
2023-06-17 05:41:38 +00:00
|
|
|
|
2023-07-09 01:57:34 +00:00
|
|
|
/* Set image-frontpage-center size across devices */
|
2023-07-09 02:15:50 +00:00
|
|
|
@media screen and (max-width: 1000px) {
|
|
|
|
body {
|
|
|
|
display: block;
|
2023-08-13 19:06:24 +00:00
|
|
|
font-size: 25px;
|
|
|
|
line-height: 140%;
|
2023-07-09 02:15:50 +00:00
|
|
|
}
|
2023-06-24 23:41:34 +00:00
|
|
|
.img-frontpage-center {
|
|
|
|
width: 60%; /* 700px * 0.6 = 420px */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-09 02:15:50 +00:00
|
|
|
@media screen and (min-width: 1000px) and (max-width: 1500px) {
|
2023-06-24 23:41:34 +00:00
|
|
|
.img-frontpage-center {
|
|
|
|
width: 420px
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1500px) {
|
|
|
|
.img-frontpage-center {
|
|
|
|
width: 40%; /* 1500px * 0.7 (article) * 0.4 = 420px */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-09 01:57:34 +00:00
|
|
|
/* General media stuff */
|
2023-06-24 23:41:34 +00:00
|
|
|
@media screen and (max-width: 1500px) {
|
2023-06-17 05:41:38 +00:00
|
|
|
body {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.hidden-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
article {
|
|
|
|
flex-basis: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
header h1 {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-24 23:41:34 +00:00
|
|
|
@media screen and (min-width: 1500px) {
|
2023-06-17 05:41:38 +00:00
|
|
|
.hide-not-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|