Jump to content

MediaWiki:Common.css: Difference between revisions

From p1gwars
No edit summary
No edit summary
Line 4: Line 4:
   border: 1px solid #CCC;
   border: 1px solid #CCC;
   background-color: #FFF;
   background-color: #FFF;
   padding: 0 0 10px 10px;
   padding: 0;
   margin: 10px;
   margin: 0 0 10px 10px;
   width: calc(33% - 30px);
   width: calc(33% - 30px);
   float: right;
   float: right;
Line 26: Line 26:
   border-top: 1px solid #CCC;
   border-top: 1px solid #CCC;
   border-bottom: 1px solid #CCC;
   border-bottom: 1px solid #CCC;
  padding: 10px;
}
}



Revision as of 16:05, 24 March 2024

/* CSS placed here will be applied to all skins */

.infobox {
  border: 1px solid #CCC;
  background-color: #FFF;
  padding: 0;
  margin: 0 0 10px 10px;
  width: calc(33% - 30px);
  float: right;
  position: relative;
  clear: after;
}

.infobox:after {
  clear: both;
}

.infobox .photo {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: auto;
}

.infobox .element {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 10px;
}

.infobox .element:last-child {
  border-bottom: none;
}

a:visited {
  color: blue;
}