MediaWiki:Common.css

From DDO Compendium
Revision as of 21:10, 30 May 2018 by MNDeveloper (talk | contribs)

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.ddoclassheader
{
    background-color:black;
    border: 1px solid white;
    width: 100%;
}

.ddoclassheader .classlist
{
    margin-bottom: 0;
    padding-left: 0;
    padding-bottom:5px;
    list-style: none
}

.ddoclassheader .ddoclassicon
{
    width: 75px;
    text-align: center;
    height: 85px;
    margin-bottom:5px;
    margin-top: 5px;
    float: left;
}


a {
    color: #E9E2BA;
}

a:visited {
    color: #C2B87E;
}

select, table a.external:link, #categoryselectmaster {
    color: #444 !important;
}

a.external:visited {
    color: #777 !important;
}

body, nav {
    overflow-anchor: none !important;
}

#toc {
    float: right;
    border: 1px #ccc solid;
    padding: 5px 15px 15px 15px;
    margin: 5px;
}

/* File history and other tables bg color */
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: rgb(0, 0, 0, 0);
}

.navbar-default {
    background-image: none;
}

.btn-default {
    background-image: none;
}

.navbar-default .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a {
    border-left: none;
}

#pagehistory li.selected {
    background-color: #000000;
}

#filetoc {
    background-color: #000000;
}

th {
    text-align: center;
}

/* Editing box button text color */
.wikiEditor-ui-buttons {
    color: #000;
}

/* License link in Special:Version */
.mw-version-ext > td > a, div.search-types > ul li a {
    color: #000;
}

.mw-version-ext > td > a:visited, div.search-types > ul li a:visited {
    color: #555 !important;
}

div.search-types > ul li.current a {
    font-weight: bold;
}

/* For the server status widget */
.row.ss-widget-text-center > div {
    display: inline-block;
    float: none;
}

.quest {
    padding-top:5px
}

.quest .box
{
    border: 1px solid rgba(39,43,46,0.6);
}

.quest .outer-box
{
    float: right;
    margin-left:10px;
    max-width:300px;
    font-size:14px; 
    background-color:#3a3f44
}

.quest .inner-box
{
    padding:5px;
}

.quest .box-header
{
    font-size:20px; 
    text-align:center;
}

.quest .paragraph-body
{
    font-size: 14px;
    margin-bottom:5px;
}

.quest .sub-paragraph-header
{
    font-size: 26px;
}

.quest .paragraph-header
{
    font-size: 32px;
}

.quest .flavor-text
{
    font-style:italic;
}

@media screen and (max-width: 500px)
{
    .quest .outer-box
    {
        float: none;
        width: 100%;
        max-width:100%;
    }

    .quest .inner-box
    {
        width: 100%;
    }
}

.item-table
{
    border: 1px solid #B0B5B8; 
    background-color: black;
    width:100%;

}

.item-table .background-color
{
    background-color: black;
}

.item-table .item-info-side
{
    padding-left:20px;
    padding-right:10px;
    padding-top:10px;
    padding-bottom:10px;
    width:50%;
    vertical-align: top;
}

.item-table .item-info-full
{
    padding-left:20px;
    padding-right:10px;
    padding-top:10px;
    padding-bottom:10px;
    width:100%;
    vertical-align: top;
}

.item-table .icon
{
    width:50px;
}

.item-table .title
{
    font-size: 20px;
    text-align: center;
    width:100%;
}

.item-table .item-image-side
{
    border-left: solid 1px white;
    width:100%;
    vertical-align: top;
}

.item-table .item-image-side .extra-details
{
   padding: 10px;
}

.item-table .item-image-table
{
    width:100%; 
    padding-left:20px;
    padding-right:10px;
}

.item-table .item-image
{
    width:100%; 
    padding-left:20px;
    padding-right:10px;
   padding-top: 10px;
}

.item-table .full
{
    width:100%;
}

.item-image img
{
    height: auto; 
    width: auto; 
    max-width: 300px; 
}

.item-table .item-image-table .item-image
{
    text-align:center; 
    border-bottom: solid 1px white; 
    padding-bottom:15px;
    margin-bottom:10px;
}

.item-table .item-image-table .item-image-notext
{
    text-align:center; 
    padding-top:15px;
    padding-bottom:15px;
    margin-bottom:10px;
}


@media screen and (max-width: 750px)
{
.item-table .item-info-side
{
    padding-left:10px;
    padding-right:5px;
    width:100%
}

.item-table .item-image-table
{
    width:100%; 
    padding-left:0px;
    padding-right:0px;
    padding-top:10px;
}

.item-table .item-image-side
{
    width:100%;
    border-top: 1px solid #B0B5B8;
    border-left: none;
    vertical-align: top;
}

.item-table .icon
{
    text-align: center;
    width:100%;
    padding-top:10px;
}
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: gray;
}

/* Playing with mobile resolutions, should make all tables mobile responsive */
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    table, thead, tbody, th, td, tr {
        text-align: left;
        display: block;
    }

    /* this is the class of all link images for the header of the navigational table */
    #navigational_header_images {
        display: none !important;
    }

    #sidebar {
        display: none !important;
    }
}