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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/partials/menu.scss')
-rw-r--r--assets/scss/partials/menu.scss18
1 files changed, 11 insertions, 7 deletions
diff --git a/assets/scss/partials/menu.scss b/assets/scss/partials/menu.scss
index 1d31831..a62cb6e 100644
--- a/assets/scss/partials/menu.scss
+++ b/assets/scss/partials/menu.scss
@@ -125,7 +125,11 @@
list-style: none;
display: flex;
flex-direction: column;
- margin: 30px 0;
+ margin-top: 25px;
+
+ @media (min-width: $on-desktop-large){
+ margin-top: 30px;
+ }
@media (max-width: $on-phone) {
background-color: var(--card-background);
@@ -149,10 +153,10 @@
padding: 10px 0;
&:not(:last-of-type) {
- margin-bottom: 20px;
+ margin-bottom: 15px;
- @media (max-width: $on-desktop) {
- margin-bottom: 10px;
+ @media (min-width: $on-desktop-large) {
+ margin-bottom: 20px;
}
}
@@ -175,9 +179,9 @@
margin-right: 40px;
- @media (max-width: $on-desktop) {
- width: 30px;
- height: 30px;
+ @media (max-width: $on-desktop-large) {
+ width: 25px;
+ height: 25px;
}
}