commit fb81587a668b324a4515b9775007e89bd61d0101
parent 9d6e149432c23c3f324dd025ef929aa294a3d466
Author: Oscar Benedito <oscar@obenedito.org>
Date:   Tue, 10 Sep 2019 01:26:06 +0200

Added dark theme

Diffstat:
Aassets/dark.scss | 40++++++++++++++++++++++++++++++++++++++++
Aassets/function_override.sass | 5+++++
Rstatic/js/navbar-hamburger.js -> assets/js/navbar-hamburger.js | 0
Aassets/js/toggle-theme.js | 27+++++++++++++++++++++++++++
Rassets/style.scss -> assets/light.scss | 0
Mcontent/jsweblabels.html | 7++++++-
Mlayouts/index.xml | 3+++
Mlayouts/partials/head.html | 6+++---
Mlayouts/partials/navbar.html | 8++++----
Mlayouts/partials/scripts.html | 5++++-
Astatic/img/logo-grey.svg | 115+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dstatic/js/navbar-hamburger.min.js | 1-
12 files changed, 207 insertions(+), 10 deletions(-)

diff --git a/assets/dark.scss b/assets/dark.scss @@ -0,0 +1,40 @@ +@charset "utf-8"; +$family-sans-serif: "FreeSans",sans-serif; +$primary: #233951; +$secondary: #18BC9C; + +$text: #808080; +$link: #375A7F; +$grey: #B0B0B0; +$grey-lighter: $grey; +$strong-color: $grey; +$text-strong: $strong-color; +$body-font-size: 1.1rem; + +$background: #1C1C1C; +$body-background-color: #101010; +$footer-background-color: $background; +$card-background-color: $footer-background-color; +$table-background-color: $footer-background-color; +$table-color: $background; + +@import "node_modules/bulma/sass/utilities/initial-variables.sass"; +@import "node_modules/bulma/sass/utilities/functions.sass"; +@import "function_override.sass"; +@import "node_modules/bulma/sass/utilities/derived-variables.sass"; +@import "node_modules/bulma/sass/utilities/animations.sass"; +@import "node_modules/bulma/sass/utilities/mixins.sass"; +@import "node_modules/bulma/sass/utilities/controls.sass"; +@import "node_modules/bulma/sass/base/_all.sass"; +@import "node_modules/bulma/sass/components/card.sass"; +@import "node_modules/bulma/sass/components/navbar.sass"; +@import "node_modules/bulma/sass/components/pagination.sass"; +@import "node_modules/bulma/sass/elements/button.sass"; +@import "node_modules/bulma/sass/elements/container.sass"; +@import "node_modules/bulma/sass/elements/content.sass"; +@import "node_modules/bulma/sass/elements/table.sass"; +@import "node_modules/bulma/sass/elements/tag.sass"; +@import "node_modules/bulma/sass/elements/title.sass"; +@import "node_modules/bulma/sass/form/_all.sass"; +@import "node_modules/bulma/sass/grid/_all.sass"; +@import "node_modules/bulma/sass/layout/_all.sass"; diff --git a/assets/function_override.sass b/assets/function_override.sass @@ -0,0 +1,5 @@ +@function findColorInvert($color) + @if (colorLuminance($color) > 0.55) + @return rgba(#000, 0.7) + @else + @return #e0e0e0 diff --git a/static/js/navbar-hamburger.js b/assets/js/navbar-hamburger.js diff --git a/assets/js/toggle-theme.js b/assets/js/toggle-theme.js @@ -0,0 +1,27 @@ +'use strict'; +function toggleTheme() { + if (localStorage && localStorage.getItem("theme") === "dark") { + localStorage.setItem("theme", "default"); + } else if (localStorage) { + localStorage.setItem("theme", "dark"); + } + setTheme(); +} + +function setTheme() { + if (localStorage) { + var light = localStorage.getItem("theme") === "default"; + + document.getElementById("theme").setAttribute("href", "/" + (light ? "light" : "dark") + ".css"); + document.getElementById("nav-logo").setAttribute("src", "/img/logo-" + (light ? "white" : "grey") + ".svg"); + + var e = document.getElementsByClassName((light ? "has-text-grey" : "has-text-dark")); + for (var i = 0; i < e.length; i++) { + e[i].className = (light ? "has-text-dark" : "has-text-grey"); + } + } +} + +if (localStorage && localStorage.getItem("theme") === "dark") { + setTheme(); +} diff --git a/assets/style.scss b/assets/light.scss diff --git a/content/jsweblabels.html b/content/jsweblabels.html @@ -19,7 +19,12 @@ type: page <tr> <td><a href="/js/navbar-hamburger.min.js">navbar-hamburger.min.js</a></td> <td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td> - <td><a href="/js/navbar-hamburger.js">navbar-hamburger.js</a></td> + <td><a href="https://gitlab.com/oscarbenedito/obenedito.org/raw/master/assets/js/navbar-hamburger.js">navbar-hamburger.js</a></td> + </tr> + <tr> + <td><a href="/js/toggle-theme.min.js">toggle-theme.min.js</a></td> + <td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td> + <td><a href="https://gitlab.com/oscarbenedito/obenedito.org/raw/master/assets/js/toggle-theme.js">toggle-theme.js</a></td> </tr> </tbody> </table> diff --git a/layouts/index.xml b/layouts/index.xml @@ -1 +1,4 @@ {{ partial "main.html" . }} +{{ $options := (dict "targetPath" "dark.css" "outputStyle" "compressed") }} +{{ $dark := resources.Get "dark.scss" | resources.ToCSS $options }} +<p style="display:none;">{{ $dark.RelPermalink }}</p> diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -6,7 +6,7 @@ <link rel="icon" href="/img/favicon.svg"> <title>{{ if .Params.headtitle }}{{ .Params.headtitle }} | {{ else if eq .Kind "taxonomy" }}{{ .Title | title }} | {{ else if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title> <link rel="alternate" type="application/rss+xml" title="{{ .Site.Params.blog_title }}" href=/blog/index.xml> - {{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }} - {{ $style := resources.Get "style.scss" | resources.ToCSS $options }} - <link rel="stylesheet" href="{{ $style.RelPermalink }}"> + {{ $options := (dict "targetPath" "light.css" "outputStyle" "compressed") }} + {{ $light := resources.Get "light.scss" | resources.ToCSS $options }} + <link id="theme" rel="stylesheet" type="text/css" href="{{ $light.RelPermalink }}"> </head> diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html @@ -1,7 +1,7 @@ <nav class="navbar is-primary is-fixed-top" role="navigation" aria-label="main navigation"> <div class="container"> <div class="navbar-brand"> - <a class="navbar-item" href="/"><img src="/img/logo-white.svg"></a> + <a class="navbar-item" href="/"><img id="nav-logo" src="/img/logo-white.svg"></a> <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navContent"> <span aria-hidden="true"></span> <span aria-hidden="true"></span> @@ -21,11 +21,11 @@ <a class="navbar-item" href="/jsweblabels/" data-jslicense="1">JavaScript Web Labels</a> </div> </div> + */}} <div class="navbar-item"> - <a class="button is-primary is-inverted is-outlined is-hidden-touch" href="/login/">Log in</a> - <a class="button is-primary is-hidden-desktop" href="/login/">Log in</a> + <a class="button is-primary is-inverted is-outlined is-hidden-touch" onclick="toggleTheme();">Toggle theme</a> + <a class="button is-primary is-hidden-desktop" onclick="toggleTheme();">Toggle theme</a> </div> - */}} </div> </div> </div> diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html @@ -1 +1,4 @@ -<script type="text/javascript" src="/js/navbar-hamburger.min.js"></script> +{{ $hamburger := resources.Get "js/navbar-hamburger.js" | resources.Minify }} +<script type="text/javascript" src="{{ $hamburger.RelPermalink }}"></script> +{{ $toggle := resources.Get "js/toggle-theme.js" | resources.Minify }} +<script type="text/javascript" src="{{ $toggle.RelPermalink }}"></script> diff --git a/static/img/logo-grey.svg b/static/img/logo-grey.svg @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="1409.866" + height="209.28" + viewBox="0 0 373.02704 55.372001" + version="1.1" + id="svg8" + sodipodi:docname="logo-grey.svg" + inkscape:version="0.92.1 r15371"> + <defs + id="defs2" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.5" + inkscape:cx="831.56091" + inkscape:cy="-198.91627" + inkscape:document-units="mm" + inkscape:current-layer="text12" + showgrid="false" + units="px" + inkscape:window-width="1600" + inkscape:window-height="836" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata5"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-241.62797)"> + <g + aria-label="obenedito.org" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26458332" + id="text12"> + <path + d="m 14.7828,256.36008 q 3.048,0 5.7404,1.0668 2.7432,1.016 4.7752,2.8448 2.0828,1.8288 3.2512,4.3688 1.2192,2.4892 1.2192,5.4864 0,3.0988 -1.2192,5.6896 -1.1684,2.5908 -3.2512,4.4704 -2.032,1.8796 -4.7752,2.9464 -2.6924,1.0668 -5.7404,1.0668 -2.9972,0 -5.6896001,-1.016 -2.6924,-1.0668 -4.7243999,-2.9464 -2.032,-1.8796 -3.2004,-4.4704 Q 4.2915344e-8,273.22568 4.2915344e-8,270.12688 q 0,-2.9972 1.168399957084656,-5.5372 1.1684,-2.54 3.2004,-4.3688 2.0319999,-1.8288 4.7243999,-2.8448 2.6924001,-1.016 5.6896001,-1.016 z m 0,2.9464 q -1.524,0 -2.794,0.8128 -1.27,0.762 -2.1844001,2.1844 -0.8636,1.4224 -1.3716,3.4544 -0.4572,1.9812 -0.4572,4.4196 0,2.54 0.4572,4.572 0.508,2.032 1.3716,3.4544 0.9144001,1.4224 2.1336001,2.2352 1.27,0.762 2.8448,0.762 1.5748,0 2.8448,-0.762 1.3208,-0.8128 2.2352,-2.2352 0.9144,-1.4732 1.4224,-3.5052 0.508,-2.032 0.508,-4.5212 0,-2.4384 -0.508,-4.4196 -0.508,-1.9812 -1.4224,-3.4036 -0.9144,-1.4732 -2.2352,-2.2352 -1.27,-0.8128 -2.8448,-0.8128 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4537" /> + <path + d="m 43.086338,272.66688 q 0,1.8796 0.508,3.5052 0.5588,1.5748 1.4732,2.7432 0.9144,1.1684 2.1844,1.8288 1.27,0.6604 2.794,0.6604 3.048,0 4.6228,-2.794 1.5748,-2.794 1.5748,-8.2296 0,-5.2832 -1.5748,-8.0264 -1.524,-2.794 -4.6228,-2.794 -1.8288,0 -3.4036,1.016 -1.524,0.9652 -2.3876,2.7432 -1.1684,2.4384 -1.1684,6.1468 z m -0.1016,-12.2936 h 0.2032 q 1.3208,-1.9304 3.4036,-2.9464 2.0828,-1.0668 4.7244,-1.0668 2.6924,0 4.9784,1.1176 2.3368,1.0668 4.0132,2.9464 1.7272,1.8796 2.6924,4.4196 0.9652,2.54 0.9652,5.4356 0,3.048 -1.0668,5.6388 -1.016,2.54 -2.8448,4.4196 -1.778,1.8796 -4.2164,2.9464 -2.3876,1.0668 -5.08,1.0668 -2.794,0 -5.2832,-1.0668 -2.4384,-1.1176 -3.9116,-2.8956 l -3.8608,3.4036 h -1.7272 v -30.226 q 0,-4.7752 -0.6604,-6.5532 -0.1524,-0.3556 -0.3556,-0.6096 -0.2032,-0.254 -0.6096,-0.4064 -0.3556,-0.2032 -1.016,-0.3048 -0.6604,-0.1524 -1.7272,-0.3048 v -1.7272 l 11.3792,-2.032 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4539" /> + <path + d="m 93.318803,279.06768 q -4.6228,5.2324 -11.5316,5.2324 -3.1496,0 -5.7404,-0.9652 -2.54,-1.016 -4.3688,-2.794 -1.8288,-1.8288 -2.8448,-4.318 -1.016,-2.4892 -1.016,-5.5372 0,-3.1496 1.0668,-5.7404 1.0668,-2.6416 2.9972,-4.5212 1.9812,-1.9304 4.6228,-2.9972 2.6924,-1.0668 5.8928,-1.0668 5.3848,0 8.382,2.8956 2.9972,2.8956 2.9972,8.128 0,0.8128 -0.254,1.016 -0.254,0.1524 -1.4224,0.1524 h -16.3576 q -0.2032,0.4572 -0.2032,1.6764 0,4.9784 2.1336,7.874 2.1844,2.8956 5.8928,2.8956 2.1336,0 4.2164,-0.9652 2.1336,-0.9652 4.1148,-2.7432 z m -9.8552,-13.3604 q 2.032,0 2.5908,-0.2032 0.6096,-0.254 0.6096,-1.1176 0,-2.2352 -1.27,-3.6576 -1.27,-1.4224 -3.2004,-1.4224 -2.1844,0 -3.9116,1.8288 -1.6764,1.778 -2.1844,4.572 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4541" /> + <path + d="m 108.70803,275.51168 q 0,2.0828 0.1016,3.302 0.1524,1.1684 0.5588,1.8288 0.4572,0.6096 1.3208,0.8128 0.9144,0.2032 2.4384,0.3048 v 2.032 H 97.125628 v -2.032 q 1.4732,-0.1016 2.3368,-0.3048 0.914402,-0.2032 1.371602,-0.8128 0.508,-0.6096 0.6604,-1.7272 0.1524,-1.1176 0.1524,-3.048 v -6.35 q 0,-2.9972 -0.1016,-4.826 -0.1016,-1.8796 -0.254,-2.54 -0.1524,-0.6604 -0.4064,-1.0668 -0.254,-0.4572 -0.762,-0.6604 -0.508002,-0.254 -1.270002,-0.3048 -0.762,-0.1016 -1.9304,-0.1016 v -1.7272 l 9.804402,-1.9304 0.6604,4.4704 h 0.2032 q 1.6764,-2.1336 3.9624,-3.302 2.286,-1.1684 5.0292,-1.1684 3.2512,0 5.2324,0.9144 2.032,0.8636 3.6068,2.9464 0.8636,1.1684 1.524,3.048 0.6604,1.8288 0.6604,5.08 v 7.1628 q 0,2.0828 0.1016,3.302 0.1524,1.1684 0.5588,1.8288 0.4572,0.6096 1.3208,0.8128 0.8636,0.2032 2.3368,0.3048 v 2.032 h -15.9004 v -2.032 q 1.524,-0.0508 2.3876,-0.254 0.9144,-0.254 1.3716,-0.8636 0.4572,-0.6096 0.6096,-1.7272 0.1524,-1.1684 0.1524,-3.048 v -6.9088 q 0,-2.5908 -0.3048,-4.3688 -0.3048,-1.778 -1.016,-2.8448 -0.6604,-1.1176 -1.778,-1.5748 -1.1176,-0.508 -2.794,-0.508 -1.6256,0 -2.794,0.9144 -1.1684,0.9144 -2.032,2.54 -0.4572,0.9144 -0.8128,2.3876 -0.3048,1.4224 -0.3048,2.9972 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4543" /> + <path + d="m 159.99381,279.06768 q -4.6228,5.2324 -11.5316,5.2324 -3.1496,0 -5.7404,-0.9652 -2.54,-1.016 -4.3688,-2.794 -1.8288,-1.8288 -2.8448,-4.318 -1.016,-2.4892 -1.016,-5.5372 0,-3.1496 1.0668,-5.7404 1.0668,-2.6416 2.9972,-4.5212 1.9812,-1.9304 4.6228,-2.9972 2.6924,-1.0668 5.8928,-1.0668 5.3848,0 8.382,2.8956 2.9972,2.8956 2.9972,8.128 0,0.8128 -0.254,1.016 -0.254,0.1524 -1.4224,0.1524 h -16.3576 q -0.2032,0.4572 -0.2032,1.6764 0,4.9784 2.1336,7.874 2.1844,2.8956 5.8928,2.8956 2.1336,0 4.2164,-0.9652 2.1336,-0.9652 4.1148,-2.7432 z m -9.8552,-13.3604 q 2.032,0 2.5908,-0.2032 0.6096,-0.254 0.6096,-1.1176 0,-2.2352 -1.27,-3.6576 -1.27,-1.4224 -3.2004,-1.4224 -2.1844,0 -3.9116,1.8288 -1.6764,1.778 -2.1844,4.572 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4545" /> + <path + d="m 186.76223,280.54088 h -0.2032 q -3.5052,3.7592 -9.0932,3.7592 -2.8956,0 -5.334,-1.016 -2.3876,-1.016 -4.1656,-2.8448 -1.7272,-1.8288 -2.6924,-4.318 -0.9652,-2.54 -0.9652,-5.588 0,-3.048 0.9652,-5.6388 1.016,-2.5908 2.6924,-4.4704 1.7272,-1.9304 4.064,-2.9972 2.3876,-1.0668 5.1308,-1.0668 2.54,0 4.4704,0.762 1.9812,0.762 3.4544,2.5908 h 0.2032 v -4.318 q 0,-2.9972 -0.1016,-5.1308 -0.0508,-2.1844 -0.2032,-2.8448 -0.254,-1.0668 -1.5748,-1.524 -1.27,-0.508 -3.9624,-0.508 v -1.7272 l 12.8524,-2.032 v 29.0576 q 0,3.81 0.0508,5.8928 0.1016,2.032 0.3048,3.0988 0.1016,0.6604 0.3048,1.0668 0.2032,0.4064 0.6096,0.6604 0.4064,0.2032 1.0668,0.3048 0.7112,0.0508 1.778,0.0508 v 1.9812 l -9.652,0.5588 z m -1.5748,-11.3284 q 0,-1.9304 -0.4064,-3.556 -0.4064,-1.6764 -1.2192,-2.9464 -0.9144,-1.4732 -2.3368,-2.2352 -1.4224,-0.762 -3.048,-0.762 -2.9972,0 -4.572,2.7432 -1.5748,2.7432 -1.5748,7.9756 0,5.2832 1.5748,8.128 1.5748,2.8448 4.5212,2.8448 1.6764,0 3.2004,-0.8636 1.524,-0.8636 2.4892,-2.3368 0.7112,-1.1176 1.016,-2.7432 0.3556,-1.6764 0.3556,-4.2672 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4547" /> + <path + d="m 210.60569,275.46088 q 0,2.032 0.1524,3.2512 0.1524,1.2192 0.6096,1.8796 0.4572,0.6604 1.3208,0.9144 0.8636,0.2032 2.3368,0.254 v 2.032 h -16.002 v -2.032 q 1.4224,-0.0508 2.286,-0.3048 0.9144,-0.3048 1.3716,-0.9144 0.508,-0.6604 0.6604,-1.778 0.2032,-1.1684 0.2032,-2.9464 v -6.2484 q 0,-2.9464 -0.1016,-4.826 -0.1016,-1.9304 -0.254,-2.6416 -0.254,-1.27 -1.1684,-1.6764 -0.8636,-0.4064 -3.2004,-0.4064 v -1.7272 l 11.7856,-1.9304 z m -7.4676,-29.8704 q 0,-1.6764 1.1176,-2.794 1.1684,-1.1684 2.794,-1.1684 1.6764,0 2.794,1.1684 1.1684,1.1176 1.1684,2.794 0,1.6256 -1.1684,2.794 -1.1176,1.1176 -2.794,1.1176 -1.6256,0 -2.794,-1.1176 -1.1176,-1.1684 -1.1176,-2.794 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4549" /> + <path + d="m 217.17556,259.66208 v -2.286 q 3.048,-0.8636 5.08,-2.5908 2.0828,-1.778 3.0988,-4.064 h 2.5908 v 6.1468 h 5.842 v 2.794 h -5.842 v 15.5956 q 0,3.1496 0.6604,4.4704 0.7112,1.3208 2.3368,1.3208 1.9812,0 2.9972,-1.8288 l 1.0668,1.4732 q -1.4224,3.6068 -6.7056,3.6068 -3.5052,0 -5.4864,-1.6256 -1.9304,-1.6256 -1.9304,-4.572 v -18.4404 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4551" /> + <path + d="m 252.01482,256.36008 q 3.048,0 5.7404,1.0668 2.7432,1.016 4.7752,2.8448 2.0828,1.8288 3.2512,4.3688 1.2192,2.4892 1.2192,5.4864 0,3.0988 -1.2192,5.6896 -1.1684,2.5908 -3.2512,4.4704 -2.032,1.8796 -4.7752,2.9464 -2.6924,1.0668 -5.7404,1.0668 -2.99719,0 -5.68959,-1.016 -2.6924,-1.0668 -4.7244,-2.9464 -2.032,-1.8796 -3.2004,-4.4704 -1.1684,-2.6416 -1.1684,-5.7404 0,-2.9972 1.1684,-5.5372 1.1684,-2.54 3.2004,-4.3688 2.032,-1.8288 4.7244,-2.8448 2.6924,-1.016 5.68959,-1.016 z m 0,2.9464 q -1.524,0 -2.79399,0.8128 -1.27,0.762 -2.1844,2.1844 -0.8636,1.4224 -1.3716,3.4544 -0.4572,1.9812 -0.4572,4.4196 0,2.54 0.4572,4.572 0.508,2.032 1.3716,3.4544 0.9144,1.4224 2.1336,2.2352 1.26999,0.762 2.84479,0.762 1.5748,0 2.8448,-0.762 1.3208,-0.8128 2.2352,-2.2352 0.9144,-1.4732 1.4224,-3.5052 0.508,-2.032 0.508,-4.5212 0,-2.4384 -0.508,-4.4196 -0.508,-1.9812 -1.4224,-3.4036 -0.9144,-1.4732 -2.2352,-2.2352 -1.27,-0.8128 -2.8448,-0.8128 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4553" /> + <path + d="m 271.63157,280.54088 q 0,-1.6256 1.0668,-2.7432 1.1176,-1.1684 2.7432,-1.1684 1.6764,0 2.794,1.1684 1.1176,1.1176 1.1176,2.7432 0,1.5748 -1.1176,2.6924 -1.1176,1.0668 -2.794,1.0668 -1.6256,0 -2.7432,-1.0668 -1.0668,-1.1176 -1.0668,-2.6924 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4555" /> + <path + d="m 298.74685,256.36008 q 3.048,0 5.7404,1.0668 2.7432,1.016 4.7752,2.8448 2.0828,1.8288 3.2512,4.3688 1.2192,2.4892 1.2192,5.4864 0,3.0988 -1.2192,5.6896 -1.1684,2.5908 -3.2512,4.4704 -2.032,1.8796 -4.7752,2.9464 -2.6924,1.0668 -5.7404,1.0668 -2.9972,0 -5.6896,-1.016 -2.6924,-1.0668 -4.7244,-2.9464 -2.032,-1.8796 -3.2004,-4.4704 -1.1684,-2.6416 -1.1684,-5.7404 0,-2.9972 1.1684,-5.5372 1.1684,-2.54 3.2004,-4.3688 2.032,-1.8288 4.7244,-2.8448 2.6924,-1.016 5.6896,-1.016 z m 0,2.9464 q -1.524,0 -2.794,0.8128 -1.27,0.762 -2.1844,2.1844 -0.8636,1.4224 -1.3716,3.4544 -0.4572,1.9812 -0.4572,4.4196 0,2.54 0.4572,4.572 0.508,2.032 1.3716,3.4544 0.9144,1.4224 2.1336,2.2352 1.27,0.762 2.8448,0.762 1.5748,0 2.8448,-0.762 1.3208,-0.8128 2.2352,-2.2352 0.9144,-1.4732 1.4224,-3.5052 0.508,-2.032 0.508,-4.5212 0,-2.4384 -0.508,-4.4196 -0.508,-1.9812 -1.4224,-3.4036 -0.9144,-1.4732 -2.2352,-2.2352 -1.27,-0.8128 -2.8448,-0.8128 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4557" /> + <path + d="m 328.7268,275.91808 q 0,1.9812 0.1524,3.1496 0.2032,1.1176 0.762,1.7272 0.5588,0.6096 1.6256,0.8128 1.0668,0.1524 2.8448,0.1524 v 2.032 h -16.9672 v -2.032 q 1.524,-0.1016 2.4384,-0.3048 0.9144,-0.2032 1.3716,-0.8128 0.4572,-0.6096 0.5588,-1.7272 0.1524,-1.1684 0.1524,-3.0988 v -6.1976 q 0,-3.1496 -0.1524,-5.0292 -0.1524,-1.8796 -0.6604,-2.8956 -0.508,-1.016 -1.4732,-1.3208 -0.9144,-0.3556 -2.4384,-0.3556 v -1.778 l 10.16,-1.8796 0.8128,5.842 h 0.2032 q 1.3716,-2.6924 3.6068,-4.2672 2.2352,-1.5748 4.7244,-1.5748 1.9304,0 3.1496,0.9652 1.2192,0.9652 1.2192,2.4384 0,1.6256 -0.9652,2.7432 -0.9144,1.1176 -2.54,1.1176 -0.762,0 -1.3716,-0.3048 -0.6096,-0.3048 -1.1176,-0.6604 -0.4572,-0.4064 -0.9652,-0.7112 -0.4572,-0.3556 -0.9652,-0.3556 -0.9652,0 -1.8288,1.27 -0.8636,1.27 -1.4224,3.4036 -0.4064,1.524 -0.6604,3.4544 -0.254,1.8796 -0.254,3.7592 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4559" /> + <path + d="m 352.50358,278.30568 q 1.3716,0.1016 2.3876,0.2032 1.0668,0.1016 1.9812,0.254 0.9652,0.1016 1.8796,0.254 0.9652,0.1016 2.032,0.254 3.9624,0.5588 6.1976,2.9972 2.286,2.3876 2.286,5.9436 0,4.318 -3.556,6.5532 -3.556,2.2352 -10.4648,2.2352 -6.35,0 -9.8044,-1.8796 -3.4036,-1.8288 -3.4036,-5.2324 0,-2.6416 1.3716,-4.0132 1.3716,-1.3208 3.4544,-1.3208 1.3208,0 2.54,0.508 1.27,0.5588 2.1336,1.5748 -1.3208,0.254 -2.1844,1.1684 -0.8128,0.9652 -0.8128,2.2352 0,2.032 1.778,3.0988 1.8288,1.1176 5.334,1.1176 7.62,0 7.62,-4.826 0,-1.7272 -1.1684,-2.9972 -1.1176,-1.2192 -3.2512,-1.4732 l -8.89,-1.2192 q -5.6388,-0.762 -5.6388,-5.0292 0,-2.0828 1.3208,-3.4036 1.3716,-1.3208 3.8608,-1.8288 v -0.2032 q -1.1684,-0.4572 -2.1336,-1.27 -0.9144,-0.8128 -1.6256,-1.8796 -0.7112,-1.0668 -1.1176,-2.286 -0.3556,-1.27 -0.3556,-2.5908 0,-1.8796 0.762,-3.5052 0.8128,-1.6764 2.1844,-2.8448 1.4224,-1.1684 3.302,-1.8288 1.9304,-0.7112 4.1656,-0.7112 2.1844,0 4.2672,0.6604 2.0828,0.6604 3.556,1.8288 1.1684,-0.7112 2.032,-1.1684 0.8636,-0.508 1.5748,-0.762 0.762,-0.3048 1.3716,-0.4064 0.6096,-0.1524 1.2192,-0.1524 1.9304,0 3.0988,0.8636 1.2192,0.8636 1.2192,2.286 0,1.0668 -0.6604,1.778 -0.6604,0.6604 -1.7272,0.6604 -0.762,0 -1.2192,-0.3048 -0.4572,-0.3556 -0.9144,-0.762 -0.4064,-0.4572 -0.8636,-0.762 -0.4572,-0.3556 -1.2192,-0.3556 -1.0668,0 -2.032,1.3716 0.508,0.8636 0.7112,1.8796 0.2032,0.9652 0.2032,2.286 0,1.9304 -0.6096,3.556 -0.6096,1.6256 -1.9304,2.8956 -1.27,1.2192 -3.302,2.0828 -2.032,0.8636 -4.9276,1.1684 -2.4384,0.254 -3.4036,0.6604 -0.9144,0.4064 -0.9144,1.2192 0,1.2192 2.286,1.4224 z m 2.4384,-6.1976 q 1.6256,0 2.54,-1.7272 0.9144,-1.7272 0.9144,-4.826 0,-3.1496 -0.9144,-4.826 -0.9144,-1.7272 -2.5908,-1.7272 -1.7272,0 -2.7432,1.7272 -1.016,1.7272 -1.016,4.7244 0,3.048 1.016,4.8768 1.0668,1.778 2.794,1.778 z" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50.79999924px;font-family:'Libre Baskerville';-inkscape-font-specification:'Libre Baskerville Bold';stroke-width:0.26458332;fill:#e0e0e0;fill-opacity:1" + id="path4561" /> + </g> + </g> +</svg> diff --git a/static/js/navbar-hamburger.min.js b/static/js/navbar-hamburger.min.js @@ -1 +0,0 @@ -document.addEventListener('DOMContentLoaded',()=>{const $navbarBurgers=Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'),0);if($navbarBurgers.length>0){$navbarBurgers.forEach(el=>{el.addEventListener('click',()=>{const target=el.dataset.target;const $target=document.getElementById(target);el.classList.toggle('is-active');$target.classList.toggle('is-active');});});}});