diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 08:11:05 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 08:11:05 +0200 |
| commit | cd360009270a0a9b0501ed73fe327be84824ca29 (patch) | |
| tree | ff438b4a229227a934fd5e05785bcd3d2aac7a27 /templates/base.html | |
| parent | 7492a206dedf44ecb8ab64981f8d0ab40bcd9ead (diff) | |
| download | mitjafelicijan.com-cd360009270a0a9b0501ed73fe327be84824ca29.tar.gz | |
Style update
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 126 |
1 files changed, 74 insertions, 52 deletions
diff --git a/templates/base.html b/templates/base.html index 4fe5df3..956241a 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -11,7 +11,60 @@ | |||
| 11 | <link href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL69vf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv76+/8LBwQkAAAAAAAAAAAAAAAC+vb3/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL+9vf/Bv78JAAAAAAAAAAAAAAAAu7q6/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC7ubr/vr29CAAAAAAAAAAAy8nJAZ6foP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnqGj/6GipAoAAAAAHLjU/xcXHf/BwsL/I8XY/yPK3v8XGiD/IbjL/yPF2f8XGiD/Fxkf/yLF2f8gnK3/Fxog/62ztv8fwNf/FRcd/x271v8mz93/GRsi/xkXHf8p097/GiIp/xobIv8p0t3/KdPe/xocIv8fYmr/KNPe/xoZH/8aHCL/J87c/xy81/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Fhkh/x3A4f8AAAAAJ2f9/ydr//8mZPH/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlYu38J2v//ydo/f8AAAAAAAAAAAd8/fkFqf//Iob8sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMY39awWr//8FfP3/AAAAAAAAAAAFm/7/SfD//wR+/f8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOB/f9B7v//BaX+/wAAAAAAAAAAQ878SAyZ/v9n1v4KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADu9v8DDJb+/z3N/XgAAAAA3/sAAN/7AADf+wAA3/sAAAAAAAAAAAAAAAAAAN/7AAAAAAAAAAAAAAAAAAAAAAAAj/EAAI/5AACP8QAA3/sAAA==" rel="icon" type="image/x-icon" /> |
| 12 | 12 | ||
| 13 | <style> | 13 | <style> |
| 14 | html { scroll-padding: 2rem; font-family: sans-serif; } | 14 | :root { |
| 15 | --first-child-width: 150px; | ||
| 16 | --primary-color: gainsboro; | ||
| 17 | --secondary-color: #555; | ||
| 18 | --tertiary-color: #eee; | ||
| 19 | --code-color: #f9f9f9; | ||
| 20 | --border-width: 1px; | ||
| 21 | --header-border-width: 2px; | ||
| 22 | } | ||
| 23 | |||
| 24 | * { box-sizing: border-box; } | ||
| 25 | |||
| 26 | html { scroll-padding-top: 1.5em; } | ||
| 27 | body { font-family: sans-serif; padding: 0 1em; line-height: 160%; display: flex; flex-direction: column; gap: 4em; } | ||
| 28 | table { width: 100%; border: var(--border-width) solid var(--primary-color); border-collapse: collapse; } | ||
| 29 | table thead { background: var(--primary-color); border: var(--border-width) solid var(--secondary-color); } | ||
| 30 | table td, table th { text-align: left; padding: 0.3em 0.5em; } | ||
| 31 | table tbody tr { border-bottom: var(--border-width) solid var(--primary-color); vertical-align: middle; } | ||
| 32 | table tr td:first-child { width: var(--first-child-width); } | ||
| 33 | table td.tags { display: flex; gap: 0.5em; justify-content: flex-end; align-items: center; } | ||
| 34 | table td.tags mark { padding: 0 0.4em; background: var(--primary-color); font-size: small; } | ||
| 35 | |||
| 36 | a { color: blue; text-decoration: none; } | ||
| 37 | a:hover { text-decoration: underline; } | ||
| 38 | |||
| 39 | header { border-bottom: var(--header-border-width) solid var(--secondary-color); padding: 0.5em 0; display: flex; } | ||
| 40 | header nav:first-child { display: flex; width: var(--first-child-width); } | ||
| 41 | header nav:last-child { display: flex; gap: 1.5em; } | ||
| 42 | header nav:last-child a { color: black; } | ||
| 43 | |||
| 44 | footer { color: gray; } | ||
| 45 | footer a { color: gray; text-decoration: underline; } | ||
| 46 | |||
| 47 | main { max-width: 840px; display: flex; gap: 2em; flex-direction: column; } | ||
| 48 | h1, h2, h3, h4 { font-size: initial; } | ||
| 49 | article h2, article h3, article h4 { margin-block-start: 2.5em; } | ||
| 50 | article h1 { font-size: 130%; line-height: 110%; } | ||
| 51 | |||
| 52 | img, video, audio { max-width: 100%; } | ||
| 53 | figure { display: flex; justify-content: center; margin: 2.5em 0; } | ||
| 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; } | ||
| 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%; } | ||
| 58 | code { background: var(--code-color); padding: 0 0.2em; } | ||
| 59 | pre code { padding: 0; } | ||
| 60 | |||
| 61 | .capitalize { text-transform: capitalize; } | ||
| 62 | |||
| 63 | /* Hotfixes for strange behaviour. */ | ||
| 64 | article iframe { margin: 0!important; } | ||
| 65 | pre code span { display: initial !important; } | ||
| 66 | |||
| 67 | /*html { scroll-padding: 2rem; font-family: sans-serif; } | ||
| 15 | body { display: grid; gap: 2em; grid-template-columns: 16em auto; max-width: 1200px; line-height: 130%; } | 68 | body { display: grid; gap: 2em; grid-template-columns: 16em auto; max-width: 1200px; line-height: 130%; } |
| 16 | h1, h2, h3, h4, h5, h6 { line-height: 120%; } | 69 | h1, h2, h3, h4, h5, h6 { line-height: 120%; } |
| 17 | a { color: blue; text-decoration: none; } | 70 | a { color: blue; text-decoration: none; } |
| @@ -33,66 +86,35 @@ | |||
| 33 | .flow-three-column > ul { column-count: 1; } | 86 | .flow-three-column > ul { column-count: 1; } |
| 34 | .hide-on-mobile { display: none; } | 87 | .hide-on-mobile { display: none; } |
| 35 | } | 88 | } |
| 36 | /* Fixes embeds going to center. */ | ||
| 37 | article iframe { margin: 0!important; } | 89 | article iframe { margin: 0!important; } |
| 38 | /* Fix desktop and mobile code when font sizes are all over the place. */ | 90 | pre code span { display: initial !important; }*/ |
| 39 | pre code span { display: initial !important; } | ||
| 40 | </style> | 91 | </style> |
| 41 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> | 92 | <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> |
| 42 | </head> | 93 | </head> |
| 43 | 94 | ||
| 44 | <body> | 95 | <body> |
| 45 | <aside> | 96 | <header> |
| 46 | <div><img src="/assets/general/animation.gif"></div> | 97 | <nav> |
| 47 | <p>You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.</p> | 98 | <span><strong>Navigation</strong></span> |
| 48 | <div> | 99 | </nav> |
| 49 | <strong>About</strong> | 100 | <nav> |
| 50 | <ul> | 101 | <span><a href="/">Home</a></span> |
| 51 | <li><a href="/">Home</a></li> | 102 | <span><a href="/projects.html">Projects</a></span> |
| 52 | <li><a href="/projects.html">Recent Projects</a></li> | 103 | <span><a href="https://github.com/mitjafelicijan/probe" target="_blank">Probe</a></span> |
| 53 | <li><a href="https://github.com/mitjafelicijan" target="_blank">Code on GitHub</a></li> | 104 | <span><a href="https://github.com/mitjafelicijan" target="_blank">Code</a></span> |
| 54 | <li><a href="https://github.com/mitjafelicijan/probe" target="_blank">Probe repository</a></li> | 105 | <span><a href="https://github.com/mitjafelicijan/dotfiles" target="_blank">Dotfiles</a></span> |
| 55 | <li class="hide-on-mobile"><a href="https://github.com/mitjafelicijan/dotfiles" target="_blank">My dotfiles</a></li> | 106 | <span><a href="/curriculum-vitae.html">CV</a></span> |
| 56 | <li><a href="/bookmarks.html">Bookmarks</a></li> | 107 | <span><a href="/feed.xml">RSS</a></span> |
| 57 | <li><a href="/curriculum-vitae.html">Curriculum Vitae</a></li> | 108 | </nav> |
| 58 | <li class="hide-on-mobile"><a href="/feed.xml">RSS Feed</a></li> | 109 | </header> |
| 59 | </ul> | ||
| 60 | </div> | ||
| 61 | |||
| 62 | <div class="hide-on-mobile"> | ||
| 63 | <strong>Tools & Fun Stuff</strong> | ||
| 64 | <ul> | ||
| 65 | <li><a href="https://github.com/mitjafelicijan/oberon" target="_blank">OpenResty Template</a></li> | ||
| 66 | <li><a href="https://github.com/mitjafelicijan/newsbarge" target="_blank">Newsbarge RSS rader</a></li> | ||
| 67 | <li><a href="https://mitjafelicijan.github.io/gguf-list/" target="_blank">GGUF model list</a></li> | ||
| 68 | <li><a href="https://github.com/mitjafelicijan/godot-experiments" target="_blank">Godot experiments</a></li> | ||
| 69 | <li><a href="https://github.com/mitjafelicijan/blpconvert" target="_blank">BLP converter</a></li> | ||
| 70 | <li><a href="https://mitjafelicijan.github.io/symbols/" target="_blank">Symbol explorer</a></li> | ||
| 71 | <li><a href="https://mitjafelicijan.github.io/hextorgba/" target="_blank">HEX to RGBA</a></li> | ||
| 72 | <li><a href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank">Binary visualizations</a></li> | ||
| 73 | <li><a href="https://mitjafelicijan.github.io/mapsofdoom/" target="_blank">Maps of Doom</a></li> | ||
| 74 | <li><a href="/assets/general/mitja-felicijan-hairytales.pdf" target="_blank">Hairy Tales</a></li> | ||
| 75 | </ul> | ||
| 76 | </div> | ||
| 77 | </aside> | ||
| 78 | |||
| 79 | <main> | 110 | <main> |
| 80 | <div> | 111 | {{ block "content" . }}{{ end }} |
| 81 | {{ block "content" . }}{{ end }} | ||
| 82 | </div> | ||
| 83 | |||
| 84 | <footer> | ||
| 85 | <hr> | ||
| 86 | <p><big><strong>Want to comment or have something to add?</strong></big></p> | ||
| 87 | <p>You can write me an email at <a href="mailto:mitja.felicijan@gmail.com">mitja.felicijan@gmail.com</a> or catch up with me <a href="https://telegram.me/mitjafelicijan" target="_blank">on Telegram</a>.</p> | ||
| 88 | <hr> | ||
| 89 | <p><small>This page's is also available as <a href="/feed.xml" target="_blank">RSS feed</a>. Page was built with <a href="https://github.com/mitjafelicijan/jbmafp" target="_blank">jbmafp</a>.</small></p> | ||
| 90 | </footer> | ||
| 91 | </main> | 112 | </main> |
| 92 | 113 | ||
| 93 | <script> | 114 | <footer> |
| 94 | document.querySelectorAll("table").forEach(t => t.setAttribute("border", 1)); | 115 | <p>You can write me an email at <a href="mailto:mitja.felicijan@gmail.com">mitja.felicijan@gmail.com</a> or catch up with me <a href="https://telegram.me/mitjafelicijan" target="_blank">on Telegram</a>.</p> |
| 95 | </script> | 116 | <p>This page's is also available as <a href="/feed.xml" target="_blank">RSS feed</a>. Page was built with <a href="https://github.com/mitjafelicijan/jbmafp" target="_blank">jbmafp</a>.</p> |
| 117 | </footer> | ||
| 96 | </body> | 118 | </body> |
| 97 | </html> | 119 | </html> |
| 98 | 120 | ||
