MediaWiki:Common.css

MediaWiki:Common.css

From BeamNG

Revision as of 13:09, 11 November 2016 by Stenyak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* hide page title START */
body.page-Portal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* hide page title END */

#mainpage_topbox {
    background: #f9f9f9;
    border: 1px solid #aaaaaa;
    margin: 0.2em 10px 10px;
}

.mainpage_boxcontents {
    background: #ffffff;
    padding: 0.2em 0.4em;
}

#mainpage_sitelinks {
    padding: 0.2em;
    text-align: center;
    background-color: white;
}

.mainpage_hubtitle {
    text-align: center;
}

.mainpage_boxcontents, .mainpage_boxcontents_small {
    background: #ffffff;
    padding: 0.2em 0.4em;
}


.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell, #mainpage_opportunitiescell, #mainpage_featuredpagescell {
    border: 1px solid #aaaaaa;
}

.mainpage_hubbox {
    width: 33%;
}


.mainpage_hubtitle {
    text-align: center;
}


.mainpage_hubtitle {
    text-align: center;
}

.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
    font-size: 105%;
    padding: 0.4em;
    background-color: #eeeeee;
}

#mainpage_pagetitle {
    color: #cf7606;
    font-size: 200% !important;
}

.mainpage_titlebox {
    overflow:hidden;
    background:url(//wiki.beamng.com/images/4/49/MainpageBanner.png);
    background-repeat: no-repeat;
    background-position: center;
    height:305px;
}

.jbeamtable {
    width:100%;
    font-size:0.9em;
    font-family:monospace;
}

.jbeamtable tr td {
    vertical-align:top;
}

.jbeamtable tr td:first-child {
    font-weight:bold;
    min-width:150px;
}

.jbeamtable tr td:nth-child(2) {
    min-width:120px;
}

.jbeamtable tr td:nth-child(3) {
    min-width:50px;
}

.jbeamtable tr td:nth-child(3) {
    min-width:50px;
}

.jbeamtable tr td:nth-child(4) {
    min-width:150px;
}

.jbeamtable tr td:nth-child(5) {
    width:100%;
}

.jbeamtable th {
    color:#666;
    text-align:left !important;
}


/* Lua Table */
.luatable {
    width:100%;
    font-size:0.9em;
    font-family:monospace;
}

.luatable .syntaxhighlighter {
    margin:0 !important;
    border:0 !important;
}

.luatable tr td {
    vertical-align:top;
}

.luatable tr td:nth-child(1) {
    min-width:450px;
    width:30%;
}

.luatable tr td:nth-child(2) {
    min-width:250px;
    width:30%;
}

.luatable tr td:nth-child(3) {
    width:30%;
    font-family:verdana !important;
}

.luatable th {
    color:#666;
    text-align:left !important;
}


/******************************************************************/

.hwtable {
    width:100%;
    font-size:0.9em;
    font-family:monospace;
}

.hwtable tr td {
    vertical-align:top;
}

/* VID */
.hwtable tr td:first-child {
    width:40px;
    min-width:40px;
}

/* PID */
.hwtable tr td:nth-child(2) {
    width:40px;
    min-width:40px;
}

/* Revision */
.hwtable tr td:nth-child(3) {
    width:60px;
    min-width:60px;
}

/* Model */
.hwtable tr td:nth-child(4) {
    width:200px;
    min-width:200px;
}

/* Configuration */
.hwtable tr td:nth-child(5) {
    width:80px;
    min-width:80px;
}


/* Force Feedback */
.hwtable tr td:nth-child(6) {
    width:80px;
    min-width:80px;
}

/* Comments */
.hwtable tr td:nth-child(7) {
    width:50%;
}


.hwtable th {
    color:#666;
    text-align:left !important;
}

.automatic {
    background-color:rgb(153, 255, 153);
}
.nope{
    background-color:rgb(255, 153, 153);
}
.manual {
    background-color:rgb(255, 255, 187);
}
.unknown {
    background-color:#ccccff;
}