123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- html {
- box-sizing: border-box;
- }
- *,
- *:before,
- *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
- box-sizing: inherit;
- }
- body {
- background: $color__background-body; /* Fallback for when there is no custom background color defined. */
- color: $color__text-screen;
- }
- @import "content-sidebar";
- // @import "sidebar-content";
- /*--------------------------------------------------------------
- ## Posts
- --------------------------------------------------------------*/
- @import "posts";
- /*--------------------------------------------------------------
- ## Pages
- --------------------------------------------------------------*/
- @import "pages";
- /*--------------------------------------------------------------
- ## Site Header
- --------------------------------------------------------------*/
- .site-header {
- position: relative;
- }
- .custom-header {
- background-color: $color__text-main;
- position: relative;
- z-index: -1;
- width: 100%;
- min-height: 46px;
- }
- .custom-header.in-panel {
- background-color: transparent;
- }
- .no-custom-header .custom-header {
- display: none;
- }
- .header-wrapper {
- width: 100%;
- padding: .8em 5%;
- }
- .site-branding {
- clear: none;
- }
- .site-description-wrapper {
- margin: 0 auto 1.6em;
- width: 90%;
- }
- .site-logo,
- .custom-logo {
- display: block;
- margin: 0 auto 1.6em;
- }
- .site-description {
- color: $color__link;
- margin: 0;
- text-align: center;
- font-family: $font__main;
- font-style: italic;
- font-weight: normal;
- @include font-size(1.125);
- padding-bottom: .8em;
- border-bottom: 1px solid $color__border-button;
- a {
- color: $color__link;
- text-decoration: none;
- &:hover {
- color: $color__link;
- }
- }
- }
- .site-title {
- font-family: $font__headings;
- font-style: normal;
- font-weight: bold;
- @include font-size(.825);
- text-transform: uppercase;
- letter-spacing: 1px;
- margin: 0;
- position: absolute;
- left: 1.6em;
- top: 1.6em;
- a {
- color: $color__border-button;
- text-decoration: none;
- }
- }
- /* No custom header */
- .no-custom-header .header-wrapper {
- background-color: $color__text-main;
- padding-bottom: 0;
- margin-bottom: 1.6em;
- }
- .no-custom-header .site-branding {
- float: left;
- padding-top: .4em;
- }
- .no-custom-header .site-title {
- position: relative;
- top: auto;
- left: auto;
- }
- /*--------------------------------------------------------------
- ## Site Footer
- --------------------------------------------------------------*/
- .site-footer {
- color: $color__link;
- @include font-size(.825);
- margin: 0 auto;
- a,
- a:visited {
- text-decoration: none;
- &:hover {
- color: rgba($color__link,0.5);
- }
- }
- .sep {
- color: $color__text-screen;
- font-family: Arial, Helvetica, sans-serif;
- margin: 0;
- clear: both;
- display: block;
- visibility: hidden;
- height: 0;
- width: 100%;
- }
- }
- .site-info {
- padding: 1.6em;
- font-family: $font__headings;
- font-weight: bold;
- text-align: center;
- text-transform: uppercase;
- letter-spacing: 1px;
- }
- /*--------------------------------------------------------------
- ## Social Links
- --------------------------------------------------------------*/
- .jetpack-social-navigation {
- background-color: lighten($color__text-main,3);
- clear: both;
- display: block;
- margin: 0;
- padding: 2em 1.6em;
- text-align: center;
- width: 100%;
- ul {
- margin-bottom: 0 !important;
- }
- li {
- margin: .2em 0 !important;
- }
- a,
- a:visited {
- font-size: 24px;
- margin: 0.4em 0.1em;
- color: lighten($color__text-main,3);
- &:before {
- background-color: rgba($color__border-button, 0.3);
- border-radius: 100%;
- width: 40px !important;
- height: 40px !important;
- line-height: 40px !important;
- transition: 0.3s;
- }
- &:hover:before {
- background-color: rgba($color__border-button, 1);
- color: $color__text-main;
- }
- }
- }
|