Difference between revisions of "MediaWiki:Mobile.css"

From Carnage Racing Wiki
Jump to: navigation, search
 
Line 132: Line 132:
 
     border-radius: 4px;
 
     border-radius: 4px;
 
}
 
}
+
 
 +
 
 +
.wikitable
 +
{
 +
    border: 1px solid #388B8F !important;
 +
    background-color: white !important;
 +
}
 
   
 
   
 
/* NAVBOX */
 
/* NAVBOX */

Latest revision as of 14:38, 2 August 2015

.aboutText 
{
    padding-left: none;
}

body
{
    background-color: #E5E8E8;
}
 
#content_wrapper
{
    background-color: #E5E8E8;
}
 
.icon-mainmenu
{
    background-image: url('http://carnage.gamernac.com/w/Light-Menu.png');
}
 
.header
{
    background-color: #388B8F;
}
 
input.search
{
    padding: 5px;
}
 
#footer 
{
    background-color: #E5E8E8;
}
 
.animations #mw-mf-page-center
{
    background-color: #E5E8E8;
}
 
.client-js .toc-mobile
{
    border: 1px solid #A5A5A5 !important;  
    background-color: #F9F9F9 !important;
}
 
p
{
    color: #262719;
}

li
{
    color: #262719;
}

a
{
    color: #388B8F;
} 

a:visited
{
    color: #388B8F;
}

a.external:visited 
{
    color: #388B8F;
}
 
 
.mainPageBox
{
    border: 1px solid #388B8F;
    margin: 7px; 
    padding: 6px; 
    background-color: white;
    height: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.boxHeader
{
    background: #acc952; 
    background: -moz-linear-gradient(top, #acc952 0%, #98ba32 51%, #839d20 99%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#acc952), color-stop(51%,#98ba32), color-    stop(99%,#839d20));
    background: -webkit-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%);
    background: -o-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%); 
    background: -ms-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%);
    background: linear-gradient(to bottom, #acc952 0%,#98ba32 51%,#839d20 99%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#acc952', endColorstr='#839d20',GradientType=0 );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #415500;
    margin: 0px 0px 3px 0px;
    text-align: center;
    color: #fbf9ff;
    padding: 4px;
    font-weight: bold;
    font-variant:small-caps; 
    font-size: 120%;
}

.boxFooter
{
    border: 0; 
    width: 100%; 
    margin-bottom: 3px;
    margin-top: 10px; 
    text-align:center;
    font-weight: bold;
}

 
 
.aboutBox
{
    border: 1px solid #388B8F; 
    margin: 7px; 
    padding: 6px; 
    background-color: white;
    color: black;
    height: auto;
    background-position: left center; 
    background-repeat: no-repeat;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


.wikitable
{
    border: 1px solid #388B8F !important;
    background-color: white !important;
}
 
/* NAVBOX */

.navbox 
{ 
    background-color: white; 
    border-collapse: collapse;
    border: 1px solid #388B8F; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    text-align: center;  
    width: 80%;
}

.navbox td {
    padding: 4px;
    border: 1px solid #415500;
    text-align: center;
}

.navbox th {
    background: #acc952; 
    background: -moz-linear-gradient(top, #acc952 0%, #98ba32 51%, #839d20 99%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#acc952), color-stop(51%,#98ba32), color-    stop(99%,#839d20));
    background: -webkit-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%);
    background: -o-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%); 
    background: -ms-linear-gradient(top, #acc952 0%,#98ba32 51%,#839d20 99%);
    background: linear-gradient(to bottom, #acc952 0%,#98ba32 51%,#839d20 99%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#acc952', endColorstr='#839d20',GradientType=0 );
    border: 1px solid #415500;
    margin: 0px 0px 3px 0px;
    text-align: center;
    color: #fbf9ff;
    padding: 4px;
    font-weight: bold;
    font-variant:small-caps; 
    font-size: 120%;
}

.navbox th a:visited {
    color: #fbf9ff !important;
}

.navbox th a {
    color: #fbf9ff !important;
}

.navboxheader {
    color: #fbf9ff; !important
}

/* INFOBOX */

.infobox 
{ 
    background-color: white; 
    border-collapse:collapse;
    border: 1px solid #C05529; 
    margin: 10px;
    float:right; 
    clear:right; 
    width: 400px;
}

.infobox tr {
   border: 1px solid #C05529;
}

.infobox td {
   padding: 4px;
}

.infobox th {
    background-color: #C05529;
    color: white;
    font-weight: bold; font-size: 115%;
    font-variant:small-caps;
    border: 1px solid #C05529;
}
 
 
/* Some specific tweaks to make stuff work better on the mobile skin, especially the main page */ 
 
#mf-Welcome::before {
  content: "Welcome to the Carnage Racing Wiki!";
}
 
#mf-Welcome {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #388B8F;
    color: #fbf9ff;
    padding: 2px;
    font-weight: bold;
    font-size: 115%;
    font-variant:small-caps;
}