Added theme back properly
This commit is contained in:
79
themes/hugo-uno/static/scss/components/_buttons.scss
Normal file
79
themes/hugo-uno/static/scss/components/_buttons.scss
Normal file
@ -0,0 +1,79 @@
|
||||
// ------------------------------
|
||||
// BUTTONS
|
||||
// ------------------------------
|
||||
|
||||
.btn {
|
||||
padding: 10px 20px;
|
||||
border: 1px solid $primary-color;
|
||||
border-radius: 20px;
|
||||
font-size: .9em;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: none;
|
||||
color: $primary-color;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
||||
&:hover {
|
||||
color: darken($primary-color, 15%);
|
||||
border-color: darken($primary-color, 15%);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
border-color: $secondary-color;
|
||||
color: $secondary-color;
|
||||
|
||||
&:hover {
|
||||
color: darken($secondary-color, 15%);
|
||||
border-color: darken($secondary-color, 15%);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.btn-tertiary {
|
||||
border-color: $gray-dark;
|
||||
color: $gray-dark;
|
||||
|
||||
&:hover {
|
||||
color: darken($gray-dark, 15%);
|
||||
border-color: darken($gray-dark, 15%);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.btn-large {
|
||||
padding: 10px 24px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
padding: 8px 12px;
|
||||
font-size: .7em;
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
// MOBILE MENU BUTTON
|
||||
// ------------------------------
|
||||
|
||||
.btn-mobile-menu {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
background: rgba(darken(#156f78, 10%),.98);
|
||||
border-bottom: 1px solid rgba(255,255,255,.1);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btn-mobile-menu__icon,
|
||||
.btn-mobile-close__icon {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
font-size: 36px;
|
||||
color: #FFF;
|
||||
}
|
13
themes/hugo-uno/static/scss/components/_icons.scss
Normal file
13
themes/hugo-uno/static/scss/components/_icons.scss
Normal file
@ -0,0 +1,13 @@
|
||||
i {
|
||||
font-family: 'entypo';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.icon-social {
|
||||
font-family: 'entypo-social';
|
||||
font-size: 22px;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
54
themes/hugo-uno/static/scss/components/_navigation.scss
Normal file
54
themes/hugo-uno/static/scss/components/_navigation.scss
Normal file
@ -0,0 +1,54 @@
|
||||
nav {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.navigation__item {
|
||||
display: inline-block;
|
||||
margin: 0 1px 0 0;
|
||||
line-height: 1em;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
position: relative;
|
||||
@extend .btn;
|
||||
border-color: #FFF;
|
||||
color: #FFF;
|
||||
opacity: .8;
|
||||
|
||||
&:hover {
|
||||
color: #FFF;
|
||||
border-color: #FFF;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.navigation--social {
|
||||
margin-left: 1.5em;
|
||||
|
||||
a {
|
||||
padding: 6px 8px 6px 9px;
|
||||
|
||||
.label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: block;
|
||||
font-size: 1.7em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
22
themes/hugo-uno/static/scss/components/_pagination.scss
Normal file
22
themes/hugo-uno/static/scss/components/_pagination.scss
Normal file
@ -0,0 +1,22 @@
|
||||
// ------------------------------
|
||||
// PAGINATION
|
||||
// ------------------------------
|
||||
|
||||
.pagination {
|
||||
display: block;
|
||||
margin: 0 0 4em 0;
|
||||
}
|
||||
|
||||
.pagination__page-number {
|
||||
margin: 0;
|
||||
font-size: .8em;
|
||||
color: $gray-dark;
|
||||
}
|
||||
|
||||
.pagination__newer {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.pagination__older {
|
||||
margin-left: 1em;
|
||||
}
|
165
themes/hugo-uno/static/scss/components/_panels.scss
Normal file
165
themes/hugo-uno/static/scss/components/_panels.scss
Normal file
@ -0,0 +1,165 @@
|
||||
// ------------------------------
|
||||
// PANEL
|
||||
// ------------------------------
|
||||
|
||||
.panel {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.panel__vertical {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
margin: 0 0 5px 0;
|
||||
font-size: 2.5em;
|
||||
letter-spacing: 4px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.panel-subtitle {
|
||||
font-family: $serif-font;
|
||||
font-size: 1.2em;
|
||||
font-weight: lighter;
|
||||
letter-spacing: 3px;
|
||||
color: $gray;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
// COVER PANEL
|
||||
// ------------------------------
|
||||
|
||||
.panel-cover {
|
||||
display: block;
|
||||
position: fixed;
|
||||
z-index: 900;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
background: url(../images/background-cover.jpg) top left no-repeat $gray-darker;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.panel-cover--collapsed {
|
||||
width: 40%;
|
||||
max-width: 530px;
|
||||
}
|
||||
|
||||
.panel-cover--overlay {
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
@include linear-gradient(140deg, rgba(#444444,.6) 20%, rgba(#000000,.9));
|
||||
}
|
||||
|
||||
.panel-cover__logo {
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
|
||||
.panel-cover__description {
|
||||
margin: 0 30px;
|
||||
}
|
||||
|
||||
.panel-cover__divider {
|
||||
width: 50%;
|
||||
margin: 20px auto;
|
||||
border-top: 1px solid rgba(255,255,255,.14);
|
||||
}
|
||||
|
||||
.panel-cover__divider--secondary {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
// MAIN PANEL
|
||||
// ------------------------------
|
||||
|
||||
.panel-main {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.no-js {
|
||||
|
||||
.panel-main {
|
||||
width: 40%;
|
||||
max-width: 530px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.panel-main__inner {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
z-index: 800;
|
||||
padding: 0 60px;
|
||||
}
|
||||
|
||||
.panel-main__content {
|
||||
max-width: 620px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.panel-main__content--fixed {
|
||||
width: 480px;
|
||||
transition: width 1s;
|
||||
-webkit-transition: width 1s; /* Safari */
|
||||
}
|
||||
|
||||
.panel-inverted {
|
||||
font-weight: 100;
|
||||
text-align: center;
|
||||
color: #FFF;
|
||||
text-shadow: 0 1px 1px rgba(000,000,000,.4);
|
||||
|
||||
a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
// COVER NAVIGATION
|
||||
// ------------------------------
|
||||
|
||||
.cover-navigation {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.cover-navigation--social {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
// ADDITIONAL COVER COLOURS
|
||||
// ------------------------------
|
||||
|
||||
.cover-green {
|
||||
@include linear-gradient(140deg, rgba($green,.6) 20%, rgba(darken($green, 20%),.8));
|
||||
}
|
||||
|
||||
.cover-purple {
|
||||
@include linear-gradient(140deg, rgba($purple,.6) 20%, rgba(darken($purple, 20%),.8));
|
||||
}
|
||||
|
||||
.cover-red {
|
||||
@include linear-gradient(140deg, rgba(darken($red, 30%),.6) 20%, rgba(darken($red, 50%),.8));
|
||||
}
|
||||
|
||||
.cover-slate {
|
||||
@include linear-gradient(140deg, rgba($slate,.6) 20%, rgba(darken($slate, 20%),.8));
|
||||
}
|
||||
|
||||
.cover-disabled {
|
||||
background: none;
|
||||
}
|
72
themes/hugo-uno/static/scss/components/_post-list.scss
Normal file
72
themes/hugo-uno/static/scss/components/_post-list.scss
Normal file
@ -0,0 +1,72 @@
|
||||
// ------------------------------
|
||||
// POST LIST
|
||||
// ------------------------------
|
||||
|
||||
.post-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
text-align: left;
|
||||
|
||||
li {
|
||||
margin: 0 0 2.2em 0;
|
||||
|
||||
&:last-child {
|
||||
|
||||
hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.post-list__post-title {
|
||||
margin-top: 0;
|
||||
margin-bottom: .2em;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.3em;
|
||||
|
||||
a {
|
||||
color: $gray-darkest;
|
||||
|
||||
&:hover {
|
||||
color: $hover-color;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.post-list__meta {
|
||||
display: block;
|
||||
margin: .7em 0 0 0;
|
||||
font-size: .9em;
|
||||
color: darken($gray, 2%);
|
||||
}
|
||||
|
||||
.post-list__meta--date {
|
||||
margin-right: .5em;
|
||||
margin-bottom: 1em;
|
||||
color: darken($gray, 2%);
|
||||
}
|
||||
|
||||
.post-list__meta--tags {
|
||||
margin-left: .5em;
|
||||
}
|
||||
|
||||
.post-list__divider {
|
||||
width: 30%;
|
||||
margin: 2.2em 0 2.1em 0;
|
||||
border-top: 1px solid $gray-light;
|
||||
}
|
||||
|
||||
.summary{
|
||||
margin-top: .2em;
|
||||
margin-left: .2em;
|
||||
margin-bottom:.2em;
|
||||
font-size: 1em;
|
||||
font-family: $sans-font
|
||||
}
|
Reference in New Issue
Block a user