2014-12-29 18:35:21 +01:00
|
|
|
---
|
|
|
|
# Only the main Sass file needs front matter (the dashes are enough)
|
|
|
|
---
|
|
|
|
|
2023-02-22 19:28:38 +01:00
|
|
|
@charset "utf-8";
|
2014-12-29 18:35:21 +01:00
|
|
|
|
|
|
|
// Our variables
|
2024-05-24 17:12:19 +02:00
|
|
|
$base-font-family: "Liberation Serif", "Tinos", "Times New Roman", serif;
|
2024-05-24 17:54:08 +02:00
|
|
|
$monospace-font-family: "Liberation Mono", "Cousine", "Courier New", monospace;
|
2024-05-24 13:56:01 +02:00
|
|
|
//$base-font-family: "Liberation Sans", "Arimo", "Arial", sans-serif;
|
2014-12-29 18:35:21 +01:00
|
|
|
|
2024-05-29 09:59:20 +02:00
|
|
|
// CSS of used Jekyll theme
|
2024-05-27 08:03:12 +02:00
|
|
|
@import "{{ site.theme }}";
|
2014-12-29 18:35:21 +01:00
|
|
|
|
2024-05-29 09:59:20 +02:00
|
|
|
// My overrides, often !important so they actually get used
|
|
|
|
|
|
|
|
// As high in css as can be edited.
|
2024-05-25 06:53:19 +02:00
|
|
|
:root {
|
2024-05-29 09:59:20 +02:00
|
|
|
color-scheme: light dark !important;
|
2024-05-27 08:03:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Revert to defaults
|
|
|
|
* {
|
|
|
|
color: revert !important;
|
2024-05-29 08:27:54 +02:00
|
|
|
overflow-wrap: break-word !important;
|
2024-05-30 07:18:20 +02:00
|
|
|
hyphens: auto !important;
|
2024-05-25 06:53:19 +02:00
|
|
|
}
|
|
|
|
|
2024-05-29 09:59:20 +02:00
|
|
|
a {
|
|
|
|
text-decoration: underline !important;
|
2024-05-27 08:29:42 +02:00
|
|
|
}
|
2024-05-29 09:59:20 +02:00
|
|
|
|
|
|
|
// Fitting to text and monospace preferred
|
2024-05-27 08:29:42 +02:00
|
|
|
code,
|
|
|
|
pre {
|
|
|
|
font-family: $monospace-font-family !important;
|
2024-05-29 09:59:20 +02:00
|
|
|
font-size: 0.8em !important;
|
2024-05-27 08:29:42 +02:00
|
|
|
}
|
|
|
|
|
2024-05-29 10:33:31 +02:00
|
|
|
// Overrides for light themes
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
*:not(a) {
|
|
|
|
border-color: #000000 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-27 06:26:03 +02:00
|
|
|
// Overrides for dark themes
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2024-05-29 09:59:20 +02:00
|
|
|
*:not(a) {
|
2024-05-29 07:23:49 +02:00
|
|
|
color: #ffb700 !important;
|
|
|
|
border-color: #ffb700 !important;
|
|
|
|
background-color: #000000 !important;
|
|
|
|
}
|
|
|
|
|
2024-05-27 06:26:03 +02:00
|
|
|
// Adblocker detection)
|
|
|
|
.ftf-dma-note {
|
|
|
|
color-scheme: only dark !important;
|
2024-05-29 07:23:49 +02:00
|
|
|
color: #ffb700 !important;
|
|
|
|
border-color: #ffb700 !important;
|
|
|
|
background-color: #000000 !important;
|
2024-05-27 06:49:02 +02:00
|
|
|
}
|
2024-05-25 06:53:19 +02:00
|
|
|
}
|
|
|
|
|
2015-10-09 12:59:45 +02:00
|
|
|
// This is used in the index
|
2018-09-17 15:48:05 +02:00
|
|
|
#avatar {
|
2023-02-22 19:28:38 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2024-05-29 09:59:20 +02:00
|
|
|
width: 25%;
|
2024-05-21 11:09:33 +02:00
|
|
|
border: 1px solid;
|
2024-05-29 09:59:20 +02:00
|
|
|
display: block;
|
2015-10-04 13:18:54 +02:00
|
|
|
}
|
|
|
|
|
2015-10-09 12:59:45 +02:00
|
|
|
// This is the short bio in the index and all my profiles
|
2015-10-04 13:18:54 +02:00
|
|
|
#bio {
|
2023-02-22 19:28:38 +01:00
|
|
|
text-align: center;
|
|
|
|
font-style: italic;
|
2015-10-04 13:18:54 +02:00
|
|
|
}
|
2015-10-09 12:59:45 +02:00
|
|
|
|
2024-05-29 09:59:20 +02:00
|
|
|
// At least used in the index link list
|
2015-10-09 15:03:51 +02:00
|
|
|
.centered {
|
2023-02-22 19:28:38 +01:00
|
|
|
list-style-type: none;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
2015-10-09 15:03:51 +02:00
|
|
|
}
|
|
|
|
|
2024-05-29 09:59:20 +02:00
|
|
|
// At least used in the index SSH key fingerprints
|
2024-05-29 08:27:54 +02:00
|
|
|
.monospaced {
|
|
|
|
font-family: $monospace-font-family;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|