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 "User:Makanyane/twc.css"

From TWC Wiki
Jump to navigationJump to search
(bye)
(Tag: Blanking)
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Mak's testing area for twc skin */
 
/*  STYLING */
 
div.TWCRsection, div.TWCRgroup {
 
        border: none;
 
        background: none;
 
padding: none;
 
margin: none;
 
}
 
  
/*  SECTIONS  ============================================================================= */
 
 
.TWCRsection {
 
clear: both;
 
padding: 0px;
 
margin: 0px;
 
}
 
 
/*  GROUPING  ============================================================================= */
 
 
.TWCRgroup:before,
 
.TWCRgroup:after {
 
    content:"";
 
    display:table;
 
}
 
.TWCRgroup:after {
 
    clear:both;
 
}
 
.TWCRgroup {
 
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
 
}
 
 
/*  GRID COLUMN SETUP  ==================================================================== */
 
 
.TWCRcol {
 
display: block;
 
float:left;
 
margin: 1% 0 1% 1.6%;
 
}
 
 
.TWCRcol:first-child { margin-left: 0; } /* all browsers except IE6 and lower */
 
 
 
/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */
 
 
@media only screen and (max-width: 700px) {
 
.TWCRcol {
 
margin: 1% 0 1% 0%;
 
}
 
}
 
 
/*  GRID OF THREE  */
 
.span_3_of_3 {
 
width: 100%;
 
}
 
.span_2_of_3 {
 
width: 66.1%;
 
}
 
.span_1_of_3 {
 
width: 32.2%;
 
}
 
 
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
 
 
@media only screen and (max-width: 700px) {
 
.TWCRcol { margin: 1% 0 1% 0%;}
 
.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
 
}
 
 
/*  GRID OF TWO  ============================================================================= */
 
 
 
.span_2_of_2 {
 
width: 100%;
 
}
 
 
.span_1_of_2 {
 
width: 49.2%;
 
}
 
 
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
 
 
@media only screen and (max-width: 700px) {
 
.span_2_of_2 {
 
width: 100%;
 
}
 
.span_1_of_2 {
 
width: 100%;
 
}
 
}
 
/*  GRID OF TWO  40/60============================================================================= */
 
 
 
.span_40_of_2 {
 
width: 39.36%;
 
}
 
.span_60_of_2 {
 
width: 59.04%;
 
}
 
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
 
 
@media only screen and (max-width: 700px) {
 
.span_40_of_2 {
 
width: 100%;
 
}
 
.span_60_of_2 {
 
width: 100%;
 
}
 
}
 
.TWCportal_1, .TWCportal_2, .TWCportal_3 {    border: none;
 
    padding: .4em .9em .1em;
 
    color: black;
 
    vertical-align: top;
 
}
 
.TWCportal_1 {
 
    background: rgb(227,227,227);
 
    background: linear-gradient(180deg, rgba(165,165,180,0.5) 0%, rgba(165,165,180,0) 100%);
 
}
 
.TWCportal_2 {
 
    background: rgb(205,199,199);
 
    background: linear-gradient(180deg, rgba(168,160,162,0.5) 0%, rgba(168,160,162,0) 100%);
 
}
 
.TWCportal_3 {
 
    background: rgb(229,225,219);
 
    background: linear-gradient(180deg, rgba(168,168,162,0.5) 0%, rgba(168,168,162,0) 100%);
 
}
 
.TWCportal_head {
 
    padding:5px;
 
    background:#7d1515;
 
    color:white;
 
    margin-bottom: 0em;
 
}
 
h2.TWCportal_head{
 
    font-size: 128%;
 
    border-bottom: 0;
 
    font-weight: bolder;
 
}
 
h1.TWCportal_head{
 
    padding:10px;
 
    border-bottom: 0;
 
    text-align: center;
 
}
 

Latest revision as of 08:27, 26 May 2020