diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 05:09:53 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 05:09:53 +0200 |
| commit | 26f4e947ce04e5e3b61e108e60dd642af0d52b76 (patch) | |
| tree | 6e5798a6d1af9e3a28c3cae86ba8971f28063221 /templates/base.html | |
| parent | 6a351ac15e3604b94e39cde39eb63de421a7e0ef (diff) | |
| download | mitjafelicijan.com-26f4e947ce04e5e3b61e108e60dd642af0d52b76.tar.gz | |
Added experiments
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/templates/base.html b/templates/base.html index 585237f..b80eced 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -25,18 +25,6 @@ | |||
| 25 | --header-border-width: 2px; | 25 | --header-border-width: 2px; |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | /*@media (prefers-color-scheme: dark) { | ||
| 29 | :root { | ||
| 30 | --base-background: black; | ||
| 31 | --base-color: white; | ||
| 32 | --link-color: white; | ||
| 33 | --primary-color: white; | ||
| 34 | --secondary-color: white; | ||
| 35 | --code-color: black; | ||
| 36 | --header-color: black; | ||
| 37 | } | ||
| 38 | }*/ | ||
| 39 | |||
| 40 | * { box-sizing: border-box; } | 28 | * { box-sizing: border-box; } |
| 41 | 29 | ||
| 42 | html { scroll-padding-top: 1.5em; } | 30 | html { scroll-padding-top: 1.5em; } |
| @@ -46,9 +34,14 @@ | |||
| 46 | table td, table th { text-align: left; padding: 0.3em 0.5em; } | 34 | table td, table th { text-align: left; padding: 0.3em 0.5em; } |
| 47 | table tbody tr { border-bottom: var(--border-width) solid var(--primary-color); vertical-align: middle; } | 35 | table tbody tr { border-bottom: var(--border-width) solid var(--primary-color); vertical-align: middle; } |
| 48 | table tr td:first-child { width: var(--first-child-width); } | 36 | table tr td:first-child { width: var(--first-child-width); } |
| 37 | table.normal tr td:first-child { width: auto; } | ||
| 49 | table td.tags { display: flex; gap: 0.5em; justify-content: flex-end; align-items: center; } | 38 | table td.tags { display: flex; gap: 0.5em; justify-content: flex-end; align-items: center; } |
| 50 | table td.tags mark { padding: 0 0.4em; background: var(--primary-color); font-size: small; } | 39 | table td.tags mark { padding: 0 0.4em; background: var(--primary-color); font-size: small; } |
| 51 | 40 | ||
| 41 | .left { text-align: left } | ||
| 42 | .center { text-align: center } | ||
| 43 | .right { text-align: right } | ||
| 44 | |||
| 52 | a { color: var(--link-color); text-decoration: none; } | 45 | a { color: var(--link-color); text-decoration: none; } |
| 53 | a:hover { text-decoration: underline; } | 46 | a:hover { text-decoration: underline; } |
| 54 | 47 | ||
| @@ -80,9 +73,9 @@ | |||
| 80 | article iframe { margin: 0!important; } | 73 | article iframe { margin: 0!important; } |
| 81 | pre code span { display: initial !important; } | 74 | pre code span { display: initial !important; } |
| 82 | 75 | ||
| 83 | /*@media only screen and (max-width: 860px) { | 76 | @media print { |
| 84 | .hide-on-mobile { display: none; } | 77 | header, footer { display: none } |
| 85 | }*/ | 78 | } |
| 86 | </style> | 79 | </style> |
| 87 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> | 80 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> |
| 88 | </head> | 81 | </head> |
