Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "MediaWiki:Twc.css"

From TWC Wiki
Jump to navigationJump to search
(center h1's as frontpage and portal fix)
(Undo revision 76941 by Makanyane (talk))
(Tag: Undo)
Line 30: Line 30:
 
h1, h2, h3, h4, h5, h6, .pBody, table {  
 
h1, h2, h3, h4, h5, h6, .pBody, table {  
 
     color: inherit;
 
     color: inherit;
}
 
 
h1 {
 
    text-align:center;
 
 
}
 
}
  

Revision as of 06:26, 17 May 2019

/* kill the monobook header image*/
div#globalWrapper {
    .background-image-svg(  );
    background-position: 0 0;
    background-repeat: no-repeat;
    background:none;
}

body {
    background: #F4E9DF;
    color: #6D6155;
}

a:link, a:visited, #p-cactions li a {
    color: #2062A3;
}

a:link.new {
    color: #CC2200;
}

a:link.new:visited {
    color: #A55858;
}

a:hover, a:active {
    color: #8C2B39;
}

h1, h2, h3, h4, h5, h6, .pBody, table { 
    color: inherit;
}

div#content, #footer {
    background: #E9DED4;
    color: #473D33;
}

div.thumb {
    border-color: #E9DED4;
}

#content {
    border: 1px solid #CEBEAE;
}

#footer {
    border: 1px solid #CEBEAE;
    border-width: 1px 0;
}
#content table {
    background-color: #E9DED4;
}

#content table.toc {
    background-color: #F4E9DF;
}

.mw-headline, h1.firstHeading {
    /* Non-bold h1 and h2 look ugly */
    font-weight: bolder;
}

ul {
    list-style-image: none !important;
}

div.section {
    border: 2px solid grey;
    padding: .4em .9em .9em;
    background-color: #f4e9df;
    margin: 3px;
}

div.section div.section div.section {
    border-width: 1px;
}


div#sidebar {
    background: #838492;	
}
div#sidebar-mobilejs {
    background: #838492;	
}
/* Left portlets (side menu and wiki logo sections)*/
.portlet {
    margin-bottom: 0;
    margin-top: 0;
}

.portlet h5, .portlet h6 {
    display: none;
}
.portlet h3 {
    text-transform: capitalize;
    font-weight: lighter;
    color: #E1E1E1;
}
#p-logo {
    background: none;
}
/*Navigation, Search and Tools section */
.pBody {
    border: none;
    background: #838492;
}

.pBody ul {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
    margin: 0;
}

.pBody li {
	text-indent: 1em;
    padding: 0.1em 0;
}

.pBody a:link, .pBody a:visited, .pBody a:hover {
    color: white;
    font-weight: bold;
}


/* Content actions */

#p-cactions ul {
    /* Same as normal ul */
    margin: 0.3em 0 0 1.5em;
}

#p-cactions li.selected {
    /* 2px instead of 1 to match border around #content */
    border-width: 2px;
}

#p-cactions li.selected a {
    background-color: #E9DED4;
}

#p-cactions li a {
    /* Slightly darker */
    background-color: #E3D8C8;
}


/* Override candy-colored front page */

.frontpage-wikinews {
    background-color: #d7c7c7;
}

.frontpage-generalmodding {
    background-color: #e5e0df;
}

.frontpage-m2tw {
    background-color: #cdc7c7;
}

/* Special:Preferences */

#preferences, #preferences table, #preftoc li.selected {
    background-color: #E3D8CD;
}
#preftoc li {
    background-color: #DACFC5;
    color: inherit;
}

code, tt { background: none }

/* adjust the poll box appearance */
div.ajaxpoll {
    background: #FCFAF8;
    color: #6D6155;
    border: 2px solid grey;
}
div.ajaxpoll-id-info {
    display: none;
}
div.ajaxpoll-answer-vote {
    background: white;
}
/* needed for toc links in header if we instal PageBanner*/
div.wpb-bottomtoc .toctext  {
	color: white;
}
div.wpb-topbanner-toc .toctext  {
	color: white;
}