MediaWiki

Difference between revisions of "Common.css"

From CNAC

m
m
 
(11 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
     width: 100%;
 
     width: 100%;
 
     display: block;
 
     display: block;
 +
    text-align: center;
 +
}
 +
.image-text-container {
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
img.image-grid {
 
img.image-grid {
     height: 250px;
+
     height: 150px;
 
     width: auto;
 
     width: auto;
 
}
 
}
 
img.image-grid-max {
 
img.image-grid-max {
     max-height: 350px;
+
     max-height: 225px;
 
     width: auto;
 
     width: auto;
 
}
 
}
Line 86: Line 89:
 
}
 
}
 
table.aircraft.smwtable th {
 
table.aircraft.smwtable th {
     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D) );
+
     background-color:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D) );
     background:-moz-linear-gradient( center top, #8C8C8C 5%, #7D7D7D 100% );
+
     background-color:-moz-linear-gradient( center top, #8C8C8C 5%, #7D7D7D 100% );
 
     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');
 
     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');
 
     background-color:#8C8C8C;  
 
     background-color:#8C8C8C;  
 
     color:#FFFFFF;
 
     color:#FFFFFF;
 
     font-size: 1rem;
 
     font-size: 1rem;
     font-weight: bold;
+
     font-weight: 400;
 
     border-left: 1px solid #A3A3A3;
 
     border-left: 1px solid #A3A3A3;
 
     padding-top:10px;
 
     padding-top:10px;
 
     padding-bottom:10px;
 
     padding-bottom:10px;
 +
}
 +
/* Data tables on Aircraft Pages */
 +
table.data th.Notes {
 +
    width:35%;
 +
}
 +
table.data th.Sources {
 +
    width:10%;
 +
}
 +
table.data {
 +
    border-collapse: separate;
 +
    border:1px solid #aaa;
 +
}
 +
table.data td,
 +
table.data th {
 +
    border: 1px solid #fff !important;
 +
}
 +
table.wikitable.smwtable.data th {
 +
    font-size: .85rem;
 +
    font-weight: 500;
 +
    padding-top:10px;
 +
    padding-bottom:10px;
 +
}
 +
td p, td ul li {
 +
    font-size: 14px;
 +
}
 +
/* Image Gallery Results Format */
 +
.image-gallery {
 +
    display: inline-block;
 +
}
 +
.image-gallery li.gallerybox div.thumb {
 +
    background: #333;
 
}
 
}

Latest revision as of 10:59, 26 April 2020

/* CSS placed here will be applied to all skins */
#pfForm input:not([type]), #pfForm input[type="text"], #pfForm input[type="password"], #pfForm input[type="date"], input[type="datetime"], #pfForm input[type="datetime-local"], #pfForm input[type="month"], #pfForm input[type="week"], #pfForm input[type="email"], #pfForm input[type="number"], #pfForm input[type="search"], #pfForm input[type="tel"], #pfForm input[type="time"], #pfForm input[type="url"], #pfForm input[type="color"], #pfForm textarea {
width:auto;
}
#pfForm input#wpSummary {
    width: 100%;
}
table.formtable th {
    vertical-align: middle;
}
table.infobox-page dl dd {
    margin-left: 0;
    margin-bottom: 0;
}
table.infobox-page td, table.infobox-page th {
    line-height: 1.2;
    font-size: .85rem;
    padding:.5em .25em;
}
table.infobox-page th {
    font-weight:600;
    min-width: 150px;
    text-align:right;
}
input.dayInput, select.monthInput {
    float: left;
}
.image-container {
    width: 100%;
    display: block;
    text-align: center;
}
.image-text-container {
    text-align: center;
}
img.image-grid {
    height: 150px;
    width: auto;
}
img.image-grid-max {
    max-height: 225px;
    width: auto;
}
.ns-5000 h3#tagline {
    display: none;
}
iframe form#mw-upload-form {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
table.wikitable.smwtable.broadtable{
    width: 100%;
    min-width: 1150px;
}
table.formtable th {
    background: #61b6d9;
    color: white;
}
table.formtable > tr > th, 
table.formtable > tr > td, 
table.formtable > * > tr > th, 
table.formtable > * > tr > td {
    border: 2px #fff solid;
    padding: 0.25em;
}
table.formtable {
    width: 100%;
}
h3.formtable {
    float: left;
    color: white;
    padding: 8px 5px 0;
}
.placeholder::placeholder {
    color: #ccc;
}
h2.cnac-aircraft-data {
    color: #777;
    border-bottom: 1px solid #dddeee;
}
/* even and odd in aircraft tables */
.aircraft.smwtable .row-even {
    background-color: #EBEBEB;
}
.aircraft.smwtable .row-odd {
    background-color: #fff;
}
.aircraft.smwtable th.Notes {
    width:50%;
}
table.aircraft.smwtable th {
    background-color:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D) );
    background-color:-moz-linear-gradient( center top, #8C8C8C 5%, #7D7D7D 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');
    background-color:#8C8C8C; 
    color:#FFFFFF;
    font-size: 1rem;
    font-weight: 400;
    border-left: 1px solid #A3A3A3;
    padding-top:10px;
    padding-bottom:10px;
}
/* Data tables on Aircraft Pages */
table.data th.Notes {
    width:35%;
}
table.data th.Sources {
    width:10%;
}
table.data {
    border-collapse: separate;
    border:1px solid #aaa;
}
table.data td,
table.data th {
    border: 1px solid #fff !important;
}
table.wikitable.smwtable.data th {
    font-size: .85rem;
    font-weight: 500;
    padding-top:10px;
    padding-bottom:10px;
}
td p, td ul li {
    font-size: 14px;
}
/* Image Gallery Results Format */
.image-gallery {
    display: inline-block;
}
.image-gallery li.gallerybox div.thumb {
    background: #333;
}