diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 10:24:04 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 10:24:04 +0200 |
| commit | fd523e10066e91e78e7520407f958c5a228fe80b (patch) | |
| tree | bc29c9e340f4a2a47229869a25d4606fdc436025 /templates/base.html | |
| parent | 588b1c8686be928f070966dcba18fbcaed6bae57 (diff) | |
| download | mitjafelicijan.com-fd523e10066e91e78e7520407f958c5a228fe80b.tar.gz | |
Added new note
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/templates/base.html b/templates/base.html index 956241a..2b11ba7 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | img, video { border: var(--border-width) solid var(--primary-color); padding: 0.5em; } | 54 | img, video { border: var(--border-width) solid var(--primary-color); padding: 0.5em; } |
| 55 | img.no-border, video.no-border { border: 0; padding: 0; } | 55 | img.no-border, video.no-border { border: 0; padding: 0; } |
| 56 | 56 | ||
| 57 | pre { background: var(--code-color)!important; border: var(--border-width) solid var(--primary-color); text-wrap: wrap; padding: 1.0em; line-height: 170%; } | 57 | pre { background: var(--code-color)!important; border: var(--border-width) solid var(--primary-color); text-wrap: wrap; padding: 1.0em; line-height: 170%; text-wrap: nowrap; overflow-x: auto; } |
| 58 | code { background: var(--code-color); padding: 0 0.2em; } | 58 | code { background: var(--code-color); padding: 0 0.2em; } |
| 59 | pre code { padding: 0; } | 59 | pre code { padding: 0; } |
| 60 | 60 | ||
| @@ -64,30 +64,9 @@ | |||
| 64 | article iframe { margin: 0!important; } | 64 | article iframe { margin: 0!important; } |
| 65 | pre code span { display: initial !important; } | 65 | pre code span { display: initial !important; } |
| 66 | 66 | ||
| 67 | /*html { scroll-padding: 2rem; font-family: sans-serif; } | 67 | /*@media only screen and (max-width: 860px) { |
| 68 | body { display: grid; gap: 2em; grid-template-columns: 16em auto; max-width: 1200px; line-height: 130%; } | ||
| 69 | h1, h2, h3, h4, h5, h6 { line-height: 120%; } | ||
| 70 | a { color: blue; text-decoration: none; } | ||
| 71 | a:hover { text-decoration: underline; } | ||
| 72 | img, video, audio { max-width: 100%; } | ||
| 73 | pre { background: #f5f5f5 !important; text-wrap: wrap; padding: 0.5em; } | ||
| 74 | code { background: #f5f5f5; } | ||
| 75 | li { break-inside: avoid-column; } | ||
| 76 | table { width: 100%; } | ||
| 77 | figure { margin: 0; } | ||
| 78 | .flow-two-column > ul { column-count: 2; column-gap: 3em; } | ||
| 79 | .flow-three-column > ul { column-count: 3; column-gap: 3em; } | ||
| 80 | .tags { display: inline-flex; gap: 0.2em; padding-right: 0.4em; font-family: monospace; } | ||
| 81 | .tags mark { padding: 0 0.2em; } | ||
| 82 | @media only screen and (max-width: 860px) { | ||
| 83 | body { display: block; } | ||
| 84 | main { margin: 1em 0; } | ||
| 85 | .flow-two-column > ul { column-count: 1; } | ||
| 86 | .flow-three-column > ul { column-count: 1; } | ||
| 87 | .hide-on-mobile { display: none; } | 68 | .hide-on-mobile { display: none; } |
| 88 | } | 69 | }*/ |
| 89 | article iframe { margin: 0!important; } | ||
| 90 | pre code span { display: initial !important; }*/ | ||
| 91 | </style> | 70 | </style> |
| 92 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> | 71 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> |
| 93 | </head> | 72 | </head> |
