MediaWiki:Common.css
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 */
body {
min-width: 1200px;
}
body, #mw-head {
background-color: #101214;
}
#mw-head{
height: 100px;
}
#left-navigation, #right-navigation{
margin-top: 4.15em;
}
.vectorTabs, #mw-head .vectorMenu h3{
height: 2.1em;
}
.vectorMenu h3 span{
padding-top: 0.8em;
color: #FFF;
}
.vectorTabs span a{
padding-top: 0.8em;
}
.vectorTabs .mw-watchlink.icon a{
padding-top: 2.576923em;
}
#p-search form{
margin: 0.2em 0 0;
}
#firstHeading{
margin-top: 20px;
}
#mw-panel .portal:not(:last-child){
border-bottom: 1px solid #FFF;
padding: 0.25em 0 0.6em;
}
#mw-panel.collapsible-nav .portal.collapsed h3 a, #mw-panel.collapsible-nav .portal h3 a, #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited,
.vectorTabs .new a, .vectorTabs .new a:visited, .vectorTabs span a{
color: #FFFFFF;
}
#mw-panel.collapsible-nav .portal.collapsed h3, #mw-panel.collapsible-nav .portal h3{
background-image: none;
}
#mw-panel.collapsible-nav .portal.collapsed h3:before, #mw-panel.collapsible-nav .portal h3:before{
content: "\A";
width: 5px;
height: 5px;
border-radius: 50%;
position: absolute;
display: inline-block;
left: 31px;
margin-top: 4px;
}
#mw-panel.collapsible-nav .portal.collapsed h3:before{
background: #FFF;
}
.vectorTabs .new a, #right-navigation .vectorTabs .collapsible:not(.selected) a, #mw-panel.collapsible-nav .portal.expanded h3:before{
background-color: #4A76FD !important;
}
.vectorTabs .new a, .vectorTabs span a{
height: 1.8em;
}
.grid{
display: grid;
column-gap: 15px;
row-gap: 15px;
}
.grid.two-columns{
grid-template-columns: repeat(auto-fit,minmax(450px,1fr));
margin: 15px 0;
}
.slideshare iframe{
height: 340px;
}
.grid.two-columns.slideshare{
grid-template-columns: repeat(auto-fill,minmax(450px,1fr));
}
.grid.two-columns.slideshare .text{
grid-column: span 2;
}
.grid.two-columns.two-thirds-left{
grid-template-columns: repeat(auto-fit,minmax(450px,3fr));
}
.grid.two-columns.two-thirds-left > div:first-child{
grid-column: span 2;
}
.grid.three-columns{
grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
margin: 15px 0;
}
.grid.three-columns > div, .grid.two-columns > div{
/*height: 450px;*/
border: 1px solid #CCC;
padding: 0 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.no-border, div.no-border > div{
border: none !important;
box-shadow: none !important;
}
.grid.two-columns .full-width{
grid-column: span 2;
}
.grid.three-columns .full-width{
grid-column: span 3;
height: auto;
}
/* Common */
.box-header{
padding: 1px;
font-weight: bold;
font-size: 1.2em;
border-bottom: 1px solid #CCC;
}
.box-content{
padding: 10px;
}
.box-content.framework{
display: grid;
grid-template-columns: repeat( auto-fit, minmax(150px, 1fr) );
}
.text-center{
text-align: center;
}
pre{
background-color: transparent;
border: none;
padding: 0;
white-space: pre-wrap;
}
iframe{
/*width: 100%;
height: 100%;*/
}