2014-12-29 19:35:21 +02:00
|
|
|
---
|
|
|
|
# Only the main Sass file needs front matter (the dashes are enough)
|
|
|
|
---
|
|
|
|
|
2023-02-22 20:28:38 +02:00
|
|
|
@charset "utf-8";
|
2014-12-29 19:35:21 +02:00
|
|
|
|
2024-08-03 13:57:15 +03:00
|
|
|
// Font specifications. I keep changing my mind on what are the most pleasant
|
|
|
|
// fonts to my eyes, so I won't bother commenting them here.'
|
|
|
|
$serif-font-family: ui-serif, "Roboto Serif", "Noto Serif", Tinos, serif,
|
|
|
|
"Noto Emoji", "Noto Color Emoji", emoji;
|
2024-08-03 14:30:27 +03:00
|
|
|
$sans-serif-font-family: ui-sans-serif, "Roboto Flex", Roboto, "Noto Sans",
|
|
|
|
Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji", emoji;
|
2024-08-03 13:57:15 +03:00
|
|
|
$monospace-font-family: ui-monospace, "Roboto Mono", "Noto Mono", Cousine,
|
|
|
|
monospace, "Noto Emoji", "Noto Color Emoji", emoji;
|
2024-07-30 07:59:27 +03:00
|
|
|
// Must be in the end under threat of undefined variable error.
|
2024-06-08 09:26:53 +03:00
|
|
|
$base-font-family: $sans-serif-font-family;
|
2014-12-29 19:35:21 +02:00
|
|
|
|
2024-05-29 10:59:20 +03:00
|
|
|
// CSS of used Jekyll theme
|
2024-05-27 09:03:12 +03:00
|
|
|
@import "{{ site.theme }}";
|
2014-12-29 19:35:21 +02:00
|
|
|
|
2024-05-29 10:59:20 +03:00
|
|
|
// My overrides, often !important so they actually get used
|
|
|
|
|
|
|
|
// As high in css as can be edited.
|
2024-05-25 07:53:19 +03:00
|
|
|
:root {
|
2024-05-29 10:59:20 +03:00
|
|
|
color-scheme: light dark !important;
|
2024-05-27 09:03:12 +03:00
|
|
|
}
|
|
|
|
|
2024-06-01 14:37:06 +03:00
|
|
|
// Revert to defaults, or make settings default
|
2024-05-27 09:03:12 +03:00
|
|
|
* {
|
|
|
|
color: revert !important;
|
2024-05-29 09:27:54 +03:00
|
|
|
overflow-wrap: break-word !important;
|
2024-06-06 18:27:20 +03:00
|
|
|
/* Funny trick for multiple columned pages with automatic column count
|
|
|
|
column-width: 78ch !important;
|
|
|
|
*/
|
|
|
|
/* begin https://clagnut.com/blog/2395/ */
|
2024-05-30 08:18:20 +03:00
|
|
|
hyphens: auto !important;
|
2024-06-06 18:27:20 +03:00
|
|
|
hyphenate-limit-chars: 6 3 3 !important;
|
|
|
|
hyphenate-limit-lines: 2 !important;
|
|
|
|
hyphenate-limit-last: always !important;
|
|
|
|
hyphenate-limit-zone: 8% !important;
|
|
|
|
/* end https://clagnut.com/blog/2395/ */
|
2024-06-01 14:37:06 +03:00
|
|
|
// Experimental trick to make all emojis text if supported.
|
|
|
|
font-variant-emoji: text;
|
2024-06-12 10:29:06 +03:00
|
|
|
/* WCAG minimum suggestions */
|
|
|
|
margin-bottom: 2 !important;
|
|
|
|
line-height: 1.5 !important;
|
|
|
|
letter-spacing: 0.12 !important;
|
|
|
|
word-spacing: 0.16 !important;
|
2024-05-25 07:53:19 +03:00
|
|
|
}
|
|
|
|
|
2024-06-08 12:59:15 +03:00
|
|
|
// E.g. blesmrt.net vs bIesmrt.net
|
2024-05-29 10:59:20 +03:00
|
|
|
a {
|
|
|
|
text-decoration: underline !important;
|
2024-06-08 12:15:51 +03:00
|
|
|
font-family: $serif-font-family;
|
2024-05-27 09:29:42 +03:00
|
|
|
}
|
2024-05-29 10:59:20 +03:00
|
|
|
|
2024-06-08 12:59:15 +03:00
|
|
|
// Extraneous considering the above.
|
|
|
|
//a.site-title {
|
|
|
|
// font-family: $serif-font-family;
|
|
|
|
//}
|
2024-06-08 09:26:53 +03:00
|
|
|
|
2024-06-06 18:27:20 +03:00
|
|
|
// .page-content {
|
|
|
|
// width: 100% !important;
|
|
|
|
// max-width: 78ch !important;
|
|
|
|
// margin: 0 auto !important;
|
|
|
|
// }
|
|
|
|
|
2024-05-31 10:38:27 +03:00
|
|
|
// Monospace preferred for code
|
2024-05-27 09:29:42 +03:00
|
|
|
code,
|
|
|
|
pre {
|
|
|
|
font-family: $monospace-font-family !important;
|
2024-05-31 10:38:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// So it will not look bigger than normal text
|
2024-05-31 10:47:05 +03:00
|
|
|
code {
|
2024-05-29 10:59:20 +03:00
|
|
|
font-size: 0.8em !important;
|
2024-05-27 09:29:42 +03:00
|
|
|
}
|
|
|
|
|
2024-06-08 12:59:15 +03:00
|
|
|
// Serif for headings to constrast with everything else being sans-serif
|
|
|
|
// (except links).
|
2024-06-08 09:26:53 +03:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-family: $serif-font-family !important;
|
|
|
|
}
|
|
|
|
|
2024-05-29 11:33:31 +03:00
|
|
|
// Overrides for light themes
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
*:not(a) {
|
|
|
|
border-color: #000000 !important;
|
|
|
|
}
|
2024-06-06 18:27:20 +03:00
|
|
|
.ftf-dma-note {
|
|
|
|
max-width: 78ch !important;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
}
|
2024-05-29 11:33:31 +03:00
|
|
|
}
|
|
|
|
|
2024-05-27 07:26:03 +03:00
|
|
|
// Overrides for dark themes
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2024-05-29 10:59:20 +03:00
|
|
|
*:not(a) {
|
2024-05-29 08:23:49 +03:00
|
|
|
color: #ffb700 !important;
|
|
|
|
border-color: #ffb700 !important;
|
|
|
|
background-color: #000000 !important;
|
|
|
|
}
|
|
|
|
|
2024-05-27 07:26:03 +03:00
|
|
|
// Adblocker detection)
|
|
|
|
.ftf-dma-note {
|
|
|
|
color-scheme: only dark !important;
|
2024-05-29 08:23:49 +03:00
|
|
|
color: #ffb700 !important;
|
|
|
|
border-color: #ffb700 !important;
|
|
|
|
background-color: #000000 !important;
|
2024-06-06 18:27:20 +03:00
|
|
|
max-width: 78ch !important;
|
|
|
|
margin: 0 auto !important;
|
2024-05-27 07:49:02 +03:00
|
|
|
}
|
2024-05-25 07:53:19 +03:00
|
|
|
}
|
|
|
|
|
2015-10-09 13:59:45 +03:00
|
|
|
// This is used in the index
|
2018-09-17 16:48:05 +03:00
|
|
|
#avatar {
|
2023-02-22 20:28:38 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2024-05-29 10:59:20 +03:00
|
|
|
width: 25%;
|
2024-05-21 12:09:33 +03:00
|
|
|
border: 1px solid;
|
2024-05-30 19:09:09 +03:00
|
|
|
//display: block;
|
|
|
|
display: float;
|
2024-05-30 19:30:20 +03:00
|
|
|
float: right;
|
2015-10-04 14:18:54 +03:00
|
|
|
}
|
|
|
|
|
2015-10-09 13:59:45 +03:00
|
|
|
// This is the short bio in the index and all my profiles
|
2015-10-04 14:18:54 +03:00
|
|
|
#bio {
|
2024-06-12 10:29:06 +03:00
|
|
|
//text-align: center;
|
2023-02-22 20:28:38 +02:00
|
|
|
font-style: italic;
|
2024-06-08 09:26:53 +03:00
|
|
|
font-family: ui-cursive, $serif-font-family;
|
2015-10-04 14:18:54 +03:00
|
|
|
}
|
2015-10-09 13:59:45 +03:00
|
|
|
|
2024-06-01 12:56:36 +03:00
|
|
|
// _layouts/mini.html calls this for returning to index!
|
|
|
|
.centered {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-05-29 10:59:20 +03:00
|
|
|
// At least used in the index SSH key fingerprints
|
2024-05-29 09:27:54 +03:00
|
|
|
.monospaced {
|
|
|
|
font-family: $monospace-font-family;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|