Difference between revisions of "MediaWiki:Common.css"

 
(9 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
   display: flex; /* Activates flexbox layout */
 
   display: flex; /* Activates flexbox layout */
 
   justify-content: flex-start; /* Aligns items to the left */
 
   justify-content: flex-start; /* Aligns items to the left */
   margin-bottom: 10px;
+
  border: 1px solid #333;
 +
   margin-bottom: 20px;
 +
}
 +
 
 +
.subbox {
 +
  width: 50%;
 +
  margin: auto;
 +
}
 +
 
 +
span.reading {
 +
  font-size: 150%;
 +
  padding-left: 5px;
 +
  letter-spacing: .2rem;
 +
  font-family: Arial, Verdana;
 
}
 
}
  
Line 21: Line 34:
 
.js-hanzi {
 
.js-hanzi {
 
     background-color: #FFF;
 
     background-color: #FFF;
 +
}
 +
 +
 +
.char-list ul, .char-list ul li, .char-list li {
 +
  font-size: 200%;
 
}
 
}

Latest revision as of 08:23, 19 May 2024

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

/* Remove search bar from "Resources" only to avoid confusion */
/* (searching here does not search all wikis on the "resources" subdomain) */

form.navbar-search {display:none}

/* CSS for F200 character pages */

.character {
  background-color: #EEE;
  display: flex; /* Activates flexbox layout */
  justify-content: flex-start; /* Aligns items to the left */
  border: 1px solid #333;
  margin-bottom: 20px;
}

.subbox {
  width: 50%;
  margin: auto;
}

span.reading {
  font-size: 150%;
  padding-left: 5px;
  letter-spacing: .2rem;
  font-family: Arial, Verdana;
}

.character p, .js-hanzi {
  margin: 10px; /* Adds space around items */
}

.js-hanzi {
    background-color: #FFF;
}


.char-list ul, .char-list ul li, .char-list li {
  font-size: 200%;
}