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

View File

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