MediaWiki:Wikia.css

/* LEAVE THIS IMPORT ABOVE EVERYTHING ELSE */ @import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";

/* Overriding global text/header sizing */ .WikiaArticle { font-size: 14px !important;} /*.WikiaArticle { font-family: Helvetica }*/

.WikiaArticle h1 {font-size:25px; font-weight:bold;} .WikiaArticle h2 {font-size:21px; font-weight:bold;} .WikiaArticle h3 {font-size:18px; font-weight:bold;} .WikiaArticle h4 {font-size:16px; font-weight:bold;} .WikiaArticle h5 {font-size:15px; font-weight:bold;} .WikiaArticle h6 {font-size:15px; font-weight:bold;} /* Wikitable properties */ .wikitable th, .wikitable td { /*padding: 0.25em 0.4em !important;*/ padding-top: 0.25em !important; padding-bottom: 0.25em !important; }

/* Table of contents */ .toc ul { list-style: none; margin: 1; } /* Background CSS */ body { background-attachment: fixed; }

/* Slider colour */ .neutral { background-color: black; } .wikia-slideshow-wrapper, .wikia-slideshow-images-wrapper, .wikia-slideshow-image { background: transparent; }

/* Disabling "Read More" at page bottom */ .RelatedPagesModule {display: none;}

/* Show Large Tables Normally */ .WikiaWideTablesWrapper canvas {display:none;} .WikiaWideTablesWrapper img.sprite.popout {display:none;} .WikiaWideTablesWrapper > .table {overflow:visible;}

/* === Gallery settings === */ .gallery-image-wrapper { background: transparent; border:1px solid #cccccc; }

/* === Navbox style === */ .navbox th { text-align: center;     /* Centered title & bigger margin to right  */ padding-left: 0.5em;    /* and left sides                           */ padding-right: 0.5em; }

/* === Collapse Button === */

/* the ones created with collapsible collapsed */ .collapseButton {         /* 'show'/'hide' buttons created dynamically */ float: right;         /* by the CollapsibleTables javascript in    */ font-weight: normal;  /* MediaWiki:Common.jsare styled here    */ text-align: right;    /* so they can be customised. */   width: auto; } /* Yellow button for Template:Aston Martin Racing */ .amryellow .collapseLink { color:#ffeb00; font-weight: bold; } .amryellow .collapseButton { font-weight: bold; } /* White Button */ .white .collapseLink { color:#ffffff; font-weight: bold; } .white .collapseButton { font-weight: bold; } /* Black Button */ .black .collapseLink { color:#000000; font-weight: bold; } .black .collapseButton { font-weight: bold; }

/* the ones created with mw-collapsible mw-collapsed */

/* White colored buttons */ .whitelinks .mw-collapsible-toggle > a { color: white; }

/* Yellow - AMR navibox */ .amryellow .mw-collapsible-toggle > a { color: #ffeb00; }

/* === Mainpage lineup image size === */ .mainpagelineup img{ width:100%; height:auto; }

/* === Image scaling class for country flag icons === */ .flags img { width:100%; height:auto; max-width:23px; }

/* === Portable Infobox general === */ /* == overall font-size == */ .portable-infobox .pi-secondary-font, .portable-infobox .pi-font { font-size: 11px; } /* == overall background color == */ .portable-infobox.pi-background { background-color:#f8f8f8; } /* == collaps arrow color == */ .portable-infobox .pi-collapse .pi-header::after { border-color:#ffffff !important; } /* == infobox attributs == */ .portable-infobox { border:1px solid #cccccc; } /* == title attributes == */ .portable-infobox .pi-title { background-color:#f8f8f8; color:#3a3a3a; text-align: center; font-size: 14px; font-weight: bold; } /* == header attributes == */ .portable-infobox .pi-header { background-color:#c71e1e; color:#ffffff; text-align: center; font-weight: bold; }

/* == panel attributes == */ .portable-infobox .pi-panel .pi-section-navigation { background-color:#f8f8f8; } .portable-infobox .pi-panel .pi-section-tab { border-bottom:4px solid #f8f8f8; } .portable-infobox .pi-panel .pi-section-tab.pi-section-active { box-shadow:none; border-bottom:4px solid #c71e1e; } .portable-infobox .pi-panel .pi-section-label { text-transform:none; height:16px; font-size: 11px; color:#3a3a3a; font-weight:normal; } .portable-infobox .pi-panel .pi-section-tab:hover { border-bottom:4px solid #de6060; } .portable-infobox .pi-panel .pi-section-tab:hover.pi-section-active { border-bottom:4px solid #c71e1d; } /* == group attributes == */ .portable-infobox .pi-group { border:none; } /* == data attributes == */ .portable-infobox .pi-data { border:none; }

/* == image caption attributes ==*/ .portable-infobox .pi-caption { text-align: center; } /* === Portable Infobox theme driver === */ /* == infobox attributs == */ .pi-theme-driver { width:270px; } /* == image attributes == */ .pi-theme-driver .pi-image-thumbnail { max-width: 250px; /* Typically, use the same width as your infobox, minus borders */ height: auto; /* Preserves the image ratio */ margin-bottom: 2px; } /* == label (left) column width == */ .pi-theme-driver .pi-data-label { flex-basis:108px; } /* === Portable Infobox theme constructor === */ /* == infobox attributs == */ .pi-theme-constructor { width:270px; } /* == image attributes == */ .pi-theme-constructor .pi-image-thumbnail { max-width: 264px; /* Typically, use the same width as your infobox, minus borders */ max-height: 200px; height: auto; /* Preserves the image ratio */ width: auto; /* Preserves the image ratio */ } /* == label (left) column width == */ .pi-theme-constructor .pi-data-label { flex-basis:108px; }

/* == navigation styling == */ .pi-theme-constructor .pi-navigation { background-color:#f8f8f8; border-top:1px solid #cccccc; text-align:center; line-height:13px; } /* == link colour in navigation == .pi-theme-constructor .pi-navigation a, .pi-theme-constructor .pi-navigation a:link, .pi-theme-constructor .pi-navigation a:visited { color:#ffffff; }/*

/* === Portable Infobox theme grand prix === */

/* == infobox attributes == */ .pi-theme-grand_prix { width:300px; }

/* == label font size == */ .pi-theme-grand_prix .pi-panel .pi-section-label { font-size:16px; }

/* == label (left) column width == */ .pi-theme-grand_prix .pi-data-label { flex-basis:150px; }

/* == image attributes == */ .pi-theme-driver .pi-image-thumbnail { max-width: 294px; /* Typically, use the same width as your infobox, minus borders */ height: auto; /* Preserves the image ratio */ }

/* = for all tabs = */ .pi-theme-grand_prix .pi-image-collection-tabs li { background: #f8f8f8; }

/* = for the currently selected tab = */ .pi-theme-grand_prix .pi-image-collection-tabs li.current { background: #f8f8f8; }

.pi-theme-grand_prix .pi-image-collection-tab-content { background-color: transparent; }

/* === Portable Infobox theme season === */ /* == infobox attributes == */ .pi-theme-season { width:300px; } /* == overall font-size == */ .pi-theme-season .pi-secondary-font, .pi-theme-season .pi-font { font-size:10px; } /* == title attributes == */ .pi-theme-season .pi-title { font-size:10.5px; line-height:20px; border-bottom:1px solid #cccccc; } /* == label (left) column width == */ .pi-theme-season .pi-data-label { flex-basis:150px; font-weight:normal; } /* == horizontal group attributes == */ .pi-theme-season .pi-horizontal-group { border-top:1px solid #cccccc; }

.pi-theme-season .pi-horizontal-group .pi-data-value { border:none; }

/* === Portable Infobox theme race report === */ /* == infobox attributes == */ .pi-theme-race_report { width:450px; }

/* == overall font-size == */ .pi-theme-race_report .pi-secondary-font, .pi-theme-race_report .pi-font { font-size:10px; }

/* == title attributes == */ .pi-theme-race_report .pi-title { font-size:11px; line-height:20px; }

/* == header attributes == */ .pi-theme-race_report .pi-header { background-color:#f8f8f8; font-size:11px; border-top:1px solid #cccccc; }

/* == horizontal group attributes == */ .pi-theme-race_report .pi-horizontal-group { border-top:1px solid #cccccc; } .pi-theme-race_report .pi-horizontal-group .pi-data-value, .pi-theme-race_report .pi-horizontal-group .pi-data-label { border:none; }

/* === Portable Infobox theme test === */ /* == infobox attributs == */ .pi-theme-test { width:270px; } /* == image attributes == */ .pi-theme-test .pi-image-thumbnail { max-width: 264px; /* Typically, use the same width as your infobox, minus borders */ max-height: 200px; height: auto; /* Preserves the image ratio */ width: auto; /* Preserves the image ratio */ } /* == label (left) column width == */ .pi-theme-test .pi-data-label { flex-basis:108px; } /* == navigation styling == */ .pi-theme-test .pi-navigation { background-color:#f8f8f8; border-top:1px solid #cccccc; text-align:center; line-height:13px; }