Jump to content

MediaWiki:Common.css: Difference between revisions

From OceanWiki
imported>Admin
No edit summary
imported>Admin
No edit summary
Line 15: Line 15:


.model-box {
.model-box {
   float: right;             /* stick to the right margin */
   float: right;
   width: 340px;              /* adjust as needed */
   width: 340px;              /* adjust if needed */
   margin: 0 0 16px 16px;     /* space on the left so text doesn’t crash into it */
   margin: 0 0 16px 16px;
  border: 1px solid #a8c5da; /* soft blue border */
  border-radius: 4px;
  overflow: hidden;          /* keeps the rounded corners clean */
}
}


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

Revision as of 16:05, 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;              /* adjust if needed */
  margin: 0 0 16px 16px;
  border: 1px solid #a8c5da; /* soft blue border */
  border-radius: 4px;
  overflow: hidden;          /* keeps the rounded corners clean */
}

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

.model-box .box-body {
  padding: 6px 10px;
}