Difference between revisions of "User:Hayaku/common.css"
Jump to navigation
Jump to search
m |
m |
||
| (18 intermediate revisions by the same user not shown) | |||
| 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 16: | Line 16: | ||
margin-left: 14em !important; | margin-left: 14em !important; | ||
} | } | ||
#right-navigation { | |||
margin-right: 0; | |||
} | |||
} | |||
/* remove unecessary margin */ | |||
.action-view .vector-body { | |||
margin-top: -1em; | |||
} | } | ||
/* personal tweaks to the main menu, you can use them still if you want */ | /* personal tweaks to the main menu, you can use them still if you want */ | ||
| Line 21: | Line 28: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
/* reduction of big chungus menu at the top */ | |||
#p-search form { | |||
margin: -0.25em 0 0 0; | |||
} | |||
.vector-menu-tabs { | |||
height: auto; | |||
} | |||
.vector-menu-tabs li a { | |||
height: auto; | |||
padding: 0 8px; | |||
} | |||
#ca-watch, #ca-unwatch { | |||
margin-top: -0.75em; | |||
} | |||
#p-cactions { | |||
margin-top: -1em; | |||
} | |||
#right-navigation { | |||
height: 18px; | |||
} | |||
div#content { | |||
margin-top: -1em; | |||
} | |||
:focus { | |||
outline: none; | |||
} | } | ||
Latest revision as of 15:33, 30 September 2025
/* 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;
}
#right-navigation {
margin-right: 0;
}
}
/* remove unecessary margin */
.action-view .vector-body {
margin-top: -1em;
}
/* 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.25em 0 0 0;
}
.vector-menu-tabs {
height: auto;
}
.vector-menu-tabs li a {
height: auto;
padding: 0 8px;
}
#ca-watch, #ca-unwatch {
margin-top: -0.75em;
}
#p-cactions {
margin-top: -1em;
}
#right-navigation {
height: 18px;
}
div#content {
margin-top: -1em;
}
:focus {
outline: none;
}