Difference between revisions of "MediaWiki:Vector.css"

From Regiapædia
Jump to: navigation, search
m
 
(69 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the Vector skin */
 
/* CSS placed here will affect users of the Vector skin */
 
/*based on the code from http://towns.gamepedia.com */
 
  
 
/* Suppress main page title */
 
/* Suppress main page title */
Line 12: Line 10:
 
     min-height: 100%;
 
     min-height: 100%;
 
}
 
}
 +
 +
 +
/* Top, side panel & footer background */
  
 
body {
 
body {
     background: -moz-linear-gradient(top, #333 0, #338010 979px, #338010 100%);
+
     background: -moz-linear-gradient(top, #282828 0, #404040 979px, #404040 100%);
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #333), color-stop(979px, #338010), color-stop(100%, #338010));
+
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(979px, #404040), color-stop(100%, #404040));
     background: -webkit-linear-gradient(top, #333 0, #338010 979px, #338010 100%);
+
     background: -webkit-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
     background: -o-linear-gradient(top, #333 0, #338010 979px, #338010 100%);
+
     background: -o-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
     background: -ms-linear-gradient(top, #333 0, #338010 979px, #338010 100%);
+
     background: -ms-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
     background: linear-gradient(to bottom, #333 0, #338010 979px, #338010 100%);
+
     background: linear-gradient(to bottom, #282828 0, #333 979px, #404040 100%);
 
     margin-right: 5px;
 
     margin-right: 5px;
 
}
 
}
  
 +
/* p-cactions (Content actions), p-personal (Personal tools), p-navigation (Navigation), p-tb (Toolbox) */
 +
 +
/* Personal Tools */
 
#p-personal a {
 
#p-personal a {
     color: #eef7d2;
+
     color: #ffffff;
 +
}
 +
#p-personal a.new, #p-personal a.new:visited {
 +
color: #ffffff;
 +
}
 +
 
 +
/* category bar */
 +
.catlinks {
 +
  border: none;
 +
  background: transparent;
 
}
 
}
  
 +
 +
/* Top Tabs */
 
div.vectorTabs {
 
div.vectorTabs {
 
   background: transparent;
 
   background: transparent;
Line 47: Line 62:
  
 
div.vectorTabs li span a {
 
div.vectorTabs li span a {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
 
div.vectorTabs span a:visited {
 
div.vectorTabs span a:visited {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
Line 59: Line 74:
  
 
div.vectorTabs li.selected span a {
 
div.vectorTabs li.selected span a {
   color: #eef7d2 !important;
+
   color: #ffffff !important;
 
}
 
}
  
 
div.vectorTabs li.new span a {
 
div.vectorTabs li.new span a {
   color: #ce2020;
+
   color: #ffffff;
 
}
 
}
  
 
div.vectorTabs li.new span a:visited {
 
div.vectorTabs li.new span a:visited {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
Line 82: Line 97:
 
   background: transparent;
 
   background: transparent;
 
}
 
}
 +
 +
  
 
div#mw-page-base {
 
div#mw-page-base {
Line 87: Line 104:
 
}
 
}
  
div#mw-panel div.portal h5 {
+
 
 +
/* Left Side Panel */
 +
 
 +
div#mw-panel div.portal h3 {
 
   color: #ffffff;
 
   color: #ffffff;
 
   font-weight: bold;
 
   font-weight: bold;
Line 93: Line 113:
  
 
div#mw-panel div.portal div.body ul li a {
 
div#mw-panel div.portal div.body ul li a {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
 
div#mw-panel div.portal div.body ul li a:visited {
 
div#mw-panel div.portal div.body ul li a:visited {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
Line 108: Line 128:
 
}
 
}
  
 +
 +
/* Content Panel */
 
div#content {
 
div#content {
     background-image: none;
+
     background: -moz-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
     background-color: #fafdec;
+
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(12px,  #FFFFD5), color-stop(100%,  #FFFFD5));
 +
     background: -webkit-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
 +
    background: -o-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
 +
    background: -ms-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
 +
    background: linear-gradient(to bottom, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
 
     color: #000000;
 
     color: #000000;
     border: 1px solid #494d47;
+
     border: 1px solid #000000;
     border-top: 0px solid #6d7478;
+
     border-top: 1px solid #000000;
    box-shadow: rgba(73, 77, 71, 1) 0 0.1em 0.75em;
 
    padding: 0.5em 1em 1em;
 
 
}
 
}
  
 +
 +
 +
h1, h2, h3, h4, h5, h6 {
 +
    color: #800000;
 +
    font-weight: bold;
 +
    font-family:inherit;
 +
}
 +
 +
 +
 +
/* Footer */
 
div#footer {
 
div#footer {
 
   margin-left: 160px !important;
 
   margin-left: 160px !important;
 
   border: none;
 
   border: none;
 
   background: transparent;
 
   background: transparent;
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
 
div#footer ul li {
 
div#footer ul li {
   color: #eef7d2;
+
   color: #ffffff;
 
}
 
}
  
 
div#footer a {
 
div#footer a {
     color: #eef7d2;
+
     color: #ffffff;
 
}
 
}
  
 
div#footer a:visited {
 
div#footer a:visited {
     color: #eef7d2;
+
     color: #ffffff;
 
}
 
}
 +
 +
/* for MegaMenu */
 +
div#mw-page-base {
 +
  height:54px;
 +
}
 +
div#mw-head-base {
 +
  height:54px;
 +
}
 +
 +
 +
/*end of MegaMenu*/
 +
 +
[[Category:Wiki]]

Latest revision as of 19:58, 15 January 2018

/* CSS placed here will affect users of the Vector skin */

/* Suppress main page title */

body.page-Main_Page h1.firstHeading { display:none; }
body.page-Regiapædia_Home h1.firstHeading { display:none; }

html {
    height: auto;
    min-height: 100%;
}


/* Top, side panel & footer background */

body {
    background: -moz-linear-gradient(top, #282828 0, #404040 979px, #404040 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(979px, #404040), color-stop(100%, #404040));
    background: -webkit-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
    background: -o-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
    background: -ms-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
    background: linear-gradient(to bottom, #282828 0, #333 979px, #404040 100%);
    margin-right: 5px;
}

/* p-cactions (Content actions), p-personal (Personal tools), p-navigation (Navigation), p-tb (Toolbox) */

/* Personal Tools */
#p-personal a {
    color: #ffffff;
}
#p-personal a.new, #p-personal a.new:visited {
	color: #ffffff; 
}

/* category bar */
.catlinks { 
  border: none;
  background: transparent;
}


/* Top Tabs */
div.vectorTabs {
  background: transparent;
  font-size: 110%;
}

div.vectorTabs ul {
  background: transparent;
}

div.vectorTabs ul li, div.vectorTabs ul li.selected {
  background: transparent;
  border: none;
}

div.vectorTabs ul li span, div.vectorTabs ul li.selected span {
  background: transparent;
  border: none;
}

div.vectorTabs li span a {
  color: #ffffff;
}

div.vectorTabs span a:visited {
  color: #ffffff;
}

div.vectorTabs li span a:hover, div.vectorTabs span a:visited:hover {
  color: #ffffff;
}

div.vectorTabs li.selected span a {
  color: #ffffff !important;
}

div.vectorTabs li.new span a {
  color: #ffffff;
}

div.vectorTabs li.new span a:visited {
  color: #ffffff;
}

div.vectorTabs li.new span a:hover, div.vectorTabs li.new span a:visited:hover {
  color: #ffffff;
}

div.vectorTabs span a:active {
  color: #ffffff;
}

div.vectorMenu h5 a {
  border: none;
  background: transparent;
}



div#mw-page-base {
  background: transparent !important;
}


/* Left Side Panel */

div#mw-panel div.portal h3 {
  color: #ffffff;
  font-weight: bold;
}

div#mw-panel div.portal div.body ul li a {
  color: #ffffff;
}

div#mw-panel div.portal div.body ul li a:visited {
  color: #ffffff;
}

div#mw-panel div.portal div.body ul li a:hover {
  color: #ffffff;
}

div#mw-panel div.portal div.body ul li a:active {
  color: #ffffff;
}


/* Content Panel */
div#content {
    background: -moz-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(12px,  #FFFFD5), color-stop(100%,  #FFFFD5));
    background: -webkit-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
    background: -o-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
    background: -ms-linear-gradient(top, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
    background: linear-gradient(to bottom, #282828 0, #FFFFD5 12px,  #FFFFD5 100%);
    color: #000000;
    border: 1px solid #000000;
    border-top: 1px solid #000000;
}



h1, h2, h3, h4, h5, h6 {
    color: #800000; 
    font-weight: bold;
    font-family:inherit;
}



/* Footer */
div#footer {
  margin-left: 160px !important;
  border: none;
  background: transparent;
  color: #ffffff;
}

div#footer ul li {
  color: #ffffff;
}

div#footer a {
    color: #ffffff;
}

div#footer a:visited {
    color: #ffffff;
}

/* for MegaMenu */
div#mw-page-base {
  height:54px;
}
div#mw-head-base {
  height:54px;
}


/*end of MegaMenu*/

[[Category:Wiki]]