Common.css
From CNAC
Revision as of 10:59, 26 April 2020 by TomHutchison (talk | contribs)
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 */
#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;
}