Difference between revisions of "Template:SKLMT-China/template css"

Line 121: Line 121:
 
}
 
}
  
#page-footer h3 strong {
+
#page-footer h3 {
 
     font-family: Algerian;
 
     font-family: Algerian;
 
     color: #cf5e72;
 
     color: #cf5e72;
Line 130: Line 130:
 
     font-family: Algerian;
 
     font-family: Algerian;
 
     color: #cf5e72;
 
     color: #cf5e72;
     font-size: 3.1em;
+
     font-size: 1.6em;
 
}
 
}
  

Revision as of 14:50, 8 October 2018

/*

  • SKLMT SYTLE
  • */

/* @import url("https://fonts.googleapis.com/css?family=Lato:300,400,900"); @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,100italic,300italic"); @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i"); */

/* Basic Sytle */

html, body {

   width:100%;
   font-size: 100%;
   font: inherit;
   height: auto;
   margin:0;
   padding:0;
   vertical-align: baseline;
   overflow-x: hidden;

}

body {

   font-family: Lato, Roboto, Source Sans Pro, Helvetica, sans-serif;
   position: relative;

}

a, a:active, a:focus, a:hover{

   outline:none;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;

}

a:hover{

   text-decoration: none;
   color: #00BFFF;

}

h1, h2, h3, h4, h5, h6 {

   font-weight: 300;
   line-height: 1.375;
   letter-spacing: -0.05em;
   margin: 0 0 1rem 0;

}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {

   color: inherit;
   text-decoration: none;

}

h1 {

   font-size: 3.5rem;
   line-height: 1.2;

}

h2 {

   font-size: 2.25rem;

}

h3 {

   font-size: 1.5rem;

}

h4 {

   font-size: 1.1rem;

}

h5 {

   font-size: 0.9rem;

}

h6 {

   font-size: 0.7rem;

}

sub {

   font-size: 0.8rem;
   position: relative;
   top: 0.5rem;

}

sup {

   font-size: 0.8rem;
   position: relative;
   top: -0.5rem;

}

p{

   margin-bottom:20px;
   font-size: 1.35em;
   line-height: 1.65em;
   font-weight: 250;

}

.wrapper{

   min-height: 800px;

}

/* Paragraph */

.paragraph {

   padding: 3em;
   margin: 5em 0 3em 0;

}


/* Header */

  1. page-footer {
   margin-top: 3em;
   background-color: #111;
   text-align: center;
   color: white;
   border-top: 2em solid #222;
   border-bottom: 6em solid #000;

}

  1. page-footer h3 {
   font-family: Algerian;
   color: #cf5e72;
   font-size: 2.8m;

}

  1. page-footer h2 strong {
   font-family: Algerian;
   color: #cf5e72;
   font-size: 1.6em;

}

  1. page-footer .row {
   padding-bottom: 1.6em;

}


/*

* Index Banner
*/

.index-banner {

   background-attachment: fixed;
   background-color: #272833;
   background-image: url("T--SKLMT-China--banner1.jpg");
   background-position: center center;
   background-size: cover;
   box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.25);
   min-height: 100vh;
   position: relative;
   text-align: center;
   z-index: 8;

}

@-moz-keyframes inner-animation {

   0% {
       opacity: 0;
   }
   100% {
       opacity: 1;
   }

}

@-webkit-keyframes inner-animation {

   0% {
       opacity: 0;
   }
   100% {
       opacity: 1;
   }

}

@-ms-keyframes inner-animation {

   0% {
       opacity: 0;
   }
   100% {
       opacity: 1;
   }

}

@keyframes inner-animation {

   0% {
       opacity: 0;
   }
   100% {
       opacity: 1;
   }

}


.index-banner:before {

   content: ;
   display: inline-block;
   height: 100vh;
   vertical-align: middle;
   width: 1%;

}

.index-banner:after {

   content: ;
   display: block;
   height: 100%;
   left: 0;
   top: 0;
   position: absolute;
   width: 100%;

}

.index-banner .inner {

   -moz-animation: inner-animation 2s 0.25s ease-in-out;
   -webkit-animation: inner-animation 2s 0.25s ease-in-out;
   -ms-animation: inner-animation 2s 0.25s ease-in-out;
   animation: inner-animation 2s 0.25s ease-in-out;
   -moz-animation-fill-mode: forwards;
   -webkit-animation-fill-mode: forwards;
   -ms-animation-fill-mode: forwards;
   animation-fill-mode: forwards;
   /*background: rgba(52, 27, 43, 0.5);*/
   color: #fff;
   display: inline-block;
   min-width: 90%;
   opacity: 0;
   padding: 3em;
   text-align: center;
   font-size: 150%;
   vertical-align: middle;
   position: relative;
   z-index: 1;

}

.index-banner .inner header {

   width: 100%;
   display: inline-block;
   margin: 0 0 1em 0;
   padding: 3px 0 3px 0;

}

.index-banner .inner .cd-intro {

   width: 100%;

}

.index-banner .inner header h2 {

   font-size: 5em;
   font-weight: 900;
   letter-spacing: 0.2em;
   margin: 0;
   padding-top: 1em;
   padding-left: 0.05em;
   position: relative;
   /* color: transparent; */
   font-family: Broadway, Algerian;
   text-shadow: 0px -1px 4px white, 0px -2px 10px #66b2ff, 0px -10px 20px #3399ff, 0px -18px 40px #0080ff;

}

.index-banner .inner p {

   font-size: 2em;
   font-family: Algerian;
   letter-spacing: 0.1em;
   margin: 0;
   text-transform: uppercase;

}

.index-banner .inner p a {

   font-weight: 400;

}

.index-banner .inner footer {

   margin: 1em 0 0 0;
   /* background: rgba(52, 27, 43, 0.5); */

}

@media screen and (max-width: 736px) {

   .index-banner .inner {
       background: none;
       margin-top: 3.5em;
   }

}

/* Button */

ul.buttons {

   cursor: default;
   list-style: none;
   padding-left: 0;
   margin-top: inherit;

}

ul.buttons:last-child {

   margin-bottom: 0;

}

ul.buttons li {

   display: inline-block;
   padding: 0 0 0 1.5em;

}

ul.buttons li:first-child {

   padding: 0;

}

ul.buttons.stacked li {

   display: block;
   padding: 1.5em 0 0 0;

}

ul.buttons.stacked li:first-child {

   padding: 0;

}

ul.buttons li {

   display: block;
   padding: 1em 0 0 0;

} ul.buttons {

   text-align: center;

}

input[type="button"], button, .actions {

   -moz-appearance: none;
   -webkit-appearance: none;
   -ms-appearance: none;
   appearance: none;
   -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
   -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
   -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
   transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
   background: none;
   border: solid 1px;
   border-radius: 20px;
   color: inherit;
   cursor: pointer;
   display: inline-block;
   font-size: 0.8em;
   font-weight: 900;
   letter-spacing: 2px;
   min-width: 18em;
   padding: 0 0.75em;
   line-height: 3.75em;
   text-align: center;
   text-decoration: none;
   text-transform: uppercase;

}

input[type="button"]:hover, button:hover, .actions:hover {

   background: rgba(188, 202, 206, 0.15);
   border-color: inherit;

}

input[type="button"].primary, button.primary, .actions.primary {

   background: #83d3c9;
   border-color: #83d3c9;
   color: #fff !important;

}

input[type="button"].primary:hover, button.primary:hover, .actions.primary:hover {

   background: #96dad1 !important;
   border-color: #96dad1 !important;

}

input[type="button"].fit, button.fit, .actions.fit {

   width: 100%;

}

input[type="button"].small, button.small, .actions.small {

   font-size: 0.7em;
   min-width: 14em;
   padding: 0.5em 0;

}