website

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7a75d8a9f9540797c67ca660a2ab994fc3172bad
parent a81ba01c7ed646392a63c24c7274642a78ca20d2
Author: Silas Brack <silasbrack@gmail.com>
Date:   Mon, 27 Apr 2026 14:25:00 +0200

Revert to aside sidenotes, hidden on mobile

Diffstat:
Mindex.html | 10+++-------
Mstyle.css | 40++++++++++++++--------------------------
Mstyle.min.css | 2+-
3 files changed, 18 insertions(+), 34 deletions(-)

diff --git a/index.html b/index.html @@ -7,7 +7,7 @@ <title>Silas Brack</title> <link rel="shortcut icon" href="data:," /> <style type="text/css"> -:root{--font-sans:Seravek,'Gill Sans Nova',Ubuntu,Calibri,'DejaVu Sans',source-sans-pro,sans-serif;--font-serif:Charter,'Bitstream Charter','Sitka Text',Cambria,serif;--font-mono:JetBrains Mono,monospace}code{font-family:var(--font-mono);font-size:.75rem}html{font-size:2.4vw}@media(min-width:1000px){html{font-size:20px}}@media(max-width:760px){html{font-size:18px}}body{width:87.5%;margin-left:auto;margin-right:auto;padding-left:12.5%;font-family:var(--font-serif);max-width:1400px;counter-reset:sidenote-counter}h1{font-family:var(--font-sans);font-weight:700;font-size:1.5rem;margin-top:2.5rem;margin-bottom:1.5rem;line-height:1}h2{font-family:var(--font-sans);font-weight:700;font-size:1.1rem}h3{font-size:1rem}p.subtitle{font-family:var(--font-sans);margin-top:1rem;margin-bottom:1rem;line-height:1}article{padding:3rem 0}section{padding-top:1rem;padding-bottom:1rem}p{font-size:1rem;line-height:1.4rem;margin-top:1.4rem;margin-bottom:1.4rem}section>p,section>ol,section>ul{width:55%}section>hr{width:55%;margin-left:0}img{max-width:100%}.marginnote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}details.sidenote{display:inline;counter-increment:sidenote-counter}details.sidenote>summary{display:inline;list-style:none;cursor:pointer;font-size:.7rem;vertical-align:super}details.sidenote>summary::marker{display:none;content:""}details.sidenote>summary::after{content:counter(sidenote-counter)}details.sidenote>span{display:block;float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;font-size:.85rem;line-height:1.3;position:relative}details.sidenote>span::before{content:counter(sidenote-counter) " ";font-size:.7rem;vertical-align:super}.socials a{display:block;line-height:2}table{border-collapse:collapse;border-top:2px solid #333;border-bottom:2px solid #333}th,td{padding:7px 14px}thead th{font-weight:700;border-bottom:1px solid #333;text-align:left}td{border-bottom:1px solid #e5e5e5}tbody tr:last-child td{border-bottom:0}.numeric{text-align:right}@media(max-width:760px){body{width:90%;padding-left:5%;padding-right:5%}section>p,section>ol,section>ul{width:100%}details.sidenote{display:none}.marginnote{display:block;float:none;clear:both;width:100%;margin:1rem 0;position:relative}.marginnote.socials{display:flex;justify-content:space-around}.marginnote.socials a{display:inline}img{width:100%}} +:root{--font-sans:Seravek,'Gill Sans Nova',Ubuntu,Calibri,'DejaVu Sans',source-sans-pro,sans-serif;--font-serif:Charter,'Bitstream Charter','Sitka Text',Cambria,serif;--font-mono:JetBrains Mono,monospace}code{font-family:var(--font-mono);font-size:.75rem}html{font-size:2.4vw}@media(min-width:1000px){html{font-size:20px}}@media(max-width:760px){html{font-size:18px}}body{width:87.5%;margin-left:auto;margin-right:auto;padding-left:12.5%;font-family:var(--font-serif);max-width:1400px;counter-reset:sidenote-counter}h1{font-family:var(--font-sans);font-weight:700;font-size:1.5rem;margin-top:2.5rem;margin-bottom:1.5rem;line-height:1}h2{font-family:var(--font-sans);font-weight:700;font-size:1.1rem}h3{font-size:1rem}p.subtitle{font-family:var(--font-sans);margin-top:1rem;margin-bottom:1rem;line-height:1}article{padding:3rem 0}section{padding-top:1rem;padding-bottom:1rem}p{font-size:1rem;line-height:1.4rem;margin-top:1.4rem;margin-bottom:1.4rem}section>p,section>ol,section>ul{width:55%}section>hr{width:55%;margin-left:0}img{max-width:100%}.marginnote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}aside.sidenote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}sup.sn-ref{counter-increment:sidenote-counter}sup.sn-ref::after{content:counter(sidenote-counter);font-size:.7rem}aside.sidenote::before{content:counter(sidenote-counter) " ";font-size:.7rem;vertical-align:super}.socials a{display:block;line-height:2}table{border-collapse:collapse;border-top:2px solid #333;border-bottom:2px solid #333}th,td{padding:7px 14px}thead th{font-weight:700;border-bottom:1px solid #333;text-align:left}td{border-bottom:1px solid #e5e5e5}tbody tr:last-child td{border-bottom:0}.numeric{text-align:right}@media(max-width:760px){body{width:90%;padding-left:5%;padding-right:5%}section>p,section>ol,section>ul{width:100%}aside.sidenote,sup.sn-ref{display:none}.marginnote{display:block;float:none;clear:both;width:100%;margin:1rem 0;position:relative}.marginnote.socials{display:flex;justify-content:space-around}.marginnote.socials a{display:inline}img{width:100%}} </style> </head> @@ -53,13 +53,9 @@ </p> <p> I hold a master's in Mathematical Modelling and Computation from the Technical - University of Denmark. My thesis<details class="sidenote"><summary></summary><span> - <a href="./assets/thesis.pdf">"Effortless Bayesian Deep Learning: Tapping Into the Potential of Modern Optimizers"</a> - </span></details> was focused on implicit matrix algorithms for the + University of Denmark. My thesis<sup class="sn-ref"></sup><aside class="sidenote"><a href="./assets/thesis.pdf">"Effortless Bayesian Deep Learning: Tapping Into the Potential of Modern Optimizers"</a></aside> was focused on implicit matrix algorithms for the Laplace approximation in Søren Hauberg's Cognitive Systems group at DTU Compute. - My work in the group also led to a publication at NeurIPS<details class="sidenote"><summary></summary><span> - <a href="https://proceedings.neurips.cc/paper_files/paper/2023/hash/da7ce04b3683b173691ecbb801f2690f-Abstract-Conference.html">"Bayesian Metric Learning for Uncertainty Quantification in Image Retrieval,"</a> NeurIPS 2023. - </span></details> + My work in the group also led to a publication at NeurIPS<sup class="sn-ref"></sup><aside class="sidenote"><a href="https://proceedings.neurips.cc/paper_files/paper/2023/hash/da7ce04b3683b173691ecbb801f2690f-Abstract-Conference.html">"Bayesian Metric Learning for Uncertainty Quantification in Image Retrieval,"</a> NeurIPS 2023.</aside> based on applying the Laplace approximation to metric learning. </p> diff --git a/style.css b/style.css @@ -107,41 +107,28 @@ img { position: relative; } -details.sidenote { - display: inline; - counter-increment: sidenote-counter; -} - -details.sidenote > summary { - display: inline; - list-style: none; - cursor: pointer; - font-size: 0.7rem; - vertical-align: super; -} - -details.sidenote > summary::marker { - display: none; - content: ""; -} - -details.sidenote > summary::after { - content: counter(sidenote-counter); -} - -details.sidenote > span { - display: block; +aside.sidenote { float: right; clear: right; margin-right: -60%; width: 50%; margin-top: 0.3rem; + margin-bottom: 0; font-size: 0.85rem; line-height: 1.3; position: relative; } -details.sidenote > span::before { +sup.sn-ref { + counter-increment: sidenote-counter; +} + +sup.sn-ref::after { + content: counter(sidenote-counter); + font-size: 0.7rem; +} + +aside.sidenote::before { content: counter(sidenote-counter) " "; font-size: 0.7rem; vertical-align: super; @@ -190,7 +177,8 @@ tbody tr:last-child td{ width: 100%; } - details.sidenote { + aside.sidenote, + sup.sn-ref { display: none; } diff --git a/style.min.css b/style.min.css @@ -1 +1 @@ -:root{--font-sans:Seravek,'Gill Sans Nova',Ubuntu,Calibri,'DejaVu Sans',source-sans-pro,sans-serif;--font-serif:Charter,'Bitstream Charter','Sitka Text',Cambria,serif;--font-mono:JetBrains Mono,monospace}code{font-family:var(--font-mono);font-size:.75rem}html{font-size:2.4vw}@media(min-width:1000px){html{font-size:20px}}@media(max-width:760px){html{font-size:18px}}body{width:87.5%;margin-left:auto;margin-right:auto;padding-left:12.5%;font-family:var(--font-serif);max-width:1400px;counter-reset:sidenote-counter}h1{font-family:var(--font-sans);font-weight:700;font-size:1.5rem;margin-top:2.5rem;margin-bottom:1.5rem;line-height:1}h2{font-family:var(--font-sans);font-weight:700;font-size:1.1rem}h3{font-size:1rem}p.subtitle{font-family:var(--font-sans);margin-top:1rem;margin-bottom:1rem;line-height:1}article{padding:3rem 0}section{padding-top:1rem;padding-bottom:1rem}p{font-size:1rem;line-height:1.4rem;margin-top:1.4rem;margin-bottom:1.4rem}section>p,section>ol,section>ul{width:55%}section>hr{width:55%;margin-left:0}img{max-width:100%}.marginnote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}details.sidenote{display:inline;counter-increment:sidenote-counter}details.sidenote>summary{display:inline;list-style:none;cursor:pointer;font-size:.7rem;vertical-align:super}details.sidenote>summary::marker{display:none;content:""}details.sidenote>summary::after{content:counter(sidenote-counter)}details.sidenote>span{display:block;float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;font-size:.85rem;line-height:1.3;position:relative}details.sidenote>span::before{content:counter(sidenote-counter) " ";font-size:.7rem;vertical-align:super}.socials a{display:block;line-height:2}table{border-collapse:collapse;border-top:2px solid #333;border-bottom:2px solid #333}th,td{padding:7px 14px}thead th{font-weight:700;border-bottom:1px solid #333;text-align:left}td{border-bottom:1px solid #e5e5e5}tbody tr:last-child td{border-bottom:0}.numeric{text-align:right}@media(max-width:760px){body{width:90%;padding-left:5%;padding-right:5%}section>p,section>ol,section>ul{width:100%}details.sidenote{display:none}.marginnote{display:block;float:none;clear:both;width:100%;margin:1rem 0;position:relative}.marginnote.socials{display:flex;justify-content:space-around}.marginnote.socials a{display:inline}img{width:100%}} +:root{--font-sans:Seravek,'Gill Sans Nova',Ubuntu,Calibri,'DejaVu Sans',source-sans-pro,sans-serif;--font-serif:Charter,'Bitstream Charter','Sitka Text',Cambria,serif;--font-mono:JetBrains Mono,monospace}code{font-family:var(--font-mono);font-size:.75rem}html{font-size:2.4vw}@media(min-width:1000px){html{font-size:20px}}@media(max-width:760px){html{font-size:18px}}body{width:87.5%;margin-left:auto;margin-right:auto;padding-left:12.5%;font-family:var(--font-serif);max-width:1400px;counter-reset:sidenote-counter}h1{font-family:var(--font-sans);font-weight:700;font-size:1.5rem;margin-top:2.5rem;margin-bottom:1.5rem;line-height:1}h2{font-family:var(--font-sans);font-weight:700;font-size:1.1rem}h3{font-size:1rem}p.subtitle{font-family:var(--font-sans);margin-top:1rem;margin-bottom:1rem;line-height:1}article{padding:3rem 0}section{padding-top:1rem;padding-bottom:1rem}p{font-size:1rem;line-height:1.4rem;margin-top:1.4rem;margin-bottom:1.4rem}section>p,section>ol,section>ul{width:55%}section>hr{width:55%;margin-left:0}img{max-width:100%}.marginnote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}aside.sidenote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:.85rem;line-height:1.3;position:relative}sup.sn-ref{counter-increment:sidenote-counter}sup.sn-ref::after{content:counter(sidenote-counter);font-size:.7rem}aside.sidenote::before{content:counter(sidenote-counter) " ";font-size:.7rem;vertical-align:super}.socials a{display:block;line-height:2}table{border-collapse:collapse;border-top:2px solid #333;border-bottom:2px solid #333}th,td{padding:7px 14px}thead th{font-weight:700;border-bottom:1px solid #333;text-align:left}td{border-bottom:1px solid #e5e5e5}tbody tr:last-child td{border-bottom:0}.numeric{text-align:right}@media(max-width:760px){body{width:90%;padding-left:5%;padding-right:5%}section>p,section>ol,section>ul{width:100%}aside.sidenote,sup.sn-ref{display:none}.marginnote{display:block;float:none;clear:both;width:100%;margin:1rem 0;position:relative}.marginnote.socials{display:flex;justify-content:space-around}.marginnote.socials a{display:inline}img{width:100%}}