Skip to content

Commit

Permalink
stórt CSS update
Browse files Browse the repository at this point in the history
  • Loading branch information
abjarna committed Jun 9, 2024
1 parent 05660e1 commit df89a1a
Show file tree
Hide file tree
Showing 22 changed files with 595 additions and 355 deletions.
81 changes: 76 additions & 5 deletions rit/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
}











Expand All @@ -177,6 +216,20 @@ table.indextable.genindextable tr {


















/* Smá lita-test
Expand All @@ -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);
}
*/
4 changes: 2 additions & 2 deletions rit/_templates/rubik-sidebar-nav-root-top.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
titles_only=True
) -%}

<div class="bd-links test" id="bd-docs-nav" aria-label="{{ _('Section navigation') }}">
<div class="bd-links" id="bd-docs-nav" aria-label="{{ _('Section navigation') }}">
<!-- <p class="bd-links__title" role="heading" aria-level="1">{{ _("Section Navigation") }}</p> -->
<div class="bd-toc-item navbar-nav test2">
<div class="bd-toc-item navbar-nav rubik-sidebar-nav-top">
{{ sidebar_nav_html }}
</div>
</div>
8 changes: 4 additions & 4 deletions rit/_templates/rubik-sidebar-nav-section-top.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"sidebar",
startdepth=0,
show_nav_level=theme_show_nav_level | int,
maxdepth=1,
maxdepth=theme_navigation_depth | int,
collapse=theme_collapse_navigation | tobool,
includehidden=theme_sidebar_includehidden | tobool,
titles_only=True
) -%}

<div class="bd-links test" id="bd-docs-nav" aria-label="{{ _('Section navigation') }}">
<p class="bd-links__title rubik-sidebar-nav-section-top" role="heading" aria-level="1">Allar síður</p>
<div class="bd-toc-item navbar-nav test2">
<div class="bd-links" id="bd-docs-nav" aria-label="{{ _('Section navigation') }}">
<p class="bd-links__title rubik-sidebar-nav-section-top" role="heading" aria-level="1">Ritsafn RÚBIK Reykjavíkur</p>
<div class="bd-toc-item navbar-nav rubik-sidebar-nav-top">
{{ sidebar_nav_html }}
</div>
</div>
Expand Down
289 changes: 164 additions & 125 deletions rit/eldhusvaskur/_build/latex/RUBIK-eldhusvaskur.aux

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions rit/eldhusvaskur/_build/latex/RUBIK-eldhusvaskur.fdb_latexmk
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Fdb version 4
["makeindex RUBIK-eldhusvaskur.idx"] 1717773162.9875 "RUBIK-eldhusvaskur.idx" "RUBIK-eldhusvaskur.ind" "RUBIK-eldhusvaskur" 1717773166.6208 0
"RUBIK-eldhusvaskur.idx" 1717773166.4186 293 5440ce6a7cd89b139ea205dc1a186305 "pdflatex"
["makeindex RUBIK-eldhusvaskur.idx"] 1717946386.59018 "RUBIK-eldhusvaskur.idx" "RUBIK-eldhusvaskur.ind" "RUBIK-eldhusvaskur" 1717946390.49001 0
"RUBIK-eldhusvaskur.idx" 1717946390.28038 293 cfb4632e29d32e59cacd9e9fd69e4804 "pdflatex"
(generated)
"RUBIK-eldhusvaskur.ilg"
"RUBIK-eldhusvaskur.ind"
(rewritten before read)
["pdflatex"] 1717773164.86403 "RUBIK-eldhusvaskur.tex" "RUBIK-eldhusvaskur.pdf" "RUBIK-eldhusvaskur" 1717773166.62134 0
["pdflatex"] 1717946388.61518 "RUBIK-eldhusvaskur.tex" "RUBIK-eldhusvaskur.pdf" "RUBIK-eldhusvaskur" 1717946390.49058 0
"/usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc" 1254269338 2375 baa924870cfb487815765f9094cf3728 ""
"/usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-mathit.enc" 1202520719 2405 5dcf2c1b967ee25cc46c58cd52244aed ""
"/usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-mathsy.enc" 1202520719 2840 216e6e45ad352e2456e1149f28885bee ""
Expand Down Expand Up @@ -312,16 +312,16 @@
"/usr/local/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map" 1715610869.65933 5467645 128b85b7cde5f5edc5cb7f1dd7ff8736 ""
"/usr/local/texlive/2024/texmf-var/web2c/pdftex/pdflatex.fmt" 1715610771 8221425 fc2f7c60b34b76ecf6facdc7fa161ce8 ""
"/usr/local/texlive/2024/texmf.cnf" 1710266656 577 e590dabc9e28c5b61546e15f63eebcdf ""
"RUBIK-eldhusvaskur.aux" 1717773166.40323 15293 7e0b93799d26084c555a4bd14dc169ed "pdflatex"
"RUBIK-eldhusvaskur.ind" 1717773163.07334 388 4c3f547ab206c92db105656bd75dde18 "makeindex RUBIK-eldhusvaskur.idx"
"RUBIK-eldhusvaskur.out" 1717773166.41452 7716 93193b0741794a1a5a468f06aed6f5b0 "pdflatex"
"RUBIK-eldhusvaskur.tex" 1717773160.94256 20817 1eccc36883d065aed40e558a6ea954cd ""
"RUBIK-eldhusvaskur.toc" 1717773166.41865 4051 730b78e6099077c6f8d643b663f7b7d5 "pdflatex"
"daily.jpg" 1717772286 12098 8681298141f6f39963b8eaa930b77d2b ""
"RUBIK-eldhusvaskur.aux" 1717946390.25942 19828 b09036469163ceda55750279cd349768 "pdflatex"
"RUBIK-eldhusvaskur.ind" 1717946386.69152 388 301837283e687f8b2812e8b02b06d888 "makeindex RUBIK-eldhusvaskur.idx"
"RUBIK-eldhusvaskur.out" 1717946390.2686 10869 3f34ae8cb2c589febedafac13331c3ce "pdflatex"
"RUBIK-eldhusvaskur.tex" 1717946384.43541 23313 41ffe7956023417982279cc1c36fd3eb ""
"RUBIK-eldhusvaskur.toc" 1717946390.28047 5632 4cb2417dafc466df26f9ae50bb5d9615 "pdflatex"
"pexels-photo-106399.jpeg" 1711260067 1779800 0f54aaafaa678b870f6c38a9bbfabae9 ""
"rubik-cover.png" 1717078744.14304 74807 27385f53575191b302855b7d61c22ed4 ""
"sphinx.sty" 1716566566.77778 44560 f9fbf51072c954d129c9bd5284cc4ccf ""
"sphinxcontribtikz.sty" 1717773157.65591 773 1e308d24d0f0d7630d9b36d0654c16f2 ""
"sphinxhighlight.sty" 1717773157.95633 7553 83fb52292c17957d9f4aadcb28c57a87 ""
"sphinxcontribtikz.sty" 1717946383.13811 773 1e308d24d0f0d7630d9b36d0654c16f2 ""
"sphinxhighlight.sty" 1717946383.48093 7553 83fb52292c17957d9f4aadcb28c57a87 ""
"sphinxlatexadmonitions.sty" 1716566566.77815 10989 c38302e64c2bb47779f086869b246760 ""
"sphinxlatexcontainers.sty" 1716566566.77826 901 d3a3a1b7b2547f47ade2499350b5c420 ""
"sphinxlatexgraphics.sty" 1716566566.77838 4840 a9578332b6f3b35e198751fb632c9b79 ""
Expand All @@ -336,7 +336,7 @@
"sphinxlatexstyletext.sty" 1716566566.77964 8589 a7e8f95eb4fef6c1cd2623cd417d6467 ""
"sphinxlatextables.sty" 1716566566.77981 57829 997133f8082b07d1e9aafcd87331d9bf ""
"sphinxmanual.cls" 1716566566.7799 4241 7b0d7a37df7b5715fb0dbd585c52ecdb ""
"sphinxmessages.sty" 1717773160.94643 752 7544e9e595ce430d35f172b972289843 ""
"sphinxmessages.sty" 1717946384.43935 752 7544e9e595ce430d35f172b972289843 ""
"sphinxoptionsgeometry.sty" 1716566566.78001 2061 47bb34b8ed8a78823eb0c886abfb9f4d ""
"sphinxoptionshyperref.sty" 1716566566.78011 1094 79beb8b8a3f10784f8cce804e0f9d3aa ""
"sphinxpackageboxes.sty" 1716566566.78024 36615 1d74c63e665ede6c648fa08c42ea70fb ""
Expand Down
88 changes: 36 additions & 52 deletions rit/eldhusvaskur/_build/latex/RUBIK-eldhusvaskur.fls
Original file line number Diff line number Diff line change
Expand Up @@ -596,69 +596,53 @@ INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam5
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm5.tfm
OUTPUT RUBIK-eldhusvaskur.toc
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT /usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-rm.enc
INPUT /usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-mathit.enc
INPUT /usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/lm/lm-mathsy.enc
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmss17.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmbx12.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmr12.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmbx12.tfm
INPUT /usr/local/texlive/2024/texmf-dist/tex/latex/lm/ts1lmr.fd
INPUT /usr/local/texlive/2024/texmf-dist/tex/latex/lm/ts1lmr.fd
INPUT /usr/local/texlive/2024/texmf-dist/tex/latex/lm/ts1lmr.fd
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ts1-lmr10.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmri10.tfm
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT ./pexels-photo-106399.jpeg
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmtt8.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmtk10.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmbx12.tfm
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT ./daily.jpg
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmr12.tfm
INPUT /usr/local/texlive/2024/texmf-dist/fonts/tfm/public/lm/ec-lmbx12.tfm
INPUT ./RUBIK-eldhusvaskur.ind
INPUT ./RUBIK-eldhusvaskur.ind
INPUT RUBIK-eldhusvaskur.ind
Expand Down
2 changes: 1 addition & 1 deletion rit/eldhusvaskur/_build/latex/RUBIK-eldhusvaskur.idx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
\indexentry{hugtak í eldhúsvaski@\spxentry{hugtak í eldhúsvaski}|hyperpage}{1}
\indexentry{Euler\textquotesingle{}s identity@\spxentry{Euler\textquotesingle{}s identity}|hyperpage}{1}
\indexentry{Euler\textquotesingle{}s identity@\spxentry{Euler\textquotesingle{}s identity}|hyperpage}{3}
\indexentry{Euler\textquotesingle{}s identity@\spxentry{Euler\textquotesingle{}s identity}|hyperpage}{5}
2 changes: 1 addition & 1 deletion rit/eldhusvaskur/_build/latex/RUBIK-eldhusvaskur.ind
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
\let\spxextra \sphinxstyleindexextra

\bigletter E
\item \spxentry{Euler\textquotesingle{}s identity}, \hyperpage{1}, \hyperpage{3}
\item \spxentry{Euler\textquotesingle{}s identity}, \hyperpage{1}, \hyperpage{5}

\indexspace
\bigletter H
Expand Down
Loading

0 comments on commit df89a1a

Please sign in to comment.