Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: Royal Blue
- Theme URI: http://underscores.me/
- Author: Underscores.meAuthor URI: http://underscores.me/
- Description: DescriptionVersion: 1.0.0
- License: GNU General Public License v2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
- Text Domain: royalblue
- Tags:
- This theme, like WordPress, is licensed under the GPL.
- Use it to make something cool, have fun, and share what you've learned with others.
- royalblue is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
- Underscores is distributed under the terms of the GNU GPL v2 or later.
- */
- /*
- 0.0 | Variables
- 1.0 | Typography
- 1.1 | Imports
- 1.2 | Font
- 2.0 | Grid System
- 3.0 | Elements
- 4.0 | Masthead and Footer
- 5.0 | Navigation
- 5.1 | Links
- 5.2 | Top Menu
- 6.0 | Shortcuts
- 7.0 | Content
- 8.0 | Buttons
- 13.0 | Media Queries
- */
- /* ----------------------------------
- 0.0 | Variables
- ---------------------------------- */
- $base-font-size: 1em;
- $body-color: #fff;
- $font-color: #22201c;
- $primary-color: #111F7F;
- $primary-color-highlight: #182DB4;
- $primary-color-shadow: #11207E;
- $secondary-color: #4778C2;
- $secondary-color-highlight: #668FCC;
- $secondary-color-shadow: #3865A8;
- /* ------------------------------
- 1.0 | Typography
- ---------------------------------- */
- /* ----------------
- 1.1 | Imports
- -------------------- */
- @import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic|Cinzel:400,700,900|Great+Vibes');
- /* ----------------
- 1.2 | Font
- -------------------- */
- body {
- font-family: Lato;
- color: $font-color;
- font-size: $base-font-size * 1.1;
- margin: 0;
- background: $body-color;
- }
- p {
- margin-bottom: 20px;
- line-height: 1.3;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- margin-top: 0;
- margin-bottom: $base-font-size / 2;
- font-weight: 300;
- font-family: 'Droid Serif';
- color: #11307F;
- }
- h1 {
- font-size: $base-font-size * 2;
- }
- h2 {
- font-size: $base-font-size * 1.8;
- }
- h3 {
- font-size: $base-font-size * 1.6;
- }
- h4 {
- font-size: $base-font-size * 1.4;
- }
- h5 {
- font-size: $base-font-size * 1.2;
- }
- h6 {
- font-size: $base-font-size;
- }
- /* Larger than phablet */
- @media (min-width: 62em) {
- h1 {
- font-size: $base-font-size * 3;
- }
- h2 {
- font-size: $base-font-size * 2.5;
- }
- h3 {
- font-size: $base-font-size * 2;
- }
- h4 {
- font-size: $base-font-size * 1.6;
- }
- h5 {
- font-size: $base-font-size * 1.3;
- }
- h6 {
- font-size: $base-font-size;
- }
- }
- /* ----------------
- 1.3 | Lists and Quotes
- -------------------- */
- ol,
- ul {
- margin-bottom: 1.5 * $base-font-size;
- }
- blockquote {
- padding-left: $base-font-size * 1.2;
- position: relative;
- border-left: $base-font-size solid $primary-color;
- font-style: italic;
- color: #70695C;
- }
- /*// Medium devices (tablets, 48em and up)*/
- @media (min-width: 48em) {
- blockquote {
- margin: 0 $base-font-size * 2 0 $base-font-size;
- }
- }
- /* ----------------------------------
- 2.0 | Grid System
- ---------------------------------- */
- .row:before,
- .row:after,
- .clearfix {
- content: " ";
- display: table;
- }
- .row,
- .container {
- position: relative;
- width: 100%;
- box-sizing: border-box;
- overflow: hidden;
- }
- .container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 1em;
- }
- .column {
- width: 100%;
- float: left;
- box-sizing: border-box;
- margin-bottom: 20px;
- }
- /* For devices larger than 400px */
- @media (min-width: 400px) {
- .container {
- width: 95%;
- }
- }
- /* For devices larger than 700px */
- @media (min-width: 700px) {
- .column {
- margin-bottom: none;
- }
- .column + .column {
- margin-left: 4.6%;
- }
- .one {
- width: 3.86666666667%;
- }
- .two {
- width: 12.3333333333%;
- }
- .three {
- width: 20.8%;
- }
- .four {
- width: 29.2666666667%;
- }
- .five {
- width: 48.7333333333%;
- }
- .six {
- width: 46.2%;
- }
- .seven {
- width: 54.6666666667%;
- }
- .eight {
- width: 63.1333333333%;
- }
- .nine {
- width: 71.6%;
- }
- .ten {
- width: 80.0666666667%;
- }
- .eleven {
- width: 88.5333333333%;
- }
- .twelve {
- width: 100%;
- }
- .offset-by-one {
- margin-left: 7.66666666667%!important;
- }
- .offset-by-two {
- margin-left: 16.1333333333%!important;
- }
- .offset-by-three {
- margin-left: 23.6%!important;
- }
- .offset-by-four {
- margin-left: 33.0666666667!important;
- }
- .offset-by-five {
- margin-left: 41.5333333333!important;
- }
- .offset-by-six {
- margin-left: 50%!important;
- }
- .offset-by-seven {
- margin-left: 7.6666666667%!important;
- }
- .offset-by-eight {
- margin-left: 66.9333333333%!important;
- }
- .offset-by-nine {
- margin-left: 75.4%!important;
- }
- .offset-by-ten {
- margin-left: 83.8666666667%!important;
- }
- .offset-by-eleven {
- margin-left: 92.3333333333%!important;
- }
- }
- /* ----------------------------------
- 3.0 | Elements
- ---------------------------------- */
- img {
- max-width: 100%;
- }
- .alignleft {
- float: left !important;
- }
- .alignright {
- float:right !important;
- }
- article {
- margin-bottom: 3 * $base-font-size;
- }
- /* ----------------------------------
- 4.0 | Masthead and Footer
- ---------------------------------- */
- #masthead,
- .site-footer {
- overflow: hidden;
- color: $body-color;
- box-sizing: border-box;
- overflow: visible;
- padding-top: 0.2em;
- background: $primary-color;
- }
- .site-title {}
- /*// Medium devices (tablets, 48em and up)*/
- @media (min-width: 48em) {
- #masthead {} #masthead.smaller {
- }
- }
- .site-branding {
- margin: 0;
- }
- .site-footer .widget-area a{
- color: $body-color;
- }
- .site-footer h4 {
- color:$body-color;
- }
- /* ----------------------------------
- 5.0 | Navigation
- ---------------------------------- */
- /* ----------------
- 5.1 | Links
- -------------------- */
- a {
- text-decoration: none;
- color: $secondary-color;
- transition: all 0.1s ease-in-out;
- }
- a:hover {
- color: $secondary-color-shadow;
- transition: all 0.1s ease-in-out;
- }
- h1 a,
- h2 a,
- h3 a,
- h4 a,
- h5 a,
- h6 a {
- color: $primary-color;
- }
- h1 a:hover,
- h2 a:hover,
- h3 a:hover,
- h4 a:hover,
- h5 a:hover,
- h6 a:hover {
- color: $primary-color-shadow;
- }
- /* ----------------
- 5.2 | Top Menu
- -------------------- */
- /* ----------
- 5.2a | Mobile PushDown
- -------------------- */
- nav.main {
- position: absolute;
- overflow: visible;
- z-index: 100;
- width: 100%;
- display: none;
- }
- nav.main {
- li {
- list-style: none;
- }
- ul {
- margin-bottom: 0;
- }
- a {
- background: $primary-color;
- display: block;
- padding: 0.5em;
- width: 100%;
- color: $body-color;
- }
- a:hover {
- background: #0F1B6C;
- color: $body-color;
- }
- .sub-menu {
- display: none;
- }
- .sub-menu a {
- padding-left: 1em;
- color: $font-color;
- background: #DBE1FA;
- position: relative;
- }
- .sub-menu a:hover {
- background: #C9D2F7;
- }
- .menu-item-has-children > a:after {
- content: '\f078';
- font-family: fontAwesome;
- float: right;
- padding-right: 1em;
- display: inline-block;
- }
- .menu-item-has-children > a.arrow-down:after {
- transform: scaley(-1);
- }
- .open {
- display: block;
- }
- }
- a.arrow-down:after {
- content: '\f077';
- font-family: fontAwesome;
- float: right;
- padding-right: 1em;
- }
- .main-nav-toggle-button {
- width: 2em;
- height: 2em;
- background: $body-color;
- text-align: center;
- padding: 0.2em;
- box-sizing: content-box;
- float: right;
- margin-bottom: 1em;
- cursor: pointer;
- }
- .main-nav-toggle-button i {
- font-size: 2em;
- color: $primary-color;
- }
- /* ----------------------------------
- 6.0 | Content
- ---------------------------------- */
- .cover-image {
- background-size: cover!important; /* FIND FIX FOR IMPORTANT*/
- }
- .cover-image-title {
- display: block;
- margin: 0 auto;
- padding: 1em 0;
- color: $body-color;
- color: rgba(250,250,250, 0.9);
- text-align: center;
- text-transform: uppercase;
- font-size: 6em;
- font-size: 12vw;
- }
- /*// Medium devices (tablets, 48em and up)*/
- @media (min-width: 48em) {
- .content-area {
- padding: 2em 0;
- }
- }
- header.entry-header {
- margin-bottom: 3em;
- }
- /* ----------------
- 7.1 | Sidebar
- -------------------- */
- #secondary {
- .widget-area {
- padding: $base-font-size;
- }
- }
- /* ----------------------------------
- 8.0 | Buttons
- ---------------------------------- */
- .button-tertiary {
- padding: 15px;
- background: #ECCA16;
- color: $body-color;
- border: none;
- }
- .button-primary {
- font-size: 50px;
- padding: 10px 50px;
- background: $primary-color;
- color: $body-color;
- border: none;
- -webkit-border-radius: 15px;
- -moz-border-radius: 15px;
- border-radius: 15px;
- -webkit-box-shadow: 0 10px #0A1B48;
- -moz-box-shadow: 0 10px #0A1B48;
- box-shadow: 0 10px #0A1B48;
- outline: none;
- }
- .button-primary:active {
- box-shadow: 0 5px #0A1B48;
- transform: translateY(5px);
- }
- .screen-reader-text {
- clip: rect(1px, 1px, 1px, 1px);
- position: absolute !important;
- height: 1px;
- width: 1px;
- overflow: hidden;
- }
- .screen-reader-text:focus {
- background-color: #f1f1f1;
- border-radius: 3px;
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
- clip: auto !important;
- color: #21759b;
- display: block;
- font-size: 14px;
- font-size: 0.875rem;
- font-weight: bold;
- height: auto;
- left: 5px;
- line-height: normal;
- padding: 15px 23px 14px;
- text-decoration: none;
- top: 5px;
- width: auto;
- z-index: 100000;
- /* Above WP toolbar. */
- }
- /* Do not show the outline on the skip link target. */
- #content[tabindex="-1"]:focus {
- outline: 0;
- }
- /* ----------------------------------
- 9.0 | Forms
- ---------------------------------- */
- #comment {
- color:#3c3c3c;
- font-family: Helvetica, Arial, sans-serif;
- font-weight:500;
- font-size: 18px;
- border-radius: 0;
- line-height: 22px;
- background-color: #fbfbfb;
- padding: 1em;
- margin-bottom: 10px;
- width:100%;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- box-sizing: border-box;
- border: 3px solid $font-color;
- }
- #comment:focus{
- background: $body-color;
- box-shadow: 0;
- border: 3px solid $primary-color;
- color: $primary-color;
- outline: none;
- }
- textarea {
- width: 100%;
- height: 150px;
- line-height: 150%;
- resize:vertical;
- }
- input:hover, textarea:hover,
- input:focus, textarea:focus {
- background-color:white;
- }
- input[type=submit] {
- display: inline-block;
- font-size: 1.4em;
- padding: 0.2em 0.4em;
- background: #111F7F;
- width: 100%;
- color: $body-color;
- border: none;
- outline: none;
- max-width: 100%;
- }
- input[type=submit]:active {
- box-shadow: 0 5px #0A1B48;
- }
- /* ----------------------------------
- 13.0 | Media Queries
- ---------------------------------- */
- /*// Extra small devices (portrait phones, less than ???px)
- // No media query since this is the default in Bootstrap*/
- /*/ Small devices (landscape phones, 34em and up) @media (min-width: 34em) { }*/
- /*// Medium devices (tablets, 48em and up)*/
- @media (min-width: 48em) {}
- /*// Large devices (desktops, 62em and up)*/
- @media (min-width: 62em) {}
- /* Extra large devices (large desktops, 75em and up) */
- @media (min-width: 75em) {}
- /*
- // Extra small devices (portrait phones, less than 34em)*/
- @media (max-width: 33.9em) {
- .hide-mobile {
- display:none;
- }
- }
- /*/ Small devices (landscape phones, less than 48em)*/
- @media (max-width: 47.9em) {}
- /*// Medium devices (tablets, less than 62em)*/
- @media (max-width: 61.9em) {}
- /*// Large devices (desktops, less than 75em)*/
- @media (max-width: 74.9em) {}
- /* ------------------------------ 5.0 | Shortcuts---------------------------------- */
- .pull-right {
- float: right;
- }
- .pull-left {
- float: left;
- }
- .center-margins {
- margin: 0 auto;
- }
- .overflow-visible {
- overflow: visible;
- }
- .full-width-mobile {
- width: 100%;
- padding: 0;
- }
- .full-width {
- width: 100%;
- min-height: 60%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement