Difference between revisions of "MediaWiki:Common.css"
From RRU Knowledge Base
m |
m |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Timeless Mods */ | |||
#mw-content h1, #mw-content h2, #mw-content h3, | |||
#mw-content h4, #mw-content h5, #mw-content h6, | |||
#mw-content dt { | |||
font-weight: 300; | |||
} | |||
#toc ul ul, .toc ul ul { | |||
margin: 0 0 0 2em; | |||
} | |||
#p-logo { | |||
display: none; | |||
} | |||
#mw-header-container { | |||
background-color: #222222; | |||
} | |||
#p-logo-text a { | |||
color: #EEE; | |||
font-weight: bold; | |||
font-size: 1.5em; | |||
} | |||
#personal h2 { | |||
color: #EEE; | |||
} | |||
/* Custom */ | |||
.learn-box { | |||
height: 110px; | |||
background: #eee; | |||
text-align: center; | |||
line-height: 100px; | |||
font-size: 1.2em; | |||
margin-right: 5px; | |||
opacity:.8; | |||
} | |||
.learn-box:hover { | |||
opacity:1; | |||
} | |||
.statistics-box { | |||
text-align: center; | |||
} | |||
.statistics-box p span { | |||
background: #eee; | |||
padding: .5em 1em; | |||
margin-top: 1em; | |||
margin-right: 1em; | |||
color: #777; | |||
display: inline-block; | |||
} | |||
.thumbinner { | |||
padding:.5em; | |||
} | |||
.thumbinner .thumbcaption { | |||
padding:0px; | |||
} | |||
.imbox { | |||
background-color: #eee; | |||
border-radius: 2px; | |||
border: 1px solid #ccc; | |||
border-bottom: 3px solid #ccc; | |||
text-align: left; | |||
margin-top:.5em; | |||
margin-bottom:.5em; | |||
} | |||
.imbox .col-sm-auto { | |||
min-width: 86px; | |||
text-align:center; | |||
} | |||
.imbox-wip, .imbox-todo { | |||
background-color: #e4f2fe; | |||
border-color: #c1cedd; | |||
} | |||
.imbox-license { | |||
background-color: #ceffe0; | |||
border-color: #b6dec5; | |||
} | |||
code, kbd, pre, samp { | |||
background: #f1f1f1; | |||
padding: 2px; | |||
font-size:95%; | |||
} | |||
/*Mediaviewer Ext Fix*/ | |||
.mw-mmv-wrapper button:hover { | |||
background: transparent; | |||
} | |||
/* Hide Main Title */ | /* Hide Main Title */ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { | ||
display: none; | display: none; | ||
} | |||
.firstHeading.page-header { | |||
font-weight: 300 !important; | |||
} | } | ||
Line 45: | Line 149: | ||
#catlinks a:not(.new) { | #catlinks a:not(.new) { | ||
color: #555; | color: #555; | ||
} | |||
/* Responive Style Images */ | |||
@media (max-width: 767px) { | |||
.thumb { | |||
width:100% !important; | |||
} | |||
.thumb > .thumbinner { | |||
margin: 0 auto; | |||
} | |||
} | } |
Latest revision as of 18:31, 11 November 2018
/* Timeless Mods */ #mw-content h1, #mw-content h2, #mw-content h3, #mw-content h4, #mw-content h5, #mw-content h6, #mw-content dt { font-weight: 300; } #toc ul ul, .toc ul ul { margin: 0 0 0 2em; } #p-logo { display: none; } #mw-header-container { background-color: #222222; } #p-logo-text a { color: #EEE; font-weight: bold; font-size: 1.5em; } #personal h2 { color: #EEE; } /* Custom */ .learn-box { height: 110px; background: #eee; text-align: center; line-height: 100px; font-size: 1.2em; margin-right: 5px; opacity:.8; } .learn-box:hover { opacity:1; } .statistics-box { text-align: center; } .statistics-box p span { background: #eee; padding: .5em 1em; margin-top: 1em; margin-right: 1em; color: #777; display: inline-block; } .thumbinner { padding:.5em; } .thumbinner .thumbcaption { padding:0px; } .imbox { background-color: #eee; border-radius: 2px; border: 1px solid #ccc; border-bottom: 3px solid #ccc; text-align: left; margin-top:.5em; margin-bottom:.5em; } .imbox .col-sm-auto { min-width: 86px; text-align:center; } .imbox-wip, .imbox-todo { background-color: #e4f2fe; border-color: #c1cedd; } .imbox-license { background-color: #ceffe0; border-color: #b6dec5; } code, kbd, pre, samp { background: #f1f1f1; padding: 2px; font-size:95%; } /*Mediaviewer Ext Fix*/ .mw-mmv-wrapper button:hover { background: transparent; } /* Hide Main Title */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } .firstHeading.page-header { font-weight: 300 !important; } .navbar-brand { font-weight: bold; font-size: 1.6em; } #t-tools .glyphicon { top: 3px; } #pt-personaltools .glyphicon { top: 3px; right: 3px; } #t-tools .caret, #pt-personaltools .caret { margin-left: 5px; } #mw-content-text { font-size: 1.1em; } div.thumbinner { border: none; } html .thumbimage { border: none; width: 100%; height: auto; } #catlinks:not(:empty) { display:block; } #catlinks { border: none; padding: 8px; text-transform: uppercase; font-size: 90%; } #catlinks a:not(.new) { color: #555; } /* Responive Style Images */ @media (max-width: 767px) { .thumb { width:100% !important; } .thumb > .thumbinner { margin: 0 auto; } }