Difference between revisions of "MediaWiki:Common.css"

From Prince Vault
Jump to: navigation, search
 
(80 intermediate revisions by the same user not shown)
Line 46: Line 46:
  
 
/* main page CSS for responsive design properties */
 
/* main page CSS for responsive design properties */
 +
 +
#today a:link, a:visited, a:active {
 +
  color: #6799CC;
 +
}
 +
 +
#today a:hover {
 +
  color: #81BFFF;
 +
}
 +
 
.flex-container {
 
.flex-container {
 
   display: flex;
 
   display: flex;
Line 63: Line 72:
 
   background: white;
 
   background: white;
 
}
 
}
 +
 +
/* flex-1, 2, 3 fix Prince's lyrics insert */
  
 
#flex-1 {
 
#flex-1 {
   width: 250px;
+
   width: 100%;
 
}
 
}
  
 
#flex-2 {
 
#flex-2 {
   width: 60%;
+
   width: 100%;
  padding: 7px 7px 0 0;
+
}
 +
 
 +
#flex-2 q {
 +
  color: #6799CC;
 +
  line-height: .88em;
 
}
 
}
  
Line 76: Line 91:
 
   width: 100%;
 
   width: 100%;
 
}
 
}
 +
 +
/* flex-4, 5 fixes On This day boxes */
  
 
#flex-4 {
 
#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;
 
   line-height: 1.5em;
   margin-top: 0;
+
   background-color: #6799CC;
   margin-left: 0;
+
  background-image: linear-gradient(to right, #6799CC, white);
   font-size: 120%;
+
  margin: 0;
 +
   margin-left: 15px;
 +
  margin-right: 15px;
 +
  margin-bottom: 30px;
 +
  padding-bottom: 30px;
 +
  padding-top: 0;
 +
   font-size: 130%;
 +
  color: #2151B2;
 
}
 
}
  
#flex-2 q {
+
#flex-5 p {
  color: #6799CC;
+
  font-size: 150%;
  line-height: .88em;
+
  color: white;
 
}
 
}
 +
 +
#flex-5 b {
 +
  color: #81BFFF;
 +
}
 +
 +
#flex-5 a:link, a:visited {
 +
  color: #2151B2;
 +
}
 +
 +
#flex-5 a:hover {
 +
  color: white;
 +
}
 +
  
 
/* This disables h1 title showing up on top of each page */
 
/* This disables h1 title showing up on top of each page */

Latest revision as of 15:08, 2 February 2019

/** 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: #6799CC;
  background-image: linear-gradient(to right, #6799CC, white);
  margin: 0;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  padding-top: 0;
  font-size: 130%;
  color: #2151B2;
}

#flex-5 p {
  font-size: 150%;
  color: white;
}

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

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

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


/* 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;
}