diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-05-26 07:39:03 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-05-26 07:39:03 +0200 |
| commit | 5c199eb7ef1dbf30d47743eb1f13459fa59004df (patch) | |
| tree | 3e3f7d189bc7630ce35351e223f300d81b177fc0 /templates/base.html | |
| parent | 0b05e8c3e98ed263a7703359278ea0fe00bcb22a (diff) | |
| download | mitjafelicijan.com-5c199eb7ef1dbf30d47743eb1f13459fa59004df.tar.gz | |
Minor fixes
Diffstat (limited to 'templates/base.html')
| -rwxr-xr-x | templates/base.html | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index 7f57250..f0ed901 100755 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -11,8 +11,8 @@ | |||
| 11 | :root { | 11 | :root { |
| 12 | --body-max-width: 720px; | 12 | --body-max-width: 720px; |
| 13 | --link-color: blue; | 13 | --link-color: blue; |
| 14 | --code-background: #f8f8f8; | 14 | --code-background: #fffcef; |
| 15 | --inline-code-background: #f2f2f2; | 15 | --inline-code-background: #fffae5; |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | *::selection { | 18 | *::selection { |
| @@ -40,10 +40,12 @@ | |||
| 40 | display: flex; | 40 | display: flex; |
| 41 | flex-direction: column; | 41 | flex-direction: column; |
| 42 | gap: 1em; | 42 | gap: 1em; |
| 43 | margin: 0 auto; | ||
| 43 | } | 44 | } |
| 44 | 45 | ||
| 45 | header nav { | 46 | header nav { |
| 46 | display: flex; | 47 | display: flex; |
| 48 | align-items: center; | ||
| 47 | gap: 1em; | 49 | gap: 1em; |
| 48 | } | 50 | } |
| 49 | 51 | ||
| @@ -76,7 +78,6 @@ | |||
| 76 | overflow-x: auto; | 78 | overflow-x: auto; |
| 77 | padding: 1em; | 79 | padding: 1em; |
| 78 | background: var(--code-background)!important; | 80 | background: var(--code-background)!important; |
| 79 | border: 1px solid #dcdcdc; | ||
| 80 | } | 81 | } |
| 81 | 82 | ||
| 82 | code { | 83 | code { |
| @@ -145,6 +146,18 @@ | |||
| 145 | } | 146 | } |
| 146 | .promobox:hover { text-decoration: underline; } | 147 | .promobox:hover { text-decoration: underline; } |
| 147 | 148 | ||
| 149 | .navigation { | ||
| 150 | display: flex; | ||
| 151 | align-items: center; | ||
| 152 | justify-content: space-between; | ||
| 153 | } | ||
| 154 | .navigation .spinny img, .navigation .spinny a { | ||
| 155 | width: 30px; | ||
| 156 | height: 30px; | ||
| 157 | background: black; | ||
| 158 | display: block; | ||
| 159 | } | ||
| 160 | |||
| 148 | @media only screen and (max-width: 600px) { | 161 | @media only screen and (max-width: 600px) { |
| 149 | body { | 162 | body { |
| 150 | padding: 0.5em; | 163 | padding: 0.5em; |
| @@ -153,7 +166,7 @@ | |||
| 153 | 166 | ||
| 154 | header nav { | 167 | header nav { |
| 155 | gap: 0.7rem; | 168 | gap: 0.7rem; |
| 156 | } | 169 | |
| 157 | 170 | ||
| 158 | a { | 171 | a { |
| 159 | word-wrap: break-word; | 172 | word-wrap: break-word; |
| @@ -163,7 +176,7 @@ | |||
| 163 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> | 176 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> |
| 164 | </head> | 177 | </head> |
| 165 | <body> | 178 | <body> |
| 166 | <header> | 179 | <header class="navigation"> |
| 167 | <nav> | 180 | <nav> |
| 168 | <a href="/">Home</a> | 181 | <a href="/">Home</a> |
| 169 | <a href="https://github.com/mitjafelicijan" target="_blank">Code</a> | 182 | <a href="https://github.com/mitjafelicijan" target="_blank">Code</a> |
| @@ -172,6 +185,11 @@ | |||
| 172 | <a href="/curriculum-vitae.html">CV</a> | 185 | <a href="/curriculum-vitae.html">CV</a> |
| 173 | <a href="/feed.xml">RSS</a> | 186 | <a href="/feed.xml">RSS</a> |
| 174 | </nav> | 187 | </nav> |
| 188 | <nav> | ||
| 189 | <a class="spinny" href="https://link.springer.com/content/pdf/10.1007/s11229-020-02801-1.pdf" target="_blank"> | ||
| 190 | <img src="/assets/general/first.gif"> | ||
| 191 | </a> | ||
| 192 | </nav> | ||
| 175 | </header> | 193 | </header> |
| 176 | <main>{{ block "content" . }}{{ end }}</main> | 194 | <main>{{ block "content" . }}{{ end }}</main> |
| 177 | <footer> | 195 | <footer> |
