Jump to content

MediaWiki:Common.css: Difference between revisions

From OceanWiki
imported>Admin
No edit summary
imported>Admin
No edit summary
Line 14: Line 14:
}
}


.model-box {
.model-box { float:right; width:340px; margin:0 0 16px 16px; }
  float: right;
.model-box, .model-box * { font-family: inherit; }          /* keep site font */
  width: 340px;             /* adjust if needed */
 
   margin: 0 0 16px 16px;
.model-ib {                                                  /* the table */
   border: 1px solid #a8c5da; /* soft blue border */
   width:100%;
   border-radius: 4px;
   border:1px solid #a8c5da;                                   /* outer border */
   overflow: hidden;         /* keeps the rounded corners clean */
   border-radius:4px;
   border-collapse: collapse;
}
.model-ib th {                                                /* title row */
  text-align:left;
  padding:8px 10px;
  background:#eaf4fb;                                        /* light blue */
  border-bottom:1px solid #a8c5da;
  font-weight:700;
}
.model-ib td {                                                /* body rows */
  padding:6px 10px;
  border-top:1px solid #eaecf0;                              /* subtle row lines */
}
}


.model-box .box-title {
  background: #eaf4fb;      /* pale blue header */
  font-weight: bold;
  padding: 6px 10px;
  border-bottom: 1px solid #a8c5da;
}


.model-box .box-body {
/* Always push the first H2 below any floated TOC/boxes */
  padding: 6px 10px;
.mw-parser-output h2:first-of-type { clear: both; }
}

Revision as of 16:08, 16 September 2025

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

#p-logo a {
  background-size: 160px auto !important;
  width: 160px !important;
  height: 160px !important;
}

/* side-by-side layout */
#toc {
  float: left;
  width: 280px;
  margin: 0 16px 16px 0;
}

.model-box { float:right; width:340px; margin:0 0 16px 16px; }
.model-box, .model-box * { font-family: inherit; }           /* keep site font */

.model-ib {                                                   /* the table */
  width:100%;
  border:1px solid #a8c5da;                                   /* outer border */
  border-radius:4px;
  border-collapse: collapse;
}
.model-ib th {                                                /* title row */
  text-align:left;
  padding:8px 10px;
  background:#eaf4fb;                                         /* light blue */
  border-bottom:1px solid #a8c5da;
  font-weight:700;
}
.model-ib td {                                                /* body rows */
  padding:6px 10px;
  border-top:1px solid #eaecf0;                               /* subtle row lines */
}


/* Always push the first H2 below any floated TOC/boxes */
.mw-parser-output h2:first-of-type { clear: both; }