Difference between revisions of "MediaWiki:Common.css"

From Prince Vault
Jump to: navigation, search
Line 241: Line 241:
 
  border: 1px solid #000;
 
  border: 1px solid #000;
 
  text-align: center;
 
  text-align: center;
  width: 48%;
+
  width: 47%;
 
  margin-left: 1em;
 
  margin-left: 1em;
 
}
 
}
Line 248: Line 248:
 
  border: 1px solid #000;
 
  border: 1px solid #000;
 
  text-align: center;
 
  text-align: center;
  width: 48%;
+
  width: 47%;
 
}
 
}
  

Revision as of 14:20, 6 July 2021

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the               */
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;        /* are styled here so they can be customised.               */
        text-align: right;
        width: auto;
}


/** Princevault special CSS**********************************************************
 *
 * These are the changes from the original mediawiki monobook CSS that are specific to Princevault.
 * 
 * Do not alter if you're not familiar with CSS coding
 *
 * Maintainers: BLR
 */

/* This line disables the display of the wiki page name on main page + other pages in the wiki*/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* The below lines define UTMNeutra font family to use in the website - doesn't work so far */
@font-face {
	font-family: 'UTMNeutra', Verdana, Arial, sans-serif;
	src: url('./UTMNeutra.eot');
	src: local('UTMNeutra'), url('./UTMNeutra.woff') format('woff'), url('./UTMNeutra.ttf') format('truetype');
        font-weight: bold;
}

/* use this class to attach this font to any element i.e. <p class="fontsforweb_fontid_79354">Text with this font applied</p> */
.fontsforweb_fontid_79354 {
	font-family: 'UTMNeutra';
}

/* Font downloaded from FontsForWeb.com */

/* main page CSS for responsive design properties */

#today a:link, a:visited, a:active {
  color: #6799CC;
}

#today a:hover {
  color: #81BFFF;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-container h3, b {
  line-height: .9em;
}

.flex-container > div {
  width: 45%;
  background-color: #fff;
  margin: 0 .5em .5em .5em;
  padding: 10px;
  font-size: 30px;
  background: white;
}

/* flex-1, 2, 3 fix Prince's lyrics insert */

#flex-1 {
  width: 100%;
}

#flex-2 {
  width: 100%;
}

#flex-2 q {
   color: #6799CC;
   line-height: .88em;
}

#flex-3 {
  width: 100%;
}

/* flex-4, 5 fixes On This day boxes */

#flex-4 {
  width: 100%;
  line-height: 1.6em;
  font-size: 200%;
  color: #6799CC;
  margin: 0;
  padding: 0;
}

#flex-4 small a:link {
  color: #6799CC;
}

#flex-4 a:hover {
  color: #6799CC;
}

#flex-5 {
  line-height: 1.5em;
  background-color: #fff;
  margin: 0;
  margin-right: 15px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  padding-top: 0;
  font-size: 130%;
  color: #2151B2;
  border-bottom: 1px solid #aaa;
}

#flex-5 p {
  font-size: 150%;
  font-weight: bold;
  color: #67737F;
  background-color: #fff;
}

#flex-5 ul {
  color: black;
  background-color: #fff;
  padding: 0; 
  padding-bottom: 5px;
  margin: 0;
  margin-left: 7px;
}

#flex-5 b {
  color: #81BFFF;
}

#flex-5 a:link, a:visited {
  color: #2151B2;
}

#flex-5 a:hover {
  color: #795290;
}

/* This is CSS for navi bars */
.topNaviBar {
  cellspacing: 0;
  align: left;
  display: flex;
  flex-wrap: wrap;
  width: 97%;
  font-size: .9em;
  margin-bottom: 2.4em;
  margin-top: -1em;
  margin-left: .7em;
  margin-right: .7em;
  background-color: #fff;
  padding: .5em;
  border-bottom: 1px dotted #aaa;
}

.naviBar1, .naviBar2, .naviBar3, .naviBar4, .naviBar5 {
  font-size: 1em;
  color: #330066;
}

.naviBar1, .naviBar5 {
  width: 30%;
}
.naviBar2, .naviBar4 {
  width: 13%;
  text-align: center;
}
.naviBar3 {
  width: 14%;
  text-align: center;
}

.naviBar5 {
  text-align: right;
}

/* This is CSS for pages HEADERS */

.header {
 cellpading: 6;
 display: flex;
 flex-wrap: wrap;
 width: 97%;
 margin-bottom: .7em;
 background-color: #fff;
 font-size: 2.5em;
 font-weight: bold;
 white-space: nowrap;
 padding: .1em;
 padding-bottom: 15px;
 margin-left: .3em;
 color: #795290;
 border-bottom: 1px solid #aaa;
}

.title {
 margin-left: -5px;
}

/* this is CSS for wrap up boxes */

.container {
 border: 1px solid #ff3333;
 display: flex;
 flex-wrap: wrap;
 margin-left: 5px;
}

.wrapUpSong {
 border: 1px solid #3355FF;
 display: flex;
 flex-wrap: wrap;
 width: 33%;
 padding-left: 1.5em;
 padding-top: 1em;
}

.wrapUpLeft {
 border: 1px solid #3355FF;
 width: 60%;
 padding-right: 2.5em;
 padding-top: 1em;
}

.albumImage {
 border: 1px solid #000;
 text-align: center;
 width: 47%;
 margin-left: 1em;
}

.singleImage {
 border: 1px solid #000;
 text-align: center;
 width: 47%;
}

/* this is CSS for content box */
.introduction {
 border: 1px solid #fff;
 padding-left: 4px;
}

/* This disables h1 title showing up on top of each page */

h1.firstHeading  { display: none; }

/* This is the code for all titles color, spaces etc */
h1, h2, h3, h4, h5, h6 {
    border-bottom: 1px solid #aaa;
    color: black;
    font-weight: bold;
    margin: 0;
    padding-bottom: 0.17em;
    padding-top: 0.5em;
}

h1 {
    font-size:2.5em;
    color: #795290;
}

h2 {
    font-size:2em;
    color: #DE8300;
    padding-top: 0.2em;
}

h3 {
    color: #AB3E00; 
}

/* This turns the menu box titles white */
.portlet h3 {
    color: white;
}

/* This turns the personal bar top right titles white */
#p-personal li a {
    color: #fff;
}

/* This turns the borders of page menu round */
#p-cactions li a {
    border: medium none;
    border-radius: 3px 3px 0 0;
    padding: 0 0.8em 0.3em;
}

#ca-nstab-main, #ca-nstab-mediawiki, #ca-talk, #ca-edit, #ca-history, #ca-delete, #ca-move, #ca-protect, #ca-unprotect, #ca-unwatch, #ca-watch {
    border-radius: 3px 3px 0 0;
}

/* This removes all talk pages from the wiki: do not remove. Talk pages are considered non secured, and can be used by bots to insert unwanted text and links */

#ca-talk { display:none!important; }

/* This are settings for wikitable collapsible */
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    border: 0;
}

table.wikitable {
    background-color: #fff;
    border: 0;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #ffffff;
    text-align: left;
}