Common.css
From ThornsWiki
Revision as of 14:54, 2 April 2019 by Thornswiki (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: 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 */
@import url('https://fonts.googleapis.com/css?family=Alice|Metamorphous');
body {
font-family: 'Alice', Georgia, Serif;
font-size: 1em;
line-height:1.25em;
}
table.wikitable {
background-color: #f8f9fa;
color: #222;
margin: 1em 0;
border: 1px solid #a2a9b1;
border-collapse: collapse;
float:right;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: #977c4f;
text-align: center;
color: #FFFFFF;
font-size: .80em;
text-transform: uppercase;
}
table.wikitable > tr:nth-child(odd), table.wikitable > * > tr:nth-child(odd) {
background-color: #d6d1c6 !important;
}
/* EVERYTHING ELSE */
a {
text-decoration: none;
color: #605543;
background: none;
}
a:visited {
text-decoration: none;
color: #605543;
background: none;
}
a:hover {
text-decoration: underline;
color: #937c54;
background: none;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Metamorphous', Serif;
}
div#toc {
display: inline-block;
float: right !important;
margin-left: 35px !important;
padding: 20px !important;
border: 2px solid #605543 !important;
clear: both;
width: 17.5em;
margin-top: 0px;
}
.toc .toctitle > h2 {
background: #e8e4da;
color: #5f5543 !important;
margin-top: 0;
margin-bottom: 0;
padding: 5px;
border:none;
display:block;
}
.mw-headline {
/*padding-left:10px;*/
}
.mw-content-ltr h2 {
display: block;
/*overflow: hidden;*/
padding: 8px 20px;
margin-bottom: 10px;
margin-top: 30px;
background: #e8e4da;
color: #5f5543 !important;
border: none !important;
max-width: 100%;
}
.mw-content-ltr h4 {
padding-left: 10px;
color: #5f5543 !important;
max-width: 100%;
margin-top: 30px !important;
font-size: 1em !important;
background: #e8e4da;
padding-top: 14px;
padding-bottom: 14px;
}
.mw-headline .mw-editsection > a {
color:#36250f;
text-decoration:none;
}
.mw-headline .mw-editsection > a:hover {
color:#36250f;
text-decoration:none;
}
.mw-headline .mw-editsection > a:visited {
color:#36250f;
text-decoration:none;
}
.mw-content-ltr h3 {
border-bottom: 4px solid #e8e4da;
/*padding-left: 20px;*/
color:#5f5543;
max-width:100%;
margin-top:20px;
}
.mw-content-ltr h4 {
/* border-bottom: 4px solid #e8e4da; */
padding-left: 10px;
color: #5f5543;
max-width: 100%;
margin-top: 20px;
font-size: 1.15em;
}
table tr.even, table tr.alt, table tr:nth-of-type(even) {
background-color: #e8e4da !important;
}
table tr.odd, table tr.alt, table tr:nth-of-type(odd) {
background-color: #e8e4da !important;
}
/* Pivot Restyling */
.subheader {
line-height: 1.35em;
color: #373126 !important;
font-weight: normal;
margin-top: 0.75rem;
margin-bottom: 0.5rem;
background-color: #e8e4da;
padding: 12px 15px 8px 0px;
}
.tabs-content {
margin-bottom: 1.5rem;
width: 100%;
background: #e8e4da;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
}
.CategoryTreeToggle {
color: #373126;
}
.CategoryTreeEmptyBullet {
color: #666;
}
/* INFOBOX STYLING, CARGO */
.infobox {
float: right;
border: 2px solid #5f5543;
background-color: #f9f9f9;
color: #000;
margin: 0 0 2rem 2rem;
clear: left;
text-align: left;
font-size: 88%;
line-height: 1.5em;
width: 20em;
border-spacing:0;
}
.infobox-title, .infobox-footer {
text-align: center;
color: #FFFFFF;
font-family: 'Metamorphous',serif;
background-color: #5f5543;
font-size:1.25em;
padding:10px 0px;
display:block;
max-width:100%;
font-weight:normal;
}
.infobox-image {
text-align: center;
padding: 0px;
margin-top: 8px;
}
.infobox-caption{
font-size:.85em; background:#FFF; color:#695b4e;width:100%;padding:10px; text-align:center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: middle;
}
.infobox table tr th, table tr td {
font-size: 0.875rem;
padding: .25rem .5rem;
text-align: left;
}
table tr th.row_header {
color: #FFFFFF;
font-family: 'Metamorphous',serif;
background-color: #5f5543;
font-size:1.15em;
padding:10px 0px;
text-align: center !important;
}
table tr th.infobox-label{
text-align: left;
text-transform: uppercase;
font-weight: bold;
font-size: .9em;
line-height: 1.25em;
color: #937c54;
background-color:#e8e4db;
vertical-align: middle;
}
/* INFOBOX STYLING, CAPIUNTO */
.mw-capiunto-infobox {
border: 2px solid #5f5543;
background-color: #f9f9f9;
color: #000;
margin: 0 0 2rem 2rem;
padding: 0.2em;
float: right;
clear: left;
text-align: left;
font-size: 88%;
line-height: 1.5em;
border-spacing: 3px;
width: 20em;
}
.mw-capiunto-infobox-header, .mw-capiunto-infobox-bottom {
text-align: center;
color: #FFFFFF;
font-family: 'Metamorphous',serif;
background-color: #5f5543;
font-size:1.25em;
padding:15px 0px;
}
.mw-capiunto-infobox-spanning {
text-align: center;
color:#ccc6b8;
font-family:'Alice', serif;
background-color:#FFFFFF;
font-size:.90em;
}
.mw-capiunto-infobox-label {
text-align: left;
text-transform: uppercase;
font-weight: bold;
font-size: .9em;
line-height: 1.25em;
color: #937c54;
}
.mw-capiunto-infobox table tr th, table tr td {
font-size: 0.875rem;
padding: .25rem .5rem;
text-align: left;
}
.mw-capiunto-infobox tbody tr:nth-child(odd){
background-color: #e8e4da;
/*background-color: #ccc6b8; */
}
/* WEATHER GRID STYLING */
.weather-grid-container {
display: flex;
justify-content: center;
max-width:1050px;
}
.weather-grid {
width: 100%;
display: flex;
justify-content: space-around;
flex-wrap:wrap;
}
.weather-grid-item {
width: 100px;
margin-bottom: 1.875rem;
border: 4px double #947c54;
padding: 1.25rem 0 0 0;
color:#373126;
text-align:center;
/* height: 320px;*/
flex-direction:row;
align-items: left;
background-color:#FFFFFF;
}
/* INSIDE THE CARD STYLES */
.weather img {
text-align:center;
margin: 0.9375rem 0 0 0;
vertical-align:middle;
max-width:80%;
}
h1.card {
color: #373126;
text-align: center;
font-size: 2.35em;
/* margin-top: 20px;*/
}
.date{
margin:0 auto;
padding:0.625rem;
text-align: center;
color: #FFFFFF;
background:#947c54;
width:100%;
}
.kingdom{
display:none;
/*position: relative;
color: #373126;
top:25px;
text-align:center;
text-transform:uppercase;
font-size:.9em;*/
}
.moon {
width:100%;
background:#FFF;
min-height:30px;
margin-top:0px;
margin-bottom:1.25rem !important;
}
.card .list-inline {
padding-left: 0;
margin-left: -3px !important;
list-style-type: none;
}
.date h3 {
font-size:3em;
}
.card h3{
margin: 0 !important;
}
.card ul>li{
width:100%;
max-width:100%;
font-size: 1.0em;
color: #373126;
}
.benea {
max-width: 35%;
width: 35%;
position: relative;
z-index: 0;
margin-top: -1.25rem;
margin-left: -0.9375rem;
}
.osa {
max-width: 1.5%;
width: 20%;
position: absolute;
z-index: 20;
margin-top: -0.9375rem;
}
.read-threads {
display:inline-block;
font-size:.85em;
width:100%;
margin:0px auto;
background-color:#ccc6b8;
padding:3px;
color:#373126;
}
.read-threads a {
color:#373126;
text-decoration:none;
}
.read-threads a:active {
color:#FFFFFF;
text-decoration:none;
}
.read-threads a:visited {
color:#373126;
text-decoration:none;
}
.read-threads a:hover {
color:#937c54;
text-decoration:none;
}
/* THORNS BUTTON STYLES */
.thorns-flex-container{
display:flex;
align-content:space-between;
flex-direction:row;
flex-wrap:wrap;
flex-basis: auto;
justify-content:space-evenly;
}
.thorns-button > a {
display: block;
background-color:#977c4f;
color: #FFF;
font-size: 1rem;
padding: .75rem 3rem;
border: 4px solid #cec0aa;
margin: 5px;
font-family:'Metamorphous', serif;
font-size:1.35em;
text-align:center;
text-decoration:none;
}
.thorns-button > a:hover {
text-decoration:none;
background-color:#e8e4da;
color: #373126;
border: 4px solid #977c4f;
}
.thorns-button > a:active {
text-decoration:none;
}
.thorns-button > a:visited {
text-decoration:none;
}
.thorns-button2 > a {
display: block;
background-color: #e8e4da;
color: #FFF;
font-size: 1em;
padding: 1rem 1rem;
border: 4px double #977c4f;
font-family: 'Metamorphous',serif;
text-transform: uppercase;
text-align: center;
text-decoration: none;
width: 250px;
color: #373126;
flex:1;
margin:5px 0px;
}
.thorns-button2 > a:hover {
text-decoration:none;
background-color:#977c4f;
color: #FFF;
border: 4px double #e8e4da;
}
.thorns-button2 > a:active {
text-decoration:none;
}
.thorns-button2-inactive {
display: block;
background-color: #ccc6b8;
color: #5f5543 !important;
border: 4px solid #e8e4da;
font-size: 1rem;
padding: 1rem;
margin: 5px;
font-family: 'Metamorphous',serif;
font-size: 1em;
text-align: center;
text-decoration: none;
width: 100%;
}
/* WEATHER ALMANAC BUTTONS */
.weather-flex-container {
display: flex;
align-content: space-between;
flex-direction: row;
flex-wrap: wrap;
flex-basis: auto;
margin-bottom:30px;
}
.weather-display > a {
display: block;
background-color: #e8e4da;
color: #373126;
border: 4px solid #977c4f;
font-size: 1rem;
padding: 1.75rem 0px;
margin: 5px;
font-family: 'Metamorphous',serif;
font-size: 1.35em;
text-align: center;
text-decoration: none;
width: 100%;
}
.weather-display-inactive {
display: block;
background-color: #ccc6b8;
color: #5f5543 !important;
border: 4px solid #e8e4da;
font-size: 1rem;
padding: 1.75rem 0px;
margin: 5px;
font-family: 'Metamorphous',serif;
font-size: 1.35em;
text-align: center;
text-decoration: none;
width: 100%;
}
.weather-display > a:hover {
text-decoration: none;
/*background-color: #ccc6b8;
color: #5f5543 !important;
border: 4px solid #e8e4da;*/
background-color: #977c4f;
color: #e8e4da !important;
border: 4px solid #e8e4da;
}
.weather-display > a:visited {
text-decoration: none;
}
/* NAVBOX */
.navbox {
background-color: #e8e4da;
color: #201b13;
}
table.navbox {
width:100%;
}
.navbox > tr {
background-color: #e8e4da !important;
}
.navbox > td {
background-color: #e8e4da !important;
}
.navbox-abovebelow {
color: #5f5543;
}
.navbox-title {
background: #937c54;
color: #FFF;
text-align: center;
font-family: 'Metamorphous',serif;
font-size: .8em;
text-transform: uppercase;
font-weight: bold;
}
.navbox-group {
background-color:#5f5543;
color:#FFF;
width: 20%;
font-family: 'Metamorphous',serif;
text-transform: uppercase;
font-size: .75em;
}
.navbox-list ul {
display: inline-block;
list-style-type: disc;
}
.navbox-list li {
display: inline-block !important;
margin-right: 10px;
}
.id-badge {
display:inline-block;
font-size:.85em;
width:100%;
margin:0px auto;
background-color:#937c54;
padding:10px;
color:#FFF;
text-align:center;
}
.id-badge a {
color:#FFF;
text-decoration:none;
}
.id-badge a:active {
color:#373126;
text-decoration:none;
}
.id-badge a:visited {
color:#FFF;
text-decoration:none;
}
.id-badge a:hover {
color:#373126;
text-decoration:none;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin-bottom:8px;
padding: 2px;
text-align: center;
border-collapse: collapse;
font-size: 95%;
background: #e8e4da;
color: #373126;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #e8e4da;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
line-height: 2.15em;
font-weight: normal;
background-color: #937c54;
position: relative;
color: #FFF;
font-family: 'Metamorphous',serif;
text-transform: uppercase;
font-size: .8em;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
/* @noflip */
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: 90%;
color: #e8e4da;
}
.client-js .NavFrame.collapsed > .NavContent {
display: none;
}
span.collapseButton {
float:right;
}
span.collapseButton > a{
color:#e8e4da;
}
span.collapseButton > a:hover{
color:#FFF;
}
span.collapseButton > a:visited{
color:#e8e4da;
}
/* ACCORDION */
/*
*
* Author: Michael Raffaele <michael@mraffaele.com>
* Date: 25th October 2011
* Info: http://www.mraffaele.com/blog/2011/10/25/css-accordion-no-javascript/
*
*/
/* Shared for all accordion types */
.accordion {
font-family:Arial, Helvetica, sans-serif;
margin:0 auto;
font-size:14px;
border:1px solid #542437;
border-radius:10px;
width:600px;
padding:10px;
background:#fff;
}
.accordion ul {
list-style:none;
margin:0;
padding:0;
}
.accordion li {
margin:0;
padding:0;
}
.accordion [type=radio], .accordion [type=checkbox] {
display:none;
}
.accordion label {
display:block;
font-size:16px;
line-height:16px;
background:#D95B43;
border:1px solid #542437;
color:#542437;
text-shadow:1px 1px 1px rgba(255,255,255,0.3);
font-weight:700;
cursor:pointer;
text-transform:uppercase;
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out;
}
.accordion ul li label:hover, .accordion [type=radio]:checked ~ label, .accordion [type=checkbox]:checked ~ label {
background:#C02942;
color:#FFF;
text-shadow:1px 1px 1px rgba(0,0,0,0.5)
}
.accordion .content {
padding:0 10px;
overflow:hidden;
border:1px solid #fff; /* Make the border match the background so it fades in nicely */
-webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out;
}
.accordion p {
color:#333;
margin:0 0 10px;
}
.accordion h3 {
color:#542437;
padding:0;
margin:10px 0;
}
/* Vertical */
.vertical ul li {
overflow:hidden;
margin:0 0 1px;
}
.vertical ul li label {
padding:10px;
}
.vertical [type=radio]:checked ~ label, .vertical [type=checkbox]:checked ~ label {
border-bottom:0;
}
.vertical ul li label:hover {
border:1px solid #542437; /* We don't want the border to disappear on hover */
}
.vertical ul li .content {
height:0px;
border-top:0;
}
.vertical [type=radio]:checked ~ label ~ .content, .vertical [type=checkbox]:checked ~ label ~ .content {
height:300px;
border:1px solid #542437;
}
/* ISOTOPE TEST */
.item {
width: 100px;
height: 100px;
float: left;
margin: 5px;
padding: 5px;
}
.item p {
margin: 0;
}
.red { background: #F33; }
.blue { background: #88F; }
.green { background: #3A3; }
.orange { background: orange;}
select, label, input { font-size: 20px; }
label { margin-right: 10px; }