Actions

MediaWiki

Common.css

From ThornsWiki

Revision as of 22:02, 1 January 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;
} 

/* 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;
}

.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-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, 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;
}

.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;
}

/* ISOTOPE */

* { box-sizing: border-box; }

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

/* ---- grid ---- */

.grid {
  background: #DDD;
  max-width: 1200px;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ui group */

.ui-group {
  display: inline-block;
}

.ui-group h3 {
  display: inline-block;
  vertical-align: top;
  line-height: 32px;
  margin-right: 0.2em;
  font-size: 16px;
}

.ui-group .button-group {
  display: inline-block;
  margin-right: 20px;
}

/* color-shape */

.color-shape {
  width: 70px;
  height: 70px;
  margin: 5px;
  float: left;
}
 
.color-shape.round {
  border-radius: 35px;
}
 
.color-shape.big.round {
  border-radius: 75px;
}
 
.color-shape.red { background: red; }
.color-shape.blue { background: blue; }
.color-shape.yellow { background: yellow; }
 
.color-shape.wide, .color-shape.big { width: 150px; }
.color-shape.tall, .color-shape.big { height: 150px; }

.color-shape .number {
  text-align: center;
  font-size: 24px;
  margin: 22px 0 0;
}

/*CAROSEL */
/*Colors*/
$white-20: rgba(255, 255, 255, 0.2);
$white-60: rgba(255, 255, 255, 0.6);
$white: rgba(255, 255, 255, 1);
$main-color: #b38c52;

/*Timeline*/
.timeline-carousel {
   padding: 86px 6.9444% 90px 6.9444%;
   position: relative;
   overflow: hidden;
   &:after,
   &:before {
      content: "";
      position: absolute;
      display: block;
      top: 0;
      height: 100%;
      width: 6.9444%;
      background-color: #1d1d1e;
      z-index: 3;
      width: 6.9444%;
   }
   &:after {
      left: 0;
   }
   &:before {
      right: 0;
      opacity: 0;
   }
   .slick-list {
      overflow: visible;
   }
   .slick-dots {
      bottom: -73px;
   }
   .timeline-carousel > h1 {
      color: $white;
      font-size: 46px;
      line-height: 50px;
      margin-bottom: 40px;
      font-weight: 900;
   }
   &__image {
      padding-right: 30px;
   }
   &__item {
      cursor: pointer;
      .media-wrapper {
         opacity: 0.4;
         padding-bottom: 71.4%;
         -webkit-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
         -o-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
         transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
      }
      &:last-child {
         .timeline-carousel__item-inner {
            &:after {
               width: calc(100% - 30px);
            }
         }
      }
   }
   &__item-inner {
      position: relative;
      padding-top: 45px;
      &:after {
         position: absolute;
         width: 100%;
         top: 45px;
         left: 0;
         content: "";
         border-bottom: 1px solid $white-20;
      }
      .year {
         font-size: 36px;
         line-height: 36px;
         color: $white;
         display: table;
         letter-spacing: -1px;
         padding-right: 10px;
         background-color: #1d1d1e;
         z-index: 1;
         position: relative;
         margin: -15px 0 20px;
         font-weight: 900;
         &:after {
            content: "";
            position: absolute;
            display: block;
            left: -10px;
            top: 0;
            height: 100%;
            width: 10px;
            background-color: #1d1d1e;
            z-index: 3;
         }
      }
      .month {
         font-size: 12px;
         text-transform: uppercase;
         color: $main-color;
         display: block;
         margin-bottom: 10px;
         font-weight: 900;
      }
      p {
         font-size: 12px;
         line-height: 18px;
         color: $white;
         width: 60%;
         font-weight: 400;
         margin-bottom: 15px;
      }

      .read-more {
         font-size: 12px;
         color: $main-color;
         display: table;
         margin-bottom: 10px;
         font-weight: 900;
         text-decoration: none;
         position: relative;
         &:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 0;
            border-bottom: 2px solid $main-color;
            -webkit-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
            -o-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
            transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
         }
         &:hover {
            &:after {
               width: 100%;
            }
         }
      }
      .pointer {
         height: 29px;
         position: relative;
         z-index: 1;
         margin: -4px 0 16px;
         &:after,
         &:before {
            position: absolute;
            content: "";
         }
         &:after {
            width: 9px;
            height: 9px;
            border-radius: 100%;
            top: 0;
            left: 0;
            background-color: $main-color;
         }
         &:before {
            width: 1px;
            height: 100%;
            top: 0;
            left: 4px;
            background-color: $main-color;
         }
      }
   }

   .slick-active {
      .media-wrapper {
         opacity: 1 !important;
      }
   }
}

.slick-dots {
   bottom: 60px;
   list-style: none;
   position: absolute;
   width: 100%;
   left: 0;
   text-align: center;
   z-index: 2;
   li {
      cursor: pointer;
      display: inline-block;
      margin: 0 6px;
      position: relative;
      width: 10px;
      height: 10px;
      &:last-child {
         margin-right: 0;
      }
      &.slick-active {
         button {
            background: $main-color;
            border-color: $main-color;
         }
      }
      button {
         display: block;
         font-size: 0;
         width: 10px;
         height: 10px;
         padding: 0;
         background-color: $white-60;
         border-color: $white-60;
         cursor: pointer;
         -webkit-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
         -o-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);

         transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
         &:hover {
            background: $main-color;
            border-color: $main-color;
         }
      }
   }
}


.link{
  position:absolute;
  left:0;
  bottom:0;
  padding:20px;
  z-index:9999;
  a{
      display:flex;
      align-items:center;
      text-decoration:none;
      color:#fff;
  }
  .fa{
    font-size:28px;
    margin-right:8px;
    color:#fff;
  }
}