MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 23: Line 23:
.mp-bordered {
.mp-bordered {
   margin-bottom: 0.4em;
   margin-bottom: 0.4em;
   text-align: center;
   padding: 0.4em;
   border-width: 1px;
   border-width: 1px;
   border-style: solid;   
   border-style: solid;   

Revision as of 19:19, 7 March 2022

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

.box {
  display: inline-block;
  border: 1px solid #d9d9d9;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  width: 100%;
}

.box .box-header {
  display: block;
  clear: both;
  margin: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 10px 10px 0 0;
  background-color: #f2f2f2;
  padding: 8px 20px;
  overflow: hidden;
}

.mp-bordered {
  margin-bottom: 0.4em;
  padding: 0.4em;
  border-width: 1px;
  border-style: solid;  
  border-color: #ddd;
  background-color: #f9f9f9;
  white-space: nowrap;
}