diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-03-07 21:55:16 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-03-07 21:55:16 -0600 |
commit | bd86f4fc950cdc5bb4cb346f48c14a6e356dc4fb (patch) | |
tree | c1cebd6a0b48c38e2100d8e4fe9745fd7f585bd5 /live/static/css | |
parent | ca9c5626495c00f6d6cffd4ae517a66db15b0832 (diff) |
stop tracking live/
Diffstat (limited to 'live/static/css')
-rw-r--r-- | live/static/css/gb.css | 26 | ||||
-rw-r--r-- | live/static/css/style.css | 455 | ||||
-rw-r--r-- | live/static/css/theme.css | 287 |
3 files changed, 0 insertions, 768 deletions
diff --git a/live/static/css/gb.css b/live/static/css/gb.css deleted file mode 100644 index 8152469..0000000 --- a/live/static/css/gb.css +++ /dev/null @@ -1,26 +0,0 @@ -main { - text-align: center; -} - -div.gameboy { - display: inline-block; - background-color: #a89f94; - border-radius: 10px; - padding: 1em; - width: clamp(30ch, 100%, 45ch); -} - -div.gameboy img.screen { - border: 10px solid #2b2b26; - border-radius: 10px; - width: 100%; -} - -div.gameboy table.controls { - margin-left: auto; - margin-right: auto; -} - -div.gameboy table.controls input{ - width: 100%; -} diff --git a/live/static/css/style.css b/live/static/css/style.css deleted file mode 100644 index c7105a6..0000000 --- a/live/static/css/style.css +++ /dev/null @@ -1,455 +0,0 @@ -:root { - font-family: Verdana, Geneva, sans-serif; - font-size: larger; -} - -* { - box-sizing: border-box; - transition: all 0.25s ease-in-out; -} - -h1, -h2 { - text-align: center; -} - -h1 a.headerlink, -h2 a.headerlink, -h3 a.headerlink, -h4 a.headerlink, -h5 a.headerlink, -h5 a.headerlink { - display: none; - padding-left: 0.3em; -} - -h1:hover a.headerlink, -h2:hover a.headerlink, -h3:hover a.headerlink, -h4:hover a.headerlink, -h5:hover a.headerlink, -h6:hover a.headerlink{ - display: inline; -} - -div.return-top { - position: fixed; - bottom: 1em; - right: 1em; -} - -button.return-top { - display: none; - border: none; - font: inherit; - cursor: pointer; - position: relative; - border-radius: 5px; - min-width: 1em; - padding-top: 0.2em; - padding-bottom: 0.2em; - padding-left: 0.4em; - padding-right: 0.4em; -} - -/* page lists */ - -ul.page-list { - list-style-type: none; - padding-left: 0.5em; -} - -ul.page-list h3 { - padding-left: 1em; -} - -ul.page-list span.page-list-item { - display: inline-block; - min-width: 4em; -} - -body, -html { - margin: 0; - padding: 0; -} - -body { - width: 100%; - display: grid; - - grid-template-areas: - 'header' - 'main' - 'footer'; - grid-template-rows: 3em auto auto; - grid-template-columns: auto; -} - -body > header { - grid-area: header; -} - -body > footer { - grid-area: footer; - padding-top: 0.5em; - padding-bottom: 0.5em; -} - -main { - grid-area: main; - padding-top: 0.5em; - border-radius: 5px; - padding-bottom: 0.5em; -} - -a{ - text-decoration: none; -} - -mark, -mark * { - background: none; - animation: mark-rainbow 2s linear infinite; -} - -body > header, -body > footer, -main { - justify-self: center; - width: clamp(30ch, calc(100% - 1em), 75ch); - padding-left: 0.5em; - padding-right: 0.5em; -} - -main.art { - width: clamp(30ch, calc(100% - 1em), 100%); -} - -main.art p { - margin-left: auto; - margin-right: auto; - width: clamp(30ch, calc(100% - 1em), 75ch); -} - -/* TOC */ - -div.toc { - border-radius: 5px; - overflow-wrap: anywhere; -} - -/* article/art elements */ -div.article-info, -div.art-info { - line-height: 0.5; - font-size: smaller; -} - - -/* nav bar / header */ -body > header { - display: flex; - justify-content: space-between; - align-items: center; - align-content: center; -} - -nav ul { - margin: 0; - padding: 0; - list-style-type: none; -} - -nav li { - display: block; - float: left; - border-radius: 5px; - min-width: 1em; - max-width: 10em; - padding-top: 0.2em; - padding-bottom: 0.2em; - padding-left: 0.4em; - padding-right: 0.4em; - margin-left: 0.2em; - margin-right: 0.2em; -} - -nav > ul > li > ul { - visibility: hidden; - position: absolute; - padding-top: 0.2em; - padding-bottom: 0.2em; -} - -nav > ul > li:hover > ul { - visibility: visible; -} - -nav > ul > li > ul > li { - float: none; - margin-top: 0.4em; -} - -nav span { - display: none; -} - -@media screen and (min-width: 600px) { - nav span { - display: inline; - padding-left: 0.4em; - } -} - - -/* footer */ -body > footer { - margin-left: auto; - margin-right: auto; - text-align: center; -} - -body > footer > span { - font-size: smaller; -} - - -/* theme swticher */ -button.theme-switcher { - border: none; - font: inherit; - cursor: pointer; - position: relative; - border-radius: 5px; - padding-top: 0.2em; - padding-bottom: 0.2em; - padding-left: 0; - padding-right: 0; - margin-left: 0.2em; - margin-right: 0.2em; -} - -button.theme-switcher > .fa-sun { - transform: translate(-0.5em, -1em); -} - -.theme-light button.theme-switcher > .fa-sun { - transform: translateX(-0.5em); - transition: all 0.25s ease-in-out; -} - -button.theme-switcher > .fa-moon { - transform: translate(0.5em, -1em); -} - -.theme-dark button.theme-switcher > .fa-moon { - transform: translateX(0.5em); - transition: all 0.25s ease-in-out; -} - -/* code blocks */ -pre { - white-space: pre-wrap; -} - -code { - padding: 0.1em; - padding-left: 0.4em; - padding-right: 0.4em; - overflow-wrap: anywhere; -} - -code.crypto { - font-size: smaller; -} - -/* for hljs line numbers */ -.hljs-ln-numbers { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - text-align: right; - border-right: 1px solid #CCC; - vertical-align: top; - padding-right: 0.5em !important; -} - -.hljs-ln-code { - padding-left: 0.5em !important; -} - - -/* images */ -figure { - margin: 0; - margin-left: 1em; - margin-right: 1em; -} - -figcaption { - margin-top: 0.5em; - text-align: center; - font-size: smaller; - font-style: italic; -} - -img { - border-radius: 5px; - max-width: 100%; - display: block; - margin-left: auto; - margin-right: auto; -} - -img.wrap-right { - float: right; -} - -img.wrap-left { - float: left; -} - -/* img grid */ -div.img-grid, -div.img-grid > p { - display: grid; - gap: 1em; - grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); -} - -div.img-grid img { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - overflow: hidden; -} - -/* crypto grid */ -div.crypto-grid { - display: grid; - gap: 1em; - /* the 200px corresponds tothe img qr size */ - grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); -} - -div.crypto-grid figure { - margin: 0; -} - -div.crypto-grid a { - display: contents; -} - -div.crypto-grid img.qr { - max-width: 140px; -} - -/* art grid / art gallery */ -div.art-grid { - display: grid; - gap: 0.5em; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); - grid-auto-rows: auto; -} - -div.art-grid a { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - overflow: hidden; -} - -div.art-grid a { - display: contents; -} - -div.art-grid img { - object-fit: cover; - width: 100%; - height: 100%; -} - -/* not sure if these two are needed as the one above works fine */ -div.art-grid a.wide img { - width: 100%; -} - -div.art-grid a.tall img { - height: 100%; -} - -@media screen and (min-width: 600px) { - div.art-grid a.wide img { - grid-column: span 2 / auto; - } - - div.art-grid a.tall img { - grid-row: span 2 / auto; - } -} - -a.zoom-in { - cursor: zoom-in; -} - -/* art nav / for now also page nav */ -div.art-nav, -div.page-nav { - width: 100%; - display: grid; - grid-template-areas: - 'next index prev'; - grid-template-columns: 1fr 1fr 1fr; - - align-items: center; - justify-items: center; -} - -div.art-nav > span.index, -div.page-nav > span.index { - grid-area: index; -} - -div.art-nav > span.previous, -div.page-nav > span.previous { - grid-area: prev; -} - -div.art-nav > span.next, -div.page-nav > span.next { - grid-area: next; -} - -div.art-nav > span, -div.page-nav > span { - border-radius: 5px; - min-width: 1em; - max-width: 10em; - padding-top: 0.2em; - padding-bottom: 0.2em; - padding-left: 0.4em; - padding-right: 0.4em; - margin-left: 0.2em; - margin-right: 0.2em - - ; -} - -div.art-nav > span span, -div.page-nav > span span { - display: none; -} - -@media screen and (min-width: 600px) { - div.art-nav > span span, - div.page-nav > span span { - display: inline; - } -} diff --git a/live/static/css/theme.css b/live/static/css/theme.css deleted file mode 100644 index fabfd61..0000000 --- a/live/static/css/theme.css +++ /dev/null @@ -1,287 +0,0 @@ -/* nord theme */ -:root { - --color0: #2e3440; - --color1: #3b4252; - --color2: #434c5e; - --color3: #4c566a; - --color4: #d8dee9; - --color5: #e5e9f0; - --color6: #eceff4; - --color7: #8fbcbb; - --color8: #88c0d0; - --color9: #81a1c1; - --color10: #5e81ac; - --color11: #bf616a; - --color12: #d08770; - --color13: #ebcb8b; - --color14: #a3be8c; - --color15: #b48ead; -} - -.theme-light { - --bg: var(--color5); - --body-bg: var(--color4); - --navitem-bg: var(--color10); - --navitem-bg-hl: var(--color9); - - --fg: var(--color0); - --fg-hl: var(--color3); - - --link: var(--color15); - --link-hl: var(--color7); - --navitem-link: var(--color7); - --navitem-link-hl: var(--color6); - - --fg-acc1: var(--color11); - --fg-acc2: var(--color12); - --fg-acc3: var(--color13); - --fg-acc4: var(--color14); - --fg-acc5: var(--color15); - - --switch-bg: var(--color9); - --switch-bg-hl: var(--color10); - --switch-moon: var(--color10); - --switch-sun: var(--color13); - - --code-border: var(--color3); - --art-border: var(--color3); - - --pagenav-bg: var(--color5); - --pagenav-bg-hl: var(--color2); - --pagenav-link: var(--color8); - --pagenav-link-hl: var(--color7); -} - -.theme-dark { - --bg: var(--color3); - --body-bg: var(--color0); - --navitem-bg: var(--color1); - --navitem-bg-hl: var(--color2); - - --fg: var(--color4); - --fg-hl: var(--color5); - - --link: var(--color15); - --link-hl: var(--color10); - --navitem-link: var(--color8); - --navitem-link-hl: var(--color7); - - --fg-acc1: var(--color11); - --fg-acc2: var(--color12); - --fg-acc3: var(--color13); - --fg-acc4: var(--color14); - --fg-acc5: var(--color15); - - --switch-bg: var(--color1); - --switch-bg-hl: var(--color2); - --switch-moon: var(--color10); - --switch-sun: var(--color13); - - --code-border: var(--color4); - --art-border: var(--color4); - - --pagenav-bg: var(--color3); - --pagenav-bg-hl: var(--color9); - --pagenav-link: var(--color7); - --pagenav-link-hl: var(--color6); -} - -/* animations */ -@keyframes mark-rainbow { - 0%{ - color: var(--color11); - } - 20%{ - color: var(--color12); - } - 40%{ - color: var(--color13); - } - 60%{ - color: var(--color14); - } - 80%{ - color: var(--color15); - } - 100%{ - color: var(--color11); - } -} - -/* general */ -a { - color: var(--link); -} - -a:hover { - color: var(--link-hl); -} - -h1 { - color: var(--fg-acc1); -} - -h2 { - color: var(--fg-acc2); -} - -h3 { - color: var(--fg-acc3); -} - -h4 { - color: var(--fg-acc4); -} - -h5 { - color: var(--fg-acc5); -} - -a.headerlink { - color: var(--fg-acc2); -} - -a.headerlink:hover { - color: var(--fg-acc1); -} - -button.return-top { - background-color: var(--navitem-bg); - color: var(--navitem-link); -} - -button.return-top:hover { - background-color: var(--navitem-bg-hl); - color: var(--navitem-link-hl); -} - -ul.page-list span.page-list-item { - color: var(--fg-acc1) -} - -ul.page-list a { - color: var(--fg-acc4) -} - -ul.page-list a:hover { - color: var(--fg-acc1) -} -body { - background: var(--bg); - color: var(--fg); -} - -main { - background: var(--body-bg); -} - -pre, code { - border-radius: 5px; - border: 1px solid var(--code-border); -} - -/* TOC */ - -div.toc { - border: 1px solid var(--code-border); - background-color: var(--bg); -} - -div.toc a { - color: var(--fg-acc2) -} - -div.toc a:hover { - color: var(--fg-acc1) -} - -/* nav bar */ -body > header { - background: var(--bg); -} - -nav li { - background: var(--navitem-bg); -} - -nav a { - color: var(--navitem-link); -} - -nav li:hover { - background: var(--navitem-bg-hl); - color: var(--fg-hl); -} - -nav li:hover > a { - color: var(--navitem-link-hl); -} - - -/* footer */ -body > footer { - background: var(--bg); -} - - -/* image gallery (not really being used rn) */ -div.gallery { - border: 1px solid var(--fg-hl); -} - -div.gallery:hover { - border: var(--fg-acc5); -} - - -/* switch */ -button.theme-switcher { - background-color: var(--switch-bg); -} - -button.theme-switcher:hover { - background-color: var(--switch-bg-hl); -} - -button.theme-switcher > .fa-moon, -button.theme-switcher > .fa-sun { - color: transparent; -} - -.theme-dark button.theme-switcher > .fa-moon { - color: var(--switch-moon); -} - -.theme-light button.theme-switcher > .fa-sun { - color: var(--switch-sun); -} - -/* art grid / art gallery */ -div.art-grid img { - border: 1px solid var(--art-border); -} - -div.art-grid img:hover { - border: 5px solid var(--art-border); -} - -/* art nav / for now also page nav */ -div.art-nav > span, -div.page-nav > span { - background: var(--pagenav-bg); -} - -div.art-nav > span > a, -div.page-nav > span > a { - color: var(--pagenav-link); -} - -div.art-nav > span:hover, -div.page-nav > span:hover { - background: var(--pagenav-bg-hl); -} - -div.art-nav > span:hover > a, -div.page-nav > span:hover > a { - color: var(--pagenav-link-hl); -} |