staring at main.scss too long

This commit is contained in:
Aminda Suomalainen 2024-06-06 18:27:20 +03:00
parent 662b0d6adf
commit beb1120b9e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 21 additions and 0 deletions

View File

@ -25,7 +25,16 @@ $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
* {
color: revert !important;
overflow-wrap: break-word !important;
/* Funny trick for multiple columned pages with automatic column count
column-width: 78ch !important;
*/
/* begin https://clagnut.com/blog/2395/ */
hyphens: auto !important;
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/ */
// Experimental trick to make all emojis text if supported.
font-variant-emoji: text;
}
@ -34,6 +43,12 @@ a {
text-decoration: underline !important;
}
// .page-content {
// width: 100% !important;
// max-width: 78ch !important;
// margin: 0 auto !important;
// }
// Monospace preferred for code
code,
pre {
@ -50,6 +65,10 @@ code {
*:not(a) {
border-color: #000000 !important;
}
.ftf-dma-note {
max-width: 78ch !important;
margin: 0 auto !important;
}
}
// Overrides for dark themes
@ -66,6 +85,8 @@ code {
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
max-width: 78ch !important;
margin: 0 auto !important;
}
}