Difference between revisions of "User:Makanyane/twc.css"
From TWC Wiki
Jump to navigationJump to search (added portal colours from anisa) |
|||
Line 21: | Line 21: | ||
color: #000000; | color: #000000; | ||
} | } | ||
+ | |||
+ | /* Overwrite table collapse from Anisa */ | ||
+ | table { | ||
+ | border-collapse: separate; | ||
+ | border-spacing: 2px; | ||
+ | } | ||
+ | table th, td, tr { | ||
+ | border-collapse: separate; | ||
+ | border-spacing: 2px; | ||
+ | } | ||
+ | |||
+ | /* Fixes for classes used in user-generated content */ | ||
+ | /* colour and styling of infobox used on templates etc */ | ||
+ | .infobox { | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | .infobox th { | ||
+ | background-color: #D3B385; | ||
+ | } | ||
+ | .infobox td { | ||
+ | background-color: #EADCC1; | ||
+ | } | ||
+ | .infobox.bordered td, | ||
+ | .infobox.bordered th { | ||
+ | padding: 0.1em 0.25em; | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | |||
/*TWC brown coloured versions of the front page boxes*/ | /*TWC brown coloured versions of the front page boxes*/ |
Revision as of 00:47, 5 March 2020
/* TWC-ify stuff */ body { background-color: #9D7342; background-image: url("https://www.twcenter.net/images/FP_Background.png"); } div#content, #footer { background-image: url("https://wiki.twcenter.net/images/c/cf/Background3.png"); } #p-personal li a { color: #FFFFFF; font-size: 1.1em; padding-top: 0.25em; } div#sidebar, #p-navigation { background-image: url("https://www.twcenter.net/forums/images/y2skin/Background10.png"); } div#p-navigation div, div#p-Important_Pages div, div#p-My_Sidebar div, div#p-search div, div#p-tb div, div#p-Visit_TWC div { background-image: url("https://wiki.twcenter.net/images/c/cf/Background3.png"); color: #000000; } /* Overwrite table collapse from Anisa */ table { border-collapse: separate; border-spacing: 2px; } table th, td, tr { border-collapse: separate; border-spacing: 2px; } /* Fixes for classes used in user-generated content */ /* colour and styling of infobox used on templates etc */ .infobox { border: 1px solid black; } .infobox th { background-color: #D3B385; } .infobox td { background-color: #EADCC1; } .infobox.bordered td, .infobox.bordered th { padding: 0.1em 0.25em; border: 1px solid black; } /*TWC brown coloured versions of the front page boxes*/ .TWCportal_1, .TWCportal_2, .TWCportal_3 { border: none; padding: .4em .9em .1em; color: black; vertical-align: top; } .TWCportal_1 { background: rgb(209,175,127); background: linear-gradient(180deg, rgba(207,171,121,0.5) 0%, rgba(207,171,121,0.25) 25%, rgba(207,171,121,0) 100%); } .TWCportal_2 { background: rgb(209,175,127); background: linear-gradient(180deg, rgba(141,117,83,0.5) 0%, rgba(141,117,83,0.25) 25%, rgba(141,117,83,0) 100%); } .TWCportal_3 { background: rgb(209,175,127); background: linear-gradient(180deg, rgba(157,115,66,0.5) 0%, rgba(157,115,66,0.25) 25%, rgba(157,115,66,0) 100%); } .TWCportal_1 h1 { margin: 0; } .TWCportal_2 h1 { margin: 0; } .TWCportal_3 h1 { margin: 0; }