From b4e55e9fe7999d0ce8fbee67c188e1b8fbcf13aa Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 6 Aug 2020 00:38:38 +0200 Subject: [PATCH] logo a sx --- themes/maya0x17/static/ruotalogo.js | 2 +- themes/maya0x17/static/theme.scss | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/themes/maya0x17/static/ruotalogo.js b/themes/maya0x17/static/ruotalogo.js index 3e447f5..1e0d3e7 100644 --- a/themes/maya0x17/static/ruotalogo.js +++ b/themes/maya0x17/static/ruotalogo.js @@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', function() { var logo = document.getElementById('logo-img') logo.classList.add('rotate') function ruotaLogo() { - logo.style.transform = 'rotate(' + window.pageYOffset/2+'deg)' + logo.style.transform = 'rotate(' + -window.pageYOffset/2+'deg)' } function scrollSetup() { "use strict"; diff --git a/themes/maya0x17/static/theme.scss b/themes/maya0x17/static/theme.scss index 353e8a0..e3123b0 100644 --- a/themes/maya0x17/static/theme.scss +++ b/themes/maya0x17/static/theme.scss @@ -60,16 +60,6 @@ $c-links: $c-titles; -#all-wrapper { - h1,h2,h3,strong,b { color: $c-titles; } - h4,h5,h6 { - color: $c-smalltitles; - } - h1,h2,h3 { - font-family: 'Caesar Dressing', Helvetica, cursive; - } - strong { font-weight: 800; } -} body { margin-top: 3rem; background-color: $c-bg; @@ -85,6 +75,14 @@ h1 > (a, a:focus, a:active) { color: $c-titles; } padding-left: 2vw; max-width: 50em; margin: auto; + h1,h2,h3,strong,b { color: $c-titles; } + h4,h5,h6 { + color: $c-smalltitles; + } + h1,h2,h3 { + font-family: 'Caesar Dressing', Helvetica, cursive; + } + strong { font-weight: 800; } } #menu-row { display: none; @@ -108,7 +106,7 @@ h1 > (a, a:focus, a:active) { color: $c-titles; } #logo-div { position: fixed; top: 5vw; - right: -6.5vw; + left: -6.5vw; border-radius: 50%; box-shadow: 0px 0 1.3vw black;