MediaWiki:Common.css: Difference between revisions
From LHDB
No edit summary Tag: Manual revert |
No edit summary |
||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.res-img img { | .res-img img { | ||
max-width: | max-width:100%; | ||
height:auto; | height:auto; | ||
} | |||
.gallery { | |||
margin: 0 !important; | |||
} | |||
.thumbinner { | |||
width:300px !important; | |||
height:300px !important; | |||
} | |||
.nav-mobile { | |||
/*display:none;*/ | |||
} | |||
.page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) { | |||
display:none; | |||
} | |||
.page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper { | |||
padding-top: 15px !important; | |||
} | |||
.page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) { | |||
display:none; | |||
} | |||
.page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper { | |||
padding-top: 15px !important; | |||
} | |||
@media (max-width: 991.98px) { /*"xxx" the width of window*/ | |||
.thumbinner { | |||
width:100% !important; | |||
} | |||
.navbar-brand { | |||
display: none; | |||
} | |||
.nav-mobile { | |||
color: rgba(0, 0, 0, .5); | |||
display:inline-block; | |||
} | |||
#navbar { | |||
padding-top: 1rem !important; | |||
} | |||
} | } |
Latest revision as of 11:57, 7 November 2024
/* CSS placed here will be applied to all skins */
.res-img img {
max-width:100%;
height:auto;
}
.gallery {
margin: 0 !important;
}
.thumbinner {
width:300px !important;
height:300px !important;
}
.nav-mobile {
/*display:none;*/
}
.page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
display:none;
}
.page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper {
padding-top: 15px !important;
}
.page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
display:none;
}
.page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper {
padding-top: 15px !important;
}
@media (max-width: 991.98px) { /*"xxx" the width of window*/
.thumbinner {
width:100% !important;
}
.navbar-brand {
display: none;
}
.nav-mobile {
color: rgba(0, 0, 0, .5);
display:inline-block;
}
#navbar {
padding-top: 1rem !important;
}
}