X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=sass%2Fjuplo.scss;h=d71f28949ce40832c16845a78f882af3a61f2155;hb=060df740d69ca450024f74514d7817e3bb14d5d9;hp=3a38c5f9fa80038d87ae7576c0c63a956b34d9e3;hpb=b19975ae32c2f78e1d5f64ef43c303c3b2870e9f;p=website diff --git a/sass/juplo.scss b/sass/juplo.scss index 3a38c5f9..d71f2894 100644 --- a/sass/juplo.scss +++ b/sass/juplo.scss @@ -26,4 +26,96 @@ $primary-invert: $pink-invert; // 4. Import the rest of Bulma */ +$primary: #0ACF00; +$button-text-color: #FFF !important; +$button-border-color: #000 !important; +$button-hover-border-color: #000 !important; + @import "../node_modules/bulma/bulma"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/fontawesome"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/regular"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/solid"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/brands"; + +.navbar-item > .logo +{ + max-height: none; +} + + +// Navigation + +#navigation li.s.off +{ + display: none; +} +#navigation li.s > a.selected, +#navigation li.s > a.leaf, +#navigation li.s > strong.selected, +#navigation li.s > strong.leaf +{ + @extend .button; + @extend .is-primary; + @extend .is-rounded; + @extend .has-text-weight-bold; + @extend .mb-3; +} +#navigation li.s > a.leaf, +#navigation li.s > strong.leaf +{ + color: #ccc; + background-color: #fff; +} +#navigation li.s > a.selected:after, +#navigation li.s > a.leaf:after, +#navigation li.s > strong.selected:after, +#navigation li.s > strong.leaf:after +{ + content: "\f0a8"; + padding-left: .5em; + margin-right: -.5em; + font-family: 'Font Awesome 5 Free'; + font-weight: 900; + font-size: 2em; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; +} +#navigation li.s > a.leaf:after, +#navigation li.s > strong.leaf:after +{ + color: #fff; +} +#navigation li.s.sub > a.selected:after, +#navigation li.s.sub > a.selected:after, +#navigation li.s.sub > strong.leaf:after, +#navigation li.s.sub > strong.leaf:after +{ + content: "\f0ab"; +} + + +html +{ + height: 100%; +} +body +{ + height: 100%; + overflow-y: scroll; +} +#page +{ + position: relative; + min-height: 100%; +} +footer +{ + position: relative; + left: 0; + right: 0; + bottom: 1em; +}