From df89a1aa02af3f737476b7f7498aa629164bc63b Mon Sep 17 00:00:00 2001 From: Atli Bjarnason Date: Sun, 9 Jun 2024 22:54:03 +0000 Subject: [PATCH] =?UTF-8?q?st=C3=B3rt=20CSS=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rit/_static/custom.css | 81 ++++- .../rubik-sidebar-nav-root-top.html | 4 +- .../rubik-sidebar-nav-section-top.html | 8 +- .../_build/latex/RUBIK-eldhusvaskur.aux | 289 ++++++++++-------- .../latex/RUBIK-eldhusvaskur.fdb_latexmk | 24 +- .../_build/latex/RUBIK-eldhusvaskur.fls | 88 +++--- .../_build/latex/RUBIK-eldhusvaskur.idx | 2 +- .../_build/latex/RUBIK-eldhusvaskur.ind | 2 +- .../_build/latex/RUBIK-eldhusvaskur.out | 114 ++++--- .../_build/latex/RUBIK-eldhusvaskur.tex | 128 +++++++- .../_build/latex/RUBIK-eldhusvaskur.toc | 114 ++++--- rit/eldhusvaskur/_build/latex/daily.jpg | Bin 12098 -> 0 bytes .../_build/latex/pexels-photo-106399.jpeg | Bin 0 -> 1779800 bytes .../RUBIK-fjarmal-einstaklinga.fdb_latexmk | 22 +- .../latex/RUBIK-fjarmal-einstaklinga.tex | 2 +- .../RUBIK-fjarmal-fyrirtaekja.fdb_latexmk | 24 +- .../latex/RUBIK-fjarmal-fyrirtaekja.fls | 34 +-- .../latex/RUBIK-fjarmal-fyrirtaekja.tex | 6 +- .../_build/latex/daily.jpg | Bin 12098 -> 0 bytes .../_build/latex/pexels-photo-106399.jpeg | Bin 0 -> 1779800 bytes rit/fjarmal-fyrirtaekja/index.rst | 4 +- rit/index.rst | 4 +- 22 files changed, 595 insertions(+), 355 deletions(-) delete mode 100644 rit/eldhusvaskur/_build/latex/daily.jpg create mode 100644 rit/eldhusvaskur/_build/latex/pexels-photo-106399.jpeg delete mode 100644 rit/fjarmal-fyrirtaekja/_build/latex/daily.jpg create mode 100644 rit/fjarmal-fyrirtaekja/_build/latex/pexels-photo-106399.jpeg diff --git a/rit/_static/custom.css b/rit/_static/custom.css index 94be608..af22d52 100644 --- a/rit/_static/custom.css +++ b/rit/_static/custom.css @@ -69,23 +69,45 @@ Síðan er stærðin á myndunum skilgreint inn í tikz skránum. */ /* Samræma útlit á numfig_format og caption fyrir myndir, töflur og kóðablokkir, án þess þó að hafa áhrif á allt .caption-text, því það er líka notað í t.d. fyrirsögnum í toctree í sidebar (todo - mögulega þarf að samræma líka við caption fyrir tikz myndir o.fl.) */ -.caption-number { + +/* .caption-number */ +figcaption .caption-number, +caption .caption-number, +.code-block-caption .caption-number { color: var(--pst-color-text-muted); font-weight: var(--pst-sidebar-header-font-weight); font-style: normal !important; } -.caption-number::after { + +/* .caption-number::after */ +figcaption .caption-number::after, +caption .caption-number::after { content: "– "; color: var(--pst-color-text-muted); font-weight: var(--pst-font-weight-caption); font-style: normal !important; } +.code-block-caption .caption-number::after { + content: "– "; + color: var(--pst-color-text-muted); + font-weight: var(--bs-body-font-weight); + font-style: normal !important; +} + +/* .caption-text */ figcaption .caption-text, -caption .caption-text, -.code-block-caption .caption-text { +caption .caption-text { color: var(--pst-color-text-muted); font-weight: var(--pst-font-weight-caption); } +.code-block-caption .caption-text { + color: var(--pst-color-text-muted); + font-weight: var(--bs-body-font-weight); +} + + + + /* Fjalægja padding-right í kóðablokk til að gera ekki of stórt bil á milli numfig_format og caption */ div.code-block-caption span.caption-number { @@ -124,7 +146,7 @@ div.code-block-caption span.caption-number { /* Gera SVG myndir úr MathJAX aðeins meira bold */ mjx-container[jax="SVG"] path[data-c], mjx-container[jax="SVG"] use[data-c] { - stroke-width: 3px !important; + stroke-width: 1px !important; } /* Fjarlægja "Skip to main content" container-inn sem birtist stundum efst á síðu í Safari */ @@ -162,6 +184,23 @@ table.indextable.genindextable tr { color: var(--pst-color-link-hover); } +/* Láta toggle takkann í toctree hafa sama margin-right on önnur item í primary sidebar */ +nav.bd-links { + margin-right: 0; +} + +/* Láta link í current.active síðu hverfa í _templates/rubik-sidebar-nav-section-top.html */ +.rubik-sidebar-nav-top li.current.active { + display: none; + } + + + + + + + + @@ -177,6 +216,20 @@ table.indextable.genindextable tr { + + + + + + + + + + + + + + /* Smá lita-test @@ -197,4 +250,22 @@ var(--pst-color-link) color: #d5e3e6; } + */ + + + + + +/* Reyna að láta text-decoration-thickness vera jafnt og 3px í Safari (virkar ekki) + +.navbar-nav li>a:hover { + color: var(--pst-color-link-hover); + background-color: transparent; + text-decoration: underline; + text-decoration-skip-ink: none; + text-decoration-thickness: auto; + text-underline-offset: .1578em; + text-decoration-color: var(--pst-color-link-hover); +} + */ \ No newline at end of file diff --git a/rit/_templates/rubik-sidebar-nav-root-top.html b/rit/_templates/rubik-sidebar-nav-root-top.html index 4f24d49..a421be1 100644 --- a/rit/_templates/rubik-sidebar-nav-root-top.html +++ b/rit/_templates/rubik-sidebar-nav-root-top.html @@ -8,9 +8,9 @@ titles_only=True ) -%} -