Difference between revisions of "MediaWiki:Common.css"
From AYSO Wiki
Line 35: | Line 35: | ||
.toc a { | .toc a { | ||
display: flex; | display: flex; | ||
+ | } | ||
+ | |||
+ | /* To make images responsive */ | ||
+ | .res-img img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
} | } |
Revision as of 22:26, 9 May 2022
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* Login link */
#mw-navigation .navbar-nav > .nav-item:not(.dropdown) a {
text-transform: uppercase !important;
color: var(--red) !important;
}
/* TOC */
#toc, .toc {
display: block !important;
padding: 0 !important;
border: 0;
background-color: transparent;
font-size: .9rem;
}
.toc .toctitle {
text-align: left;
margin-bottom: 1rem;
}
.toc h2 {
display: block !important;
border-bottom: 1px solid #a2a9b1;
font-size: 170% !important;
padding: 6px 0;
font-weight: 300;
color: #666666;
}
.toc .toctogglespan {
float: right;
margin-right: 1rem;
}
.toc a {
display: flex;
}
/* To make images responsive */
.res-img img {
max-width: 100%;
height: auto;
}