diff --git a/themes/swr/assets/css/style.scss b/themes/swr/assets/css/style.scss index 6cd0e57..2fcacb4 100644 --- a/themes/swr/assets/css/style.scss +++ b/themes/swr/assets/css/style.scss @@ -28,7 +28,6 @@ body { } aside { - margin-right: 2em; border: 1px solid; border-radius: 3mm; padding: 16px; @@ -66,6 +65,17 @@ aside { margin: 0; } +#nav-wrapper { + display: flex; + align-items: center; + flex-direction: column; + margin-right: 2em; +} + +#social-widescreen { + margin-top: 10px; +} + .menu-item { margin-block-start: 1em; margin-block-end: 1em; @@ -128,23 +138,34 @@ article { text-shadow: 0px 0px 18px white; } +#social-mobile { + display: none; + visibility: hidden; +} + @media only screen and (max-width: 768px) { #wrapper { flex-direction: column; align-items: center; width: 85vw; + padding-bottom: 0; } aside { width: 100%; margin: 0; display: flex; - margin-bottom: 16px; flex-direction: column; align-items: center; align-self: unset; } + #nav-wrapper { + margin: 0; + width: 100%; + margin-bottom: 16px; + } + #content{ // max-width: 100%; width: 100%; @@ -174,4 +195,16 @@ article { display: flex; justify-content: center; } + + #social-widescreen { + display: none; + visibility: hidden; + } + + #social-mobile { + display: block; + visibility: visible; + margin-top: 10px; + // margin-bottom: 7px; + } } \ No newline at end of file diff --git a/themes/swr/layouts/_default/baseof.html b/themes/swr/layouts/_default/baseof.html index 837d051..c44b119 100644 --- a/themes/swr/layouts/_default/baseof.html +++ b/themes/swr/layouts/_default/baseof.html @@ -5,7 +5,13 @@
{{- partial "header.html" . -}}
- {{- partial "nav.html" . -}} +
{{- block "main" . }}{{- end }}
@@ -18,6 +24,10 @@ iframe.addEventListener('load', () => iframe.removeAttribute('srcdoc'));
+
+ + +
{{- partial "footer.html" . -}} diff --git a/themes/swr/layouts/partials/footer.html b/themes/swr/layouts/partials/footer.html index 13ae858..e69de29 100644 --- a/themes/swr/layouts/partials/footer.html +++ b/themes/swr/layouts/partials/footer.html @@ -1,4 +0,0 @@ -
- - -