MediaWiki:Common.css: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


// Float infoboxes to the right
/* Float infoboxes to the right */
.infobox {
.infobox {
   float: right;
   float: right;
Line 8: Line 8:
}
}


// Hide page name on the home page
/* Hide page name on the home page */
body.page-Main_Page h1#firstHeading {
body.page-Main_Page h1#firstHeading {
   color: lime;
   color: lime;
Line 14: Line 14:
}
}


// Prettify stub boxes
/* Prettify stub boxes */
.stub-box {
.stub-box {
   max-width: 600px;
   max-width: 600px;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   background-color: #e9e9e9; /* Matches tiles on main page */
   background-color: #e9e9e9;
   border-left: 4px solid #09bb62; /* Warm highlight */
   border-left: 4px solid #09bb62;
   padding: 10px 15px;
   padding: 10px 15px;
   border-radius: 8px;
   border-radius: 8px;
Line 32: Line 32:
   padding: 0;
   padding: 0;
}
}
.stub-image img {
.stub-image img {
   display: block;
   display: block;
Line 45: Line 44:
}
}
.stub-word {
.stub-word {
   color: #4f504c; /* Soft orange highlight */
   color: #4f504c;
}
}

Revision as of 09:15, 9 May 2025

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

/* Float infoboxes to the right */
.infobox {
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
}

/* Hide page name on the home page */
body.page-Main_Page h1#firstHeading {
  color: lime;
  border: 2px dashed red;
}

/* Prettify stub boxes */
.stub-box {
  max-width: 600px;
  display: flex;
  align-items: center;
  background-color: #e9e9e9;
  border-left: 4px solid #09bb62;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.stub-image {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding: 0;
}
.stub-image img {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}
.stub-text {
  text-align: left;
  line-height: 1.4em;
}
.stub-word {
  color: #4f504c;
}