projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400db74
)
Mobile optimization
author
Marcel Werk
<burntime@woltlab.com>
Sun, 3 Nov 2013 15:30:00 +0000
(16:30 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Sun, 3 Nov 2013 15:30:00 +0000
(16:30 +0100)
wcfsetup/install/files/style/layout.less
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/style/layout.less
b/wcfsetup/install/files/style/layout.less
index 6b1d2d58fc80c2c7a9a7d77e62fadef18759acb1..e486965280ea6f330885c1f6f15f74e8a78a21d6 100644
(file)
--- a/
wcfsetup/install/files/style/layout.less
+++ b/
wcfsetup/install/files/style/layout.less
@@
-377,6
+377,7
@@
}
}
}
+
@media screen and (min-width: 801px), print {
.mainMenu > ul > li {
margin-top: -7px;
@@
-402,6
+403,16
@@
}
}
+@media only screen and (max-width: 800px) {
+ .mainMenu > ul > li.active {
+ margin-bottom: -1px;
+
+ > a {
+ padding-bottom: 5px;
+ }
+ }
+}
+
/* navigation */
.navigation {
padding: 0 7px;
@@
-518,7
+529,6
@@
@media only screen and (max-width: 800px) {
.navigationHeader {
- border-top-width: 0;
min-height: 4px;
}
}