diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-06-09 15:24:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 15:24:57 +0200 |
commit | 37a14352aa9f861e2713c821c639f4adb7a2dd82 (patch) | |
tree | 73f07fab755bc07d525c9d337ae2f15e889551fb /_layouts/default.html | |
parent | Rainbow flag (#234) (diff) | |
download | hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar.gz hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar.bz2 hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar.lz hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar.xz hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.tar.zst hack-gpon.github.io-37a14352aa9f861e2713c821c639f4adb7a2dd82.zip |
Diffstat (limited to '_layouts/default.html')
-rw-r--r-- | _layouts/default.html | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 1d2837d..2c060d6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,6 +7,16 @@ layout: table_wrappers <html lang="{{ site.lang | default: 'en-US' }}"> {% include head.html %} <body> + {% if site.enable_rainbow == true %} + <style> + .rainbow-button { + font-size: 150%; + } + .rainbow-button:hover { + background-image: none; + } + </style> + {% endif %} <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <symbol id="svg-link" viewBox="0 0 24 24"> @@ -46,17 +56,16 @@ layout: table_wrappers {% include icons/switch_color_scheme.html %} {% endif %} {% include icons/custom.html %} - <style> - .main-header, .site-header { - border-bottom: 1px solid #eeebee; - border-image: linear-gradient(90deg, white 0 7.69%, #ffa6b9 0 15.38%, #00d2ff 0 23.07%, #753000 0 30.76%, black 0 38.45%, #0000 0 46.14%, red 0 53.83%, orange 0 61.52%, yellow 0 76.9%, green 0 84.59%, blue 0 92.28%, indigo 0 100%) 10; - } - </style> </svg> <div class="side-bar"> <div class="site-header"> <a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a> + {% if site.enable_rainbow == true %} + <a class="site-button rainbow-button" href="#"> + 🏳️🌈 + </a> + {% endif %} <a href="#" id="menu-button" class="site-button"> <svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-menu"></use></svg> </a> @@ -122,6 +131,13 @@ layout: table_wrappers </a> </li> {% endfor %} + {% if site.enable_rainbow == true %} + <li class="aux-nav-list-item"> + <a class="site-button rainbow-button" href="#"> + 🏳️🌈 + </a> + </li> + {% endif %} {% if site.enable_switch_color_scheme == true %} <li class="aux-nav-list-item"> <button class="site-button color-scheme-switch-theme-button"> |