MediaWiki:Common.css
From Sanatan Hindu Dharma
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.flex-fill.container,.flex-fill.container{ max-width:100% !important}
.p-navbar .navbar-brand.p-logo {
height: 3rem;
}
.p-navbar .navbar-brand img {
height: 3.5rem;
}
.p-logo {
height: 6rem;
}
.p-logo img {
height: 5.5rem;
margin-top:.2rem;
}
.bodyContent{ border:1px solid rgba(0,0,0,0.1); padding:16px; border-radius:.25rem;}
.firstHeading,h2,h3,h4{font-weight: 700;}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, a, a[href].new {
color: #1b599b;
text-decoration: none;
background-color: transparent
}
a:hover, a[href].new:hover {
color: #10345a;
text-decoration: underline
}
a:visited, a[href].new:visited {
color: #1b599b;
}
.footercontainer{max-width:100%;}
.mw-body.content{max-width:1140px; margin:0 auto;}
.tableVideo{text-align : center; margin: 0 auto;}
.embedvideo-wrapper{ border:1px solid #ccc;}
.embedvideo-loader__footer{display : none !important}
.panchangimg img{max-width:800px; width:100%; height:auto; margin:10px auto; display:table;}
.panchangimg a[href].external{ position: fixed; bottom: 20px; right: 20px; background-color:#1B599B; color: #ffffff; padding: 10px 20px; border-radius: 5px; box-shadow: 0px 0px 4px #d1d1d1; font-weight: 600;z-index: 9;}
.p-navbar.collapsible .navbar-nav .dropdown-menu{height:auto; max-height:95vh; overflow: auto;}
/* Hide the entire page tools section (content navigation) for users not logged in */
body:not(.mw-editable) #p-contentnavigation {
display: none !important;
}
span.mw-editsection {
display: none !important;
}
@media (min-width: 1105px) {
.navbar-expand-cmln, .p-navbar.collapsible {flex-flow: row wrap;}
.navbar-expand-cmln .navbar-nav, .p-navbar.collapsible .navbar-nav {flex-wrap: wrap; justify-content: center;}
}
@media (max-width: 575.98px) {
.flex-fill.container .row:first-child {justify-content: center;}
.tableVideo {
max-width: 300px;
width: 100% !important;
height: 169px !important
}
.embedvideo-wrapper, .embedvideo {
max-width: 300px;
width: 100% !important;
height: 169px !important
}
.panchangimg a[href].external{ bottom: 20px; right: 20px; padding: 10px 15px; border-radius: 4px;;}
.panchangimg img{width:100%; height:auto;}
}
/* === Remove 'Powered by MediaWiki' and 'Semantic MediaWiki' logos === */
/* MediaWiki default footer icons */
#footer-icons, .mw-footer-icons {
display: none !important;
}
/* Semantic MediaWiki footer */
#f-poweredbyico, #f-copyrightico {
display: none !important;
}
footer,
.footer,
#footer,
.chameleon-footer {
display: none !important;
visibility: hidden;
height: 0;
}
/* In newer skins (Vector-2022 or Timeless) */
.vector-footer-icons, .mw-footer {
display: none !important;
}
#footer, .mw-footer, .vector-footer {
display: none !important;
}
