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
m (Increase #content specificity to restore background coloring)
(fixes carried over from the monobook css)
Line 1: Line 1:
 +
/* kill the monobook header image*/
 +
div#globalWrapper {
 +
    .background-image-svg(  );
 +
    background-position: 0 0;
 +
    background-repeat: no-repeat;
 +
    background:none;
 +
}
 +
 
body {
 
body {
 
     background: #F4E9DF;
 
     background: #F4E9DF;
Line 6: Line 14:
 
a:link, a:visited, #p-cactions li a {
 
a:link, a:visited, #p-cactions li a {
 
     color: #2062A3;
 
     color: #2062A3;
 +
}
 +
 +
a:link.new {
 +
    color: #CC2200;
 +
}
 +
 +
a:link.new:visited {
 +
    color: #A55858;
 
}
 
}
  
Line 26: Line 42:
  
 
#content {
 
#content {
     border: 2px solid #CEBEAE;
+
     border: 1px solid #CEBEAE;
 
}
 
}
  
 
#footer {
 
#footer {
     border: 2px solid #CEBEAE;
+
     border: 1px solid #CEBEAE;
     border-width: 2px 0;
+
     border-width: 1px 0;
 
}
 
}
 
#content table {
 
#content table {
Line 61: Line 77:
 
}
 
}
  
/* Left portlets */
+
 
 +
div#sidebar {
 +
    background: #838492;
 +
}
 +
div#sidebar-mobilejs {
 +
    background: #838492;
 +
}
 +
/* Left portlets (side menu and wiki logo sections)*/
 
.portlet {
 
.portlet {
 
     margin-bottom: 0;
 
     margin-bottom: 0;
Line 70: Line 93:
 
     display: none;
 
     display: none;
 
}
 
}
 
+
.portlet h3 {
 +
    text-transform: capitalize;
 +
    font-weight: lighter;
 +
    color: #E1E1E1;
 +
}
 +
#p-logo {
 +
    background: none;
 +
}
 +
/*Navigation, Search and Tools section */
 
.pBody {
 
.pBody {
 
     border: none;
 
     border: none;
Line 84: Line 115:
  
 
.pBody li {
 
.pBody li {
 +
text-indent: 1em;
 
     padding: 0.1em 0;
 
     padding: 0.1em 0;
 
}
 
}
Line 89: Line 121:
 
.pBody a:link, .pBody a:visited, .pBody a:hover {
 
.pBody a:link, .pBody a:visited, .pBody a:hover {
 
     color: white;
 
     color: white;
 +
    font-weight: bold;
 
}
 
}
 +
  
 
/* Content actions */
 
/* Content actions */

Revision as of 23:20, 29 April 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 }