MediaWiki:Common.css

From Universitas Ciputra Wiki
Revision as of 08:55, 25 August 2021 by Cis.integration (talk | contribs)
Jump to navigation Jump to search

Note: After saving, 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 */
.infobox {
border:1px solid #a2a9b1;
float:right;
margin:0px 0 20px 20px;
width:25em;
}

.infobox .infobox-title {
font-weight:bold;
text-align:center;
background-color:#F6F6F6;
padding:10px;
}

.infobox .infobox-picture{
text-align:center;
}

.infobox .infobox-detail{
display: flex;
background-color:#F6F6F6;
}

.infobox .infobox-detail:nth-child(even){
background-color:#EEEEEE;
}

.infobox .infobox-detail .infobox-detail-label,
.infobox .infobox-detail .infobox-detail-value{
flex: 1;
padding:5px;
font-size:0.9em;
}

.infobox .infobox-detail .infobox-detail-label {
font-weight:bold;
text-align:right;
}

@media (max-width:991.98px) {
.infobox {
border:1px solid #a2a9b1;
float:none;
margin:0px;
margin-bottom:20px;
width:100%;
}
}