Difference between revisions of "User:Hayaku/common.css"
Jump to navigation
Jump to search
m (Hayaku moved page User:Hayaku/vector.css to User:Hayaku/common.css without leaving a redirect: this will never work :/) |
m |
||
| Line 4: | Line 4: | ||
} | } | ||
/* mobile/small screen tweaks */ | /* mobile/small screen tweaks */ | ||
@media screen and (max-width: | @media screen and (max-width: 960px) { | ||
/* remove gaps on the sides to make more area for content */ | /* remove gaps on the sides to make more area for content */ | ||
div#mw-panel { | div#mw-panel { | ||
| Line 22: | Line 22: | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* reduction of big chungus menu at the top | /* reduction of big chungus menu at the top | ||
#p-search form { | #p-search form { | ||
margin: 0; | margin: 0; | ||
| Line 34: | Line 34: | ||
.vector-menu-dropdown h3::after { | .vector-menu-dropdown h3::after { | ||
margin-top: -1.5em; | margin-top: -1.5em; | ||
} | }*/ | ||
Revision as of 14:08, 28 July 2022
/* even out gaps on the sides of main menu */
div#mw-panel {
margin-left: 1em;
}
/* mobile/small screen tweaks */
@media screen and (max-width: 960px) {
/* remove gaps on the sides to make more area for content */
div#mw-panel {
margin-left: 0;
}
div#content {
margin-right: 0;
margin-left: 14em;
}
#left-navigation {
margin-left: 14em !important;
}
}
/* personal tweaks to the main menu, you can use them still if you want */
.vector-menu-portal {
margin: 0;
padding: 0;
}
/* reduction of big chungus menu at the top
#p-search form {
margin: 0;
}
.vector-menu-tabs {
height: auto;
}
.vector-menu-tabs .mw-watchlink.icon a {
margin-top: -0.5em;
}
.vector-menu-dropdown h3::after {
margin-top: -1.5em;
}*/