Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/layout')
-rw-r--r--assets/sass/layout/_footer.scss3
-rw-r--r--assets/sass/layout/_navbar.scss17
2 files changed, 15 insertions, 5 deletions
diff --git a/assets/sass/layout/_footer.scss b/assets/sass/layout/_footer.scss
index 72b00b5..d1a5d04 100644
--- a/assets/sass/layout/_footer.scss
+++ b/assets/sass/layout/_footer.scss
@@ -19,6 +19,9 @@
&--wrapper {
@include flexbox();
+ @media only screen and (max-width: 600px) {
+ @include flex-direction(column);
+ }
}
&--title {
diff --git a/assets/sass/layout/_navbar.scss b/assets/sass/layout/_navbar.scss
index 3d54756..4a424bb 100644
--- a/assets/sass/layout/_navbar.scss
+++ b/assets/sass/layout/_navbar.scss
@@ -17,15 +17,22 @@
right: 0;
top: 0;
z-index: z('navbar');
- box-shadow: 0 1px 0 rgba(12,13,14,0.1), 0 1px 6px rgba(60,65,70,0.1);
+ color: inherit;
+
+ &[data-bgimg="true"] {
+ background-color: transparent;
+ }
+
+ &[data-bgimg="false"] {
+ box-shadow: 0 1px 0 rgba(12,13,14,0.1), 0 1px 6px rgba(60,65,70,0.1);
+ @include themify($themes) {
+ background-color: themed('navbar-background-color');
+ }
+ }
@include flexbox();
@include align-items(center);
@include justify-content(center);
- @include themify($themes) {
- color: inherit;
- background-color: themed('navbar-background-color');
- }
}
&__menu {