Improve CSS styling

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-12-26 09:52:22 +01:00
parent 2a6849c5d3
commit 414fd397ca
3 changed files with 11 additions and 10 deletions
+7 -7
View File
@@ -75,10 +75,6 @@
// --------------------------------------------------------------------------------
// Header > Navigation
// --------------------------------------------------------------------------------
#navigation-toggle {
display: none;
}
#navigation {
font-size: 1.0rem;
color: $theme-menu-color;
@@ -98,7 +94,7 @@
}
// Responsive Layout
@media (pointer: coarse), (max-width: 767px) {
@media (max-width: 767px), (hover: none), (hover: on-demand) {
#navigation-toggle {
justify-self: stretch;
align-self: center;
@@ -136,13 +132,17 @@
#navigation .item {
display: block;
padding: .5rem .5rem;
padding: 1.0rem 0rem;
//border: 1px solid $theme-menu-background;
transition: color 250ms linear;
}
}
@media (pointer: fine) and (min-width: 768px) {
@media (min-width: 768px) and (hover: hover) {
#navigation-toggle {
display: none;
}
#navigation {
justify-self: stretch;
align-self: center;