mirror of
https://github.com/opelly27/cweb.git
synced 2026-05-20 05:07:41 +00:00
switched theme
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -11,6 +11,11 @@
|
||||
width: device-width;
|
||||
}
|
||||
|
||||
// MSIE: Prevents scrollbar from overlapping content.
|
||||
body {
|
||||
-ms-overflow-style: scrollbar;
|
||||
}
|
||||
|
||||
// Ensures page width is always >=320px.
|
||||
@include breakpoint(xsmall) {
|
||||
html, body {
|
||||
@@ -23,12 +28,10 @@
|
||||
|
||||
// Prevents animation/transition "flicker" on page load.
|
||||
// Automatically added/removed by js/main.js.
|
||||
&.is-loading,
|
||||
&.is-switching {
|
||||
&.is-loading {
|
||||
*, *:before, *:after {
|
||||
@include vendor('animation', 'none !important');
|
||||
@include vendor('transition', 'none !important');
|
||||
@include vendor('transition-delay', 'none !important');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,47 +1,39 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
/* Type */
|
||||
|
||||
html {
|
||||
font-size: 16pt;
|
||||
|
||||
@include breakpoint(xlarge) {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
@include breakpoint(xxsmall) {
|
||||
font-size: 10pt;
|
||||
}
|
||||
}
|
||||
|
||||
body, input, select, textarea {
|
||||
color: _palette(fg);
|
||||
font-family: _font(family);
|
||||
font-size: 16pt;
|
||||
font-weight: _font(weight);
|
||||
font-size: 1rem;
|
||||
line-height: 1.65;
|
||||
line-height: 1.75;
|
||||
|
||||
@include breakpoint(xlarge) {
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
@include breakpoint(large) {
|
||||
font-size: 12pt;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
@include vendor('transition', (
|
||||
'color #{_duration(transition)} ease-in-out',
|
||||
'background-color #{_duration(transition)} ease-in-out',
|
||||
'border-bottom-color #{_duration(transition)} ease-in-out'
|
||||
'border-bottom-color #{_duration(transition)} ease',
|
||||
'color #{_duration(transition)} ease'
|
||||
));
|
||||
border-bottom: dotted 1px _palette(fg-light);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
color: _palette(fg);
|
||||
border-bottom: dotted 1px transparentize(_palette(fg), 0.5);
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: transparent;
|
||||
color: _palette(accent1) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,80 +50,89 @@
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
h1 {
|
||||
font-size: 2.75em;
|
||||
color: _palette(fg-bold);
|
||||
font-weight: _font(weight-bold-alt);
|
||||
line-height: 1.3;
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
letter-spacing: _font(letter-spacing-alt);
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
font-size: 2em;
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
}
|
||||
|
||||
@include breakpoint(xxsmall) {
|
||||
font-size: 1.75em;
|
||||
}
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6 {
|
||||
color: _palette(fg-bold);
|
||||
font-weight: _font(weight-bold);
|
||||
line-height: 1.5;
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
margin: 0 0 (_size(element-margin) * 1) 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: _font(letter-spacing);
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.major {
|
||||
border-bottom: solid _size(border-width) _palette(border);
|
||||
width: -moz-max-content;
|
||||
width: -webkit-max-content;
|
||||
width: -ms-max-content;
|
||||
width: max-content;
|
||||
padding-bottom: 0.5rem;
|
||||
margin: 0 0 (_size(element-margin) * 1) 0;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.25rem;
|
||||
line-height: 1.3;
|
||||
letter-spacing: _font(letter-spacing-heading);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.4;
|
||||
letter-spacing: _font(letter-spacing-heading);
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.6rem;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
br {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
h1 {
|
||||
font-size: 1.75rem;
|
||||
line-height: 1.4;
|
||||
h2 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5;
|
||||
h3 {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
sub {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.8em;
|
||||
position: relative;
|
||||
top: 0.5rem;
|
||||
top: 0.5em;
|
||||
}
|
||||
|
||||
sup {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.8em;
|
||||
position: relative;
|
||||
top: -0.5rem;
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
@@ -144,22 +145,23 @@
|
||||
code {
|
||||
background: _palette(border-bg);
|
||||
border-radius: _size(border-radius);
|
||||
border: solid _size(border-width) _palette(border);
|
||||
font-family: _font(family-fixed);
|
||||
font-size: 0.9rem;
|
||||
margin: 0 0.25rem;
|
||||
padding: 0.25rem 0.65rem;
|
||||
font-size: 0.9em;
|
||||
margin: 0 0.25em;
|
||||
padding: 0.25em 0.65em;
|
||||
}
|
||||
|
||||
pre {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
font-family: _font(family-fixed);
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.9em;
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
|
||||
code {
|
||||
display: block;
|
||||
line-height: 1.75;
|
||||
padding: 1rem 1.5rem;
|
||||
padding: 1em 1.5em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
@@ -167,7 +169,11 @@
|
||||
hr {
|
||||
border: 0;
|
||||
border-bottom: solid _size(border-width) _palette(border);
|
||||
margin: (_size(element-margin) * 1.375) 0;
|
||||
margin: _size(element-margin) 0;
|
||||
|
||||
&.major {
|
||||
margin: (_size(element-margin) * 1.5) 0;
|
||||
}
|
||||
}
|
||||
|
||||
.align-left {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -12,34 +12,31 @@
|
||||
button,
|
||||
.button {
|
||||
@include vendor('appearance', 'none');
|
||||
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out, color #{_duration(transition)} ease-in-out');
|
||||
@include vendor('transition', (
|
||||
'background-color #{_duration(transition)} ease-in-out',
|
||||
'color #{_duration(transition)} ease-in-out',
|
||||
'box-shadow #{_duration(transition)} ease-in-out'
|
||||
));
|
||||
background-color: transparent;
|
||||
border-radius: _size(border-radius);
|
||||
border: 0;
|
||||
box-shadow: inset 0 0 0 _size(border-width) _palette(border);
|
||||
color: _palette(fg-bold) !important;
|
||||
box-shadow: inset 0 0 0 (_size(border-width) * 2) _palette(fg);
|
||||
color: _palette(fg) !important;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 0.8rem;
|
||||
font-weight: _font(weight);
|
||||
height: _size(element-height);
|
||||
font-size: 0.8em;
|
||||
font-weight: _font(weight-bold);
|
||||
height: 3.5em;
|
||||
letter-spacing: _font(letter-spacing);
|
||||
line-height: _size(element-height);
|
||||
outline: 0;
|
||||
padding: 0 1.25rem 0 (1.25rem + (_font(letter-spacing) * 0.5));
|
||||
line-height: 3.45em;
|
||||
overflow: hidden;
|
||||
padding: 0 1.25em 0 #{1.25em + _font(letter-spacing)};
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
background-color: _palette(border-bg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: _palette(border-bg-alt);
|
||||
}
|
||||
|
||||
&.icon {
|
||||
&:before {
|
||||
margin-right: 0.5em;
|
||||
@@ -52,29 +49,40 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: _palette(accent1) !important;
|
||||
box-shadow: inset 0 0 0 (_size(border-width) * 2) _palette(accent1);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: transparentize(_palette(accent1), 0.9);
|
||||
}
|
||||
|
||||
&.small {
|
||||
font-size: 0.6em;
|
||||
}
|
||||
|
||||
&.big {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
&.special {
|
||||
background-color: _palette(fg-bold);
|
||||
box-shadow: none;
|
||||
background-color: _palette(fg);
|
||||
color: _palette(bg) !important;
|
||||
font-weight: _font(weight-bold);
|
||||
|
||||
&:hover {
|
||||
background-color: _palette(accent1);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken(_palette(accent1), 8);
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&:disabled {
|
||||
@include vendor('pointer-events', 'none');
|
||||
cursor: default;
|
||||
opacity: 0.25;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
button {
|
||||
line-height: calc(#{_size(element-height)} - 2px);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -7,70 +7,69 @@
|
||||
/* Form */
|
||||
|
||||
form {
|
||||
$gutter: _size(element-margin) * 0.75;
|
||||
margin: (_size(element-margin) * -0.5) 0 _size(element-margin) 0;
|
||||
|
||||
margin: 0 0 (_size(element-margin) * 1.25) 0;
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.field {
|
||||
margin: 0 0 ($gutter * 1) 0;
|
||||
|
||||
&.half {
|
||||
width: 50%;
|
||||
float: left;
|
||||
padding: 0 0 0 ($gutter * 1 * 0.5);
|
||||
|
||||
&.first {
|
||||
padding: 0 ($gutter * 1 * 0.5) 0 0;
|
||||
}
|
||||
}
|
||||
position: relative;
|
||||
float: left;
|
||||
margin: 0 0 (_size(element-margin) * 0.65) 0;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> .actions {
|
||||
margin: ($gutter * 1.25) 0 0 0 !important;
|
||||
.half {
|
||||
width: calc(50% + #{_size(field-gutter) * 0.5}) !important;
|
||||
padding-left: _size(field-gutter);
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
.field {
|
||||
margin: 0 0 ($gutter * 0.75) 0;
|
||||
.half.first {
|
||||
width: calc(50% - #{_size(field-gutter) * 0.5}) !important;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
&.half {
|
||||
padding: 0 0 0 ($gutter * 0.75 * 0.5);
|
||||
:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&.first {
|
||||
padding: 0 ($gutter * 0.75 * 0.5) 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.half:nth-last-child(2) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
> .actions {
|
||||
margin: ($gutter * 1) 0 0 0 !important;
|
||||
}
|
||||
.actions {
|
||||
position: relative;
|
||||
clear: both;
|
||||
padding-top: (_size(element-margin) * 0.5);
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
.field {
|
||||
&.half {
|
||||
width: 100%;
|
||||
float: none;
|
||||
padding: 0;
|
||||
.half {
|
||||
width: 100% !important;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
&.first {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.half.first {
|
||||
width: 100% !important;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.half:nth-last-child(2) {
|
||||
margin: 0 0 (_size(element-margin) * 0.65) 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
color: _palette(fg-bold);
|
||||
display: block;
|
||||
font-size: 0.8rem;
|
||||
font-weight: _font(weight);
|
||||
letter-spacing: _font(letter-spacing);
|
||||
line-height: 1.5;
|
||||
font-size: 0.9em;
|
||||
font-weight: _font(weight-bold);
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
@@ -80,18 +79,14 @@
|
||||
select,
|
||||
textarea {
|
||||
@include vendor('appearance', 'none');
|
||||
@include vendor('transition', (
|
||||
'border-color #{_duration(transition)} ease-in-out',
|
||||
'box-shadow #{_duration(transition)} ease-in-out',
|
||||
'background-color #{_duration(transition)} ease-in-out'
|
||||
));
|
||||
background: transparent;
|
||||
border-radius: _size(border-radius);
|
||||
border: solid _size(border-width) _palette(border);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
border-bottom: solid _size(border-width) _palette(border);
|
||||
color: inherit;
|
||||
display: block;
|
||||
outline: 0;
|
||||
padding: 0 1rem;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
|
||||
@@ -100,16 +95,8 @@
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background: _palette(border-bg);
|
||||
border-color: _palette(fg-bold);
|
||||
box-shadow: 0 0 0 _size(border-width) _palette(fg-bold);
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
option {
|
||||
background: _palette(bg);
|
||||
color: _palette(fg);
|
||||
border-bottom-color: _palette(accent1);
|
||||
box-shadow: inset 0 -1px 0 0 _palette(accent1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,11 +107,10 @@
|
||||
|
||||
&:before {
|
||||
color: _palette(border);
|
||||
content: '\f107';
|
||||
content: '\f078';
|
||||
display: block;
|
||||
height: _size(element-height);
|
||||
//line-height: _size(element-height);
|
||||
line-height: calc(#{_size(element-height)} + 0em);
|
||||
line-height: _size(element-height);
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@@ -146,7 +132,8 @@
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 0.75rem 1rem;
|
||||
padding: 0;
|
||||
min-height: (_size(element-height) * 1.25);
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
@@ -154,49 +141,41 @@
|
||||
@include vendor('appearance', 'none');
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: -2rem;
|
||||
margin-right: -2em;
|
||||
opacity: 0;
|
||||
width: 1rem;
|
||||
width: 1em;
|
||||
z-index: -1;
|
||||
|
||||
& + label {
|
||||
@include icon;
|
||||
@include vendor('user-select', 'none');
|
||||
color: _palette(fg);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 0.8rem;
|
||||
font-size: 1em;
|
||||
font-weight: _font(weight);
|
||||
margin: 0 0 (_size(element-margin) * 0.25) 0;
|
||||
padding-left: (_size(element-height) * 0.6) + 1rem;
|
||||
padding-right: 0.75rem;
|
||||
padding-left: (_size(element-height) * 0.6) + 0.75em;
|
||||
padding-right: 0.75em;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
@include vendor('transition', (
|
||||
'border-color #{_duration(transition)} ease-in-out',
|
||||
'box-shadow #{_duration(transition)} ease-in-out',
|
||||
'background-color #{_duration(transition)} ease-in-out'
|
||||
));
|
||||
border-radius: _size(border-radius);
|
||||
border: solid _size(border-width) _palette(border);
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: (_size(element-height) * 0.6);
|
||||
left: 0;
|
||||
//line-height: (_size(element-height) * 0.575);
|
||||
line-height: calc(#{_size(element-height) * 0.575} + 0em);
|
||||
line-height: (_size(element-height) * 0.575);
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: -0.125rem;
|
||||
top: 0;
|
||||
width: (_size(element-height) * 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
&:checked + label {
|
||||
&:before {
|
||||
background: _palette(fg-bold) !important;
|
||||
border-color: _palette(fg-bold) !important;
|
||||
background: _palette(fg);
|
||||
border-color: _palette(fg);
|
||||
color: _palette(bg);
|
||||
content: '\f00c';
|
||||
}
|
||||
@@ -204,9 +183,8 @@
|
||||
|
||||
&:focus + label {
|
||||
&:before {
|
||||
background: _palette(border-bg);
|
||||
border-color: _palette(fg-bold);
|
||||
box-shadow: 0 0 0 _size(border-width) _palette(fg-bold);
|
||||
border-color: _palette(accent1);
|
||||
box-shadow: 0 0 0 _size(border-width) _palette(accent1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -225,29 +203,4 @@
|
||||
border-radius: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
:-moz-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.formerize-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -14,4 +14,37 @@
|
||||
> .label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.style1 {
|
||||
}
|
||||
|
||||
&.style2 {
|
||||
@include vendor('transition', (
|
||||
'background-color #{_duration(transition)} ease-in-out',
|
||||
'color #{_duration(transition)} ease-in-out',
|
||||
'border-color #{_duration(transition)} ease-in-out'
|
||||
));
|
||||
background-color: transparent;
|
||||
border: solid 1px _palette(border);
|
||||
border-radius: _size(border-radius);
|
||||
width: 2.65em;
|
||||
height: 2.65em;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
line-height: 2.65em;
|
||||
color: inherit;
|
||||
|
||||
&:before {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: _palette(accent1);
|
||||
border-color: _palette(accent1);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: transparentize(_palette(accent1), 0.9);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -12,21 +12,6 @@
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
@include vendor('pointer-events', 'none');
|
||||
background-image: url('../../images/overlay.png');
|
||||
background-color: _palette(bg-overlay);
|
||||
border-radius: _size(border-radius);
|
||||
content: '';
|
||||
display: block;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
opacity: 0.5;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
img {
|
||||
border-radius: _size(border-radius);
|
||||
display: block;
|
||||
@@ -65,23 +50,15 @@
|
||||
|
||||
&.main {
|
||||
display: block;
|
||||
margin: (_size(element-margin) * 1.25) 0;
|
||||
margin: 0 0 (_size(element-margin) * 1.5) 0;
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
&.main {
|
||||
margin: (_size(element-margin) * 1) 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
&.main {
|
||||
margin: (_size(element-margin) * 0.75) 0;
|
||||
@include breakpoint(small) {
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -44,32 +44,11 @@
|
||||
cursor: default;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: -1em 0 _size(element-margin) -1em;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
padding: 0 0.75em 0 0;
|
||||
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
border-radius: 100%;
|
||||
box-shadow: inset 0 0 0 _size(border-width) _palette(border);
|
||||
display: inline-block;
|
||||
height: 2.25rem;
|
||||
line-height: 2.25rem;
|
||||
text-align: center;
|
||||
width: 2.25rem;
|
||||
|
||||
&:hover {
|
||||
background-color: _palette(border-bg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: _palette(border-bg-alt);
|
||||
}
|
||||
}
|
||||
padding: 1em 0 0 1em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
///
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
/* Section/Article */
|
||||
|
||||
section, article {
|
||||
&.special {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
p {
|
||||
margin-top: _size(element-margin) * -0.5;
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
p {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
@@ -0,0 +1,258 @@
|
||||
///
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
/* Tiles */
|
||||
|
||||
.tiles {
|
||||
$gutter: _size(gutter);
|
||||
$duration: 0.5s;
|
||||
$ease: 'ease';
|
||||
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('flex-wrap', 'wrap');
|
||||
postiion: relative;
|
||||
margin: ($gutter * -1) 0 0 ($gutter * -1);
|
||||
|
||||
article {
|
||||
@include vendor('transition', (
|
||||
'transform #{$duration} #{$ease}',
|
||||
'opacity #{$duration} #{$ease}'
|
||||
));
|
||||
position: relative;
|
||||
width: calc(#{(100% / 3)} - #{$gutter * 1});
|
||||
margin: $gutter 0 0 $gutter;
|
||||
|
||||
> .image {
|
||||
@include vendor('transition', 'transform #{$duration} #{$ease}');
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border-radius: _size(border-radius);
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
@include vendor('pointer-events', 'none');
|
||||
@include vendor('transition', (
|
||||
'background-color #{$duration} #{$ease}',
|
||||
'opacity #{$duration} #{$ease}'
|
||||
));
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1.0;
|
||||
z-index: 1;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
&:after {
|
||||
@include vendor('pointer-events', 'none');
|
||||
@include vendor('transition', 'opacity #{$duration} #{$ease}');
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 0.25px; stroke: #ffffff; }</style><line x1="0" y1="0" x2="100" y2="100" /><line x1="100" y1="0" x2="0" y2="100" /></svg>');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
opacity: 0.25;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
> a {
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('flex-direction', 'column');
|
||||
@include vendor('align-items', 'center');
|
||||
@include vendor('justify-content', 'center');
|
||||
@include vendor('transition', (
|
||||
'background-color #{$duration} #{$ease}',
|
||||
'transform #{$duration} #{$ease}'
|
||||
));
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 1em;
|
||||
border-radius: _size(border-radius);
|
||||
border-bottom: 0;
|
||||
color: _palette(fg-accent);
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
z-index: 3;
|
||||
|
||||
> :last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: _palette(fg-accent) !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.content {
|
||||
@include vendor('transition', (
|
||||
'max-height #{$duration} #{$ease}',
|
||||
'opacity #{$duration} #{$ease}'
|
||||
));
|
||||
width: 100%;
|
||||
max-height: 0;
|
||||
line-height: 1.5;
|
||||
margin-top: 0.35em;
|
||||
opacity: 0;
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.style1 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent1);
|
||||
}
|
||||
}
|
||||
|
||||
&.style2 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent2);
|
||||
}
|
||||
}
|
||||
|
||||
&.style3 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent3);
|
||||
}
|
||||
}
|
||||
|
||||
&.style4 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent4);
|
||||
}
|
||||
}
|
||||
|
||||
&.style5 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent5);
|
||||
}
|
||||
}
|
||||
|
||||
&.style6 {
|
||||
> .image:before {
|
||||
background-color: _palette(accent6);
|
||||
}
|
||||
}
|
||||
|
||||
body:not(.is-touch) & {
|
||||
&:hover {
|
||||
> .image {
|
||||
@include vendor('transform', 'scale(1.1)');
|
||||
|
||||
&:before {
|
||||
background-color: _palette(bg-accent);
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
&:after {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
max-height: 15em;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + & {
|
||||
margin-top: _size(element-margin);
|
||||
}
|
||||
|
||||
body.is-loading & {
|
||||
article {
|
||||
@include vendor('transform', 'scale(0.9)');
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
body.is-touch & {
|
||||
article {
|
||||
.content {
|
||||
max-height: 15em;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(large) {
|
||||
$gutter: _size(gutter) * 0.5;
|
||||
|
||||
margin: ($gutter * -1) 0 0 ($gutter * -1);
|
||||
|
||||
article {
|
||||
width: calc(#{(100% / 3)} - #{$gutter * 1});
|
||||
margin: $gutter 0 0 $gutter;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
$gutter: _size(gutter);
|
||||
|
||||
margin: ($gutter * -1) 0 0 ($gutter * -1);
|
||||
|
||||
article {
|
||||
width: calc(#{(100% / 2)} - #{$gutter * 1});
|
||||
margin: $gutter 0 0 $gutter;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
$gutter: _size(gutter) * 0.5;
|
||||
|
||||
margin: ($gutter * -1) 0 0 ($gutter * -1);
|
||||
|
||||
article {
|
||||
width: calc(#{(100% / 2)} - #{$gutter * 1});
|
||||
margin: $gutter 0 0 $gutter;
|
||||
|
||||
&:hover {
|
||||
> .image {
|
||||
@include vendor('transform', 'scale(1.0)');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
$gutter: _size(gutter) * 0.5;
|
||||
|
||||
margin: 0;
|
||||
|
||||
article {
|
||||
width: 100%;
|
||||
margin: $gutter 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
@import 'libs/vars';
|
||||
@import 'libs/functions';
|
||||
@import 'libs/mixins';
|
||||
@import 'libs/skel';
|
||||
|
||||
/*
|
||||
Phantom by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* Form */
|
||||
|
||||
form {
|
||||
.field {
|
||||
float: none !important;
|
||||
width: 100% !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Button */
|
||||
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
button,
|
||||
.button {
|
||||
border: solid 2px _palette(fg) !important;
|
||||
|
||||
&:hover {
|
||||
border-color: _palette(accent1) !important;
|
||||
}
|
||||
|
||||
&.special {
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tiles */
|
||||
|
||||
.tiles {
|
||||
article {
|
||||
> .image {
|
||||
&:before, &:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#header {
|
||||
.logo {
|
||||
.symbol {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
ul {
|
||||
li {
|
||||
a[href="#menu"] {
|
||||
text-indent: 0;
|
||||
width: auto;
|
||||
font-size: 0.8em;
|
||||
|
||||
&:before, &:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
#footer {
|
||||
> .inner {
|
||||
section {
|
||||
width: 50%;
|
||||
margin-left: 3em;
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
width: 40%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
-26
@@ -4,45 +4,49 @@
|
||||
@import 'libs/skel';
|
||||
|
||||
/*
|
||||
Dimension by HTML5 UP
|
||||
Phantom by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* BG */
|
||||
/* Tiles */
|
||||
|
||||
#bg {
|
||||
&:before {
|
||||
background: _palette(bg-overlay);
|
||||
}
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#header {
|
||||
.logo {
|
||||
margin: 0 auto;
|
||||
.tiles {
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: inline-block;
|
||||
}
|
||||
article {
|
||||
float: left;
|
||||
|
||||
nav {
|
||||
ul {
|
||||
display: inline-block;
|
||||
> a {
|
||||
padding-top: 50%;
|
||||
margin-top: -1.75em;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
}
|
||||
body:not(.is-touch) & {
|
||||
&:hover {
|
||||
> .image {
|
||||
@include vendor('transform', 'none');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Main */
|
||||
/* Footer */
|
||||
|
||||
#main {
|
||||
article {
|
||||
margin: 0 auto;
|
||||
#footer {
|
||||
> .inner {
|
||||
section {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
clear: both;
|
||||
padding-top: (_size(element-margin) * 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
/* BG */
|
||||
|
||||
#bg {
|
||||
@include vendor('transform', 'scale(1.0)');
|
||||
-webkit-backface-visibility: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
z-index: 1;
|
||||
|
||||
&:before, &:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
@include vendor('transition', 'background-color #{_duration(bg)} ease-in-out');
|
||||
@include vendor('transition-delay', '#{_duration(intro)}');
|
||||
background-image: linear-gradient(to top, #{_palette(bg-overlay)}, #{_palette(bg-overlay)}),
|
||||
url('../../images/overlay.png');
|
||||
background-size: auto,
|
||||
256px 256px;
|
||||
background-position: center,
|
||||
center;
|
||||
background-repeat: no-repeat,
|
||||
repeat;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&:after {
|
||||
@include vendor('transform', 'scale(1.125)');
|
||||
@include vendor('transition', (
|
||||
'transform #{_duration(article)} ease-in-out',
|
||||
'filter #{_duration(article)} ease-in-out'
|
||||
));
|
||||
background-image: url('../../images/bg.jpg');
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
body.is-article-visible & {
|
||||
&:after {
|
||||
@include vendor('transform', 'scale(1.0825)');
|
||||
@include vendor('filter', 'blur(0.2rem)');
|
||||
}
|
||||
}
|
||||
|
||||
body.is-loading & {
|
||||
&:before {
|
||||
background-color: _palette(bg-alt);
|
||||
}
|
||||
}
|
||||
}
|
||||
+124
-22
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -7,31 +7,133 @@
|
||||
/* Footer */
|
||||
|
||||
#footer {
|
||||
@include vendor('transition', (
|
||||
'transform #{_duration(article)} ease-in-out',
|
||||
'filter #{_duration(article)} ease-in-out',
|
||||
'opacity #{_duration(article)} ease-in-out',
|
||||
));
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-top: 2rem;
|
||||
text-align: center;
|
||||
$gutter: _size(gutter);
|
||||
|
||||
.copyright {
|
||||
letter-spacing: _font(letter-spacing);
|
||||
font-size: 0.6rem;
|
||||
opacity: 0.75;
|
||||
margin-bottom: 0;
|
||||
text-transform: uppercase;
|
||||
@include padding(5em, 0, (0, 0, 3em, 0));
|
||||
background-color: _palette(bg-alt);
|
||||
|
||||
> .inner {
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('flex-wrap', 'wrap');
|
||||
@include vendor('flex-direction', 'row');
|
||||
|
||||
> * > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
section:nth-child(1) {
|
||||
width: calc(66% - #{$gutter});
|
||||
margin-right: $gutter;
|
||||
}
|
||||
|
||||
section:nth-child(2) {
|
||||
width: calc(33% - #{$gutter});
|
||||
margin-left: $gutter;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-top: 5em;
|
||||
list-style: none;
|
||||
font-size: 0.8em;
|
||||
color: transparentize(_palette(fg), 0.5);
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
border-left: solid 1px transparentize(_palette(fg), 0.85);
|
||||
line-height: 1;
|
||||
padding: 0 0 0 1em;
|
||||
margin: 0 0 0 1em;
|
||||
|
||||
&:first-child {
|
||||
border-left: 0;
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.is-article-visible & {
|
||||
@include vendor('transform', 'scale(0.95)');
|
||||
@include vendor('filter', 'blur(0.1rem)');
|
||||
opacity: 0;
|
||||
@include breakpoint(large) {
|
||||
$gutter: _size(gutter) * 0.5;
|
||||
|
||||
@include padding(5em, 0);
|
||||
|
||||
> .inner {
|
||||
section:nth-child(1) {
|
||||
width: calc(66% - #{$gutter});
|
||||
margin-right: $gutter;
|
||||
}
|
||||
|
||||
section:nth-child(2) {
|
||||
width: calc(33% - #{$gutter});
|
||||
margin-left: $gutter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.is-loading & {
|
||||
opacity: 0;
|
||||
@include breakpoint(medium) {
|
||||
$gutter: _size(gutter);
|
||||
|
||||
> .inner {
|
||||
section:nth-child(1) {
|
||||
width: 66%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
section:nth-child(2) {
|
||||
width: calc(33% - #{$gutter});
|
||||
margin-left: $gutter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
@include padding(3em, 0);
|
||||
|
||||
> .inner {
|
||||
@include vendor('flex-direction', 'column');
|
||||
|
||||
section:nth-child(1) {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin: 3em 0 0 0;
|
||||
}
|
||||
|
||||
section:nth-child(2) {
|
||||
@include vendor('order', '-1');
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
margin-top: 3em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
> .inner {
|
||||
.copyright {
|
||||
margin-top: 3em;
|
||||
|
||||
li {
|
||||
border-left: 0;
|
||||
padding-left: 0;
|
||||
margin: 0.75em 0 0 0;
|
||||
display: block;
|
||||
line-height: inherit;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+91
-216
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -7,253 +7,128 @@
|
||||
/* Header */
|
||||
|
||||
#header {
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('flex-direction', 'column');
|
||||
@include vendor('align-items', 'center');
|
||||
@include vendor('transition', (
|
||||
'transform #{_duration(article)} ease-in-out',
|
||||
'filter #{_duration(article)} ease-in-out',
|
||||
'opacity #{_duration(article)} ease-in-out',
|
||||
));
|
||||
background-image: -moz-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%);
|
||||
background-image: -webkit-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%);
|
||||
background-image: -ms-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%);
|
||||
background-image: radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%);
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
|
||||
> * {
|
||||
@include vendor('transition', 'opacity #{_duration(article)} ease-in-out');
|
||||
position: relative;
|
||||
margin-top: 3.5rem;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: calc(-3.5rem - 1px);
|
||||
left: calc(50% - #{_size(border-width) * 1});
|
||||
width: _size(border-width);
|
||||
height: calc(3.5rem + 1px);
|
||||
background: _palette(border);
|
||||
}
|
||||
}
|
||||
|
||||
> :first-child {
|
||||
margin-top: 0;
|
||||
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@include padding(5em, 0, (3em, 0, -5em, 0));
|
||||
|
||||
.logo {
|
||||
width: 5.5rem;
|
||||
height: 5.5rem;
|
||||
line-height: 5.5rem;
|
||||
border: solid _size(border-width) _palette(border);
|
||||
border-radius: 100%;
|
||||
display: block;
|
||||
border-bottom: 0;
|
||||
color: inherit;
|
||||
font-weight: _font(weight-bold);
|
||||
letter-spacing: _font(letter-spacing);
|
||||
margin: 0 0 (_size(element-margin) * 1.25) 0;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
|
||||
.icon {
|
||||
&:before {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
border-style: solid;
|
||||
border-color: _palette(border);
|
||||
border-top-width: _size(border-width);
|
||||
border-bottom-width: _size(border-width);
|
||||
max-width: 100%;
|
||||
|
||||
.inner {
|
||||
@include vendor('transition', (
|
||||
'max-height #{_duration(intro)} ease',
|
||||
'padding #{_duration(intro)} ease',
|
||||
'opacity #{_duration(article)} ease-in-out'
|
||||
));
|
||||
@include vendor('transition-delay', '0.25s');
|
||||
padding: 3rem 2rem;
|
||||
max-height: 40rem;
|
||||
overflow: hidden;
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
> * {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
p {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: _font(letter-spacing);
|
||||
font-size: 0.8rem;
|
||||
line-height: 2;
|
||||
.symbol {
|
||||
margin-right: 0.65em;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
position: fixed;
|
||||
right: 2em;
|
||||
top: 2em;
|
||||
z-index: _misc(z-index-base);
|
||||
|
||||
ul {
|
||||
@include vendor('display', 'flex');
|
||||
margin-bottom: 0;
|
||||
@include vendor('align-items', 'center');
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
border: solid _size(border-width) _palette(border);
|
||||
border-radius: _size(border-radius);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
padding-left: 0;
|
||||
border-left: solid _size(border-width) _palette(border);
|
||||
|
||||
&:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
display: block;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
min-width: 7.5rem;
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 1.25rem 0 (1.25rem + _font(letter-spacing));
|
||||
text-transform: uppercase;
|
||||
position: relative;
|
||||
height: 3em;
|
||||
line-height: 3em;
|
||||
padding: 0 1.5em;
|
||||
background-color: transparentize(_palette(bg), 0.5);
|
||||
border-radius: _size(border-radius);
|
||||
border: 0;
|
||||
font-size: 0.8em;
|
||||
font-weight: _font(weight-bold);
|
||||
letter-spacing: _font(letter-spacing);
|
||||
font-size: 0.8rem;
|
||||
border-bottom: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
a[href="#menu"] {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
width: 4em;
|
||||
text-indent: 4em;
|
||||
font-size: 1em;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
|
||||
&:before, &:after {
|
||||
@include vendor('transition', 'opacity #{_duration(transition)} ease');
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 2em 2em;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 8px; stroke: #{_palette(accent1)}; }</style><line x1="0" y1="25" x2="100" y2="25" /><line x1="0" y1="50" x2="100" y2="50" /><line x1="0" y1="75" x2="100" y2="75" /></svg>');
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 8px; stroke: #{_palette(fg)}; }</style><line x1="0" y1="25" x2="100" y2="25" /><line x1="0" y1="50" x2="100" y2="50" /><line x1="0" y1="75" x2="100" y2="75" /></svg>');
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: _palette(border-bg);
|
||||
&:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: _palette(border-bg-alt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.use-middle {
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: calc(50% - #{_size(border-width) * 1});
|
||||
width: _size(border-width);
|
||||
height: 100%;
|
||||
background: _palette(border);
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
&.is-middle {
|
||||
border-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.is-article-visible & {
|
||||
@include vendor('transform', 'scale(0.95)');
|
||||
@include vendor('filter', 'blur(0.1rem)');
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
body.is-loading & {
|
||||
> * {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@include vendor('filter', 'blur(0.125rem)');
|
||||
|
||||
.content {
|
||||
.inner {
|
||||
max-height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
.content {
|
||||
p {
|
||||
br {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
> * {
|
||||
margin-top: 2rem;
|
||||
|
||||
&:before {
|
||||
top: calc(-2rem - 1px);
|
||||
height: calc(2rem + 1px);
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 4.75rem;
|
||||
height: 4.75rem;
|
||||
line-height: 4.75rem;
|
||||
|
||||
.icon {
|
||||
&:before {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
.inner {
|
||||
padding: 2.5rem 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.875;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
padding: 1.5rem 0;
|
||||
|
||||
.content {
|
||||
.inner {
|
||||
padding: 2.5rem 0;
|
||||
}
|
||||
}
|
||||
@include padding(3em, 0, (1em, 0, -3em, 0));
|
||||
|
||||
nav {
|
||||
right: 0.5em;
|
||||
top: 0.5em;
|
||||
|
||||
ul {
|
||||
@include vendor('flex-direction', 'column');
|
||||
min-width: 10rem;
|
||||
max-width: 100%;
|
||||
|
||||
li {
|
||||
border-left: 0;
|
||||
border-top: solid _size(border-width) _palette(border);
|
||||
|
||||
&:first-child {
|
||||
border-top: 0;
|
||||
a[href="#menu"] {
|
||||
&:before, &:after {
|
||||
background-size: 1.5em 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
height: 3rem;
|
||||
line-height: 3rem;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.use-middle {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -7,96 +7,9 @@
|
||||
/* Main */
|
||||
|
||||
#main {
|
||||
@include vendor('flex-grow', '1');
|
||||
@include vendor('flex-shrink', '1');
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('align-items', 'center');
|
||||
@include vendor('justify-content', 'center');
|
||||
@include vendor('flex-direction', 'column');
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
z-index: 3;
|
||||
|
||||
article {
|
||||
@include vendor('transform', 'translateY(0.25rem)');
|
||||
@include vendor('transition', (
|
||||
'opacity #{_duration(article)} ease-in-out',
|
||||
'transform #{_duration(article)} ease-in-out'
|
||||
));
|
||||
@include padding(2.5rem, 2.5rem, (2rem, 0, 1rem, 0));
|
||||
position: relative;
|
||||
width: 40rem;
|
||||
max-width: 100%;
|
||||
background-color: transparentize(_palette(bg), 0.15);
|
||||
border-radius: _size(border-radius);
|
||||
opacity: 0;
|
||||
|
||||
&.active {
|
||||
@include vendor('transform', 'translateY(0)');
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
cursor: pointer;
|
||||
text-indent: 4rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
&:before {
|
||||
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0.75rem;
|
||||
left: 0.75rem;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: 100%;
|
||||
background-position: center;
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" zoomAndPan="disable"><style>line { stroke: #{_palette(border)}; stroke-width: 1; }</style><line x1="2" y1="2" x2="18" y2="18" /><line x1="18" y1="2" x2="2" y2="18" /></svg>');
|
||||
background-size: 20px 20px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:before {
|
||||
background-color: _palette(border-bg);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
&:before {
|
||||
background-color: _palette(border-bg-alt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include padding(5em, 0, (-5em, 0, 3em, 0));
|
||||
|
||||
@include breakpoint(small) {
|
||||
article {
|
||||
@include padding(2rem, 2rem, (1.5rem, 0, 0.5rem, 0));
|
||||
|
||||
.close {
|
||||
&:before {
|
||||
top: 0.875rem;
|
||||
left: 0.875rem;
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
background-size: 14px 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
article {
|
||||
@include padding(2rem, 1.5rem, (1rem, 0, 0.5rem, 0));
|
||||
}
|
||||
@include padding(3em, 0, (-3em, 0, 3em, 0));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,164 @@
|
||||
///
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
|
||||
/* Menu */
|
||||
|
||||
#wrapper {
|
||||
@include vendor('transition', 'opacity #{_duration(menu)} ease');
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#menu {
|
||||
@include vendor('transform', 'translateX(#{_size(menu)})');
|
||||
@include vendor('transition', ('transform #{_duration(menu)} ease', 'visibility #{_duration(menu)}'));
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: _size(menu);
|
||||
max-width: 80%;
|
||||
height: 100%;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
background: _palette(fg);
|
||||
color: _palette(bg);
|
||||
cursor: default;
|
||||
visibility: hidden;
|
||||
z-index: _misc(z-index-base) + 2;
|
||||
|
||||
> .inner {
|
||||
@include vendor('transition', 'opacity #{_duration(menu)} ease');
|
||||
-webkit-overflow-scrolling: touch;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 2.75em;
|
||||
opacity: 0;
|
||||
overflow-y: auto;
|
||||
|
||||
> ul {
|
||||
list-style: none;
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
padding: 0;
|
||||
|
||||
> li {
|
||||
padding: 0;
|
||||
border-top: solid 1px transparentize(_palette(bg), 0.85);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 1em 0;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-top: 0;
|
||||
margin-top: -1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .close {
|
||||
@include vendor('transition', (
|
||||
'opacity #{_duration(menu)} ease',
|
||||
'transform #{_duration(menu)} ease'
|
||||
));
|
||||
@include vendor('transform', 'scale(0.25) rotate(180deg)');
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 2em;
|
||||
left: -6em;
|
||||
width: 6em;
|
||||
text-indent: 6em;
|
||||
height: 3em;
|
||||
border: 0;
|
||||
font-size: 1em;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
|
||||
&:before, &:after {
|
||||
@include vendor('transition', 'opacity #{_duration(transition)} ease');
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 2em 2em;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 8px; stroke: #{_palette(accent1)}; }</style><line x1="15" y1="15" x2="85" y2="85" /><line x1="85" y1="15" x2="15" y2="85" /></svg>');
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 8px; stroke: #{_palette(fg)}; }</style><line x1="15" y1="15" x2="85" y2="85" /><line x1="85" y1="15" x2="15" y2="85" /></svg>');
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(small) {
|
||||
@include vendor('transform', 'translateX(#{_size(menu) * 0.75})');
|
||||
width: (_size(menu) * 0.75);
|
||||
|
||||
> .inner {
|
||||
padding: 2.75em 1.5em;
|
||||
}
|
||||
|
||||
> .close {
|
||||
top: 0.5em;
|
||||
left: -4.25em;
|
||||
width: 4.25em;
|
||||
text-indent: 4.25em;
|
||||
|
||||
&:before, &:after {
|
||||
background-size: 1.5em 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.is-menu-visible {
|
||||
#wrapper {
|
||||
@include vendor('pointer-events', 'none');
|
||||
cursor: default;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
#menu {
|
||||
@include vendor('transform', 'translateX(0)');
|
||||
visibility: visible;
|
||||
|
||||
> * {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.close {
|
||||
@include vendor('transform', 'scale(1.0) rotate(0deg)');
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Dimension by HTML5 UP
|
||||
/// Phantom by HTML5 UP
|
||||
/// html5up.net | @ajlkn
|
||||
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
///
|
||||
@@ -7,30 +7,20 @@
|
||||
/* Wrapper */
|
||||
|
||||
#wrapper {
|
||||
@include vendor('display', 'flex');
|
||||
@include vendor('flex-direction', 'column');
|
||||
@include vendor('align-items', 'center');
|
||||
@include vendor('justify-content', 'space-between');
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
padding: 4rem 2rem;
|
||||
z-index: 3;
|
||||
> * {
|
||||
> .inner {
|
||||
$gutter: _size(gutter);
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
width: 100%;
|
||||
max-width: _size(inner);
|
||||
margin: 0 auto;
|
||||
padding: 0 $gutter;
|
||||
|
||||
@include breakpoint(xlarge) {
|
||||
padding: 3rem 2rem;
|
||||
}
|
||||
@include breakpoint(small) {
|
||||
$gutter: _size(gutter) * 0.5;
|
||||
|
||||
@include breakpoint(small) {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
@include breakpoint(xsmall) {
|
||||
padding: 1rem;
|
||||
padding: 0 $gutter;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+31
-24
@@ -1,43 +1,50 @@
|
||||
// Misc.
|
||||
$misc: (
|
||||
z-index-base: 10000
|
||||
z-index-base: 10000
|
||||
);
|
||||
|
||||
// Duration.
|
||||
$duration: (
|
||||
transition: 0.2s,
|
||||
bg: 2.5s,
|
||||
intro: 0.75s,
|
||||
article: 0.325s
|
||||
menu: 0.45s,
|
||||
transition: 0.2s
|
||||
);
|
||||
|
||||
// Size.
|
||||
$size: (
|
||||
border-radius: 4px,
|
||||
border-width: 1px,
|
||||
element-height: 2.75rem,
|
||||
element-margin: 2rem
|
||||
border-radius: 4px,
|
||||
border-width: 1px,
|
||||
element-height: 3em,
|
||||
element-margin: 2em,
|
||||
gutter: 2.5em,
|
||||
field-gutter: 2em,
|
||||
inner: 68em,
|
||||
menu: 22em
|
||||
);
|
||||
|
||||
// Font.
|
||||
$font: (
|
||||
family: ('Source Sans Pro', sans-serif),
|
||||
family-fixed: ('Courier New', monospace),
|
||||
weight: 300,
|
||||
weight-bold: 600,
|
||||
letter-spacing: 0.2rem,
|
||||
letter-spacing-heading: 0.5rem
|
||||
family: ('Source Sans Pro', Helvetica, sans-serif),
|
||||
family-fixed: ('Courier New', monospace),
|
||||
weight: 300,
|
||||
weight-bold: 900,
|
||||
weight-bold-alt: 700,
|
||||
letter-spacing: 0.35em,
|
||||
letter-spacing-alt: -0.035em
|
||||
);
|
||||
|
||||
// Palette.
|
||||
$palette: (
|
||||
bg: #1b1f22,
|
||||
bg-alt: #000000,
|
||||
bg-overlay: rgba(19,21,25,0.5),
|
||||
fg: #ffffff,
|
||||
fg-bold: #ffffff,
|
||||
fg-light: rgba(255,255,255,0.5),
|
||||
border: #ffffff,
|
||||
border-bg: rgba(255,255,255,0.075),
|
||||
border-bg-alt: rgba(255,255,255,0.175)
|
||||
bg: #ffffff,
|
||||
bg-accent: #333333,
|
||||
bg-alt: #f6f6f6,
|
||||
fg: #585858,
|
||||
fg-accent: #ffffff,
|
||||
border: #c9c9c9,
|
||||
border-bg: rgba(144,144,144,0.075),
|
||||
accent1: #f2849e,
|
||||
accent2: #7ecaf6,
|
||||
accent3: #7bd0c1,
|
||||
accent4: #c75b9b,
|
||||
accent5: #ae85ca,
|
||||
accent6: #8499e7,
|
||||
);
|
||||
+31
-14
@@ -3,26 +3,41 @@
|
||||
@import 'libs/mixins';
|
||||
@import 'libs/skel';
|
||||
@import 'font-awesome.min.css';
|
||||
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600');
|
||||
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,700,900');
|
||||
|
||||
/*
|
||||
Dimension by HTML5 UP
|
||||
Phantom by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
@include skel-breakpoints((
|
||||
xlarge: '(max-width: 1680px)',
|
||||
large: '(max-width: 1280px)',
|
||||
medium: '(max-width: 980px)',
|
||||
small: '(max-width: 736px)',
|
||||
xsmall: '(max-width: 480px)',
|
||||
xxsmall: '(max-width: 360px)'
|
||||
xlarge: '(max-width: 1680px)',
|
||||
large: '(max-width: 1280px)',
|
||||
medium: '(max-width: 980px)',
|
||||
small: '(max-width: 736px)',
|
||||
xsmall: '(max-width: 480px)',
|
||||
xxsmall: '(max-width: 360px)'
|
||||
));
|
||||
|
||||
@include skel-layout((
|
||||
reset: 'full',
|
||||
boxModel: 'border'
|
||||
boxModel: 'border',
|
||||
grid: (
|
||||
gutters: 2em
|
||||
),
|
||||
breakpoints: (
|
||||
medium: (
|
||||
grid: (
|
||||
gutters: 1.5em
|
||||
)
|
||||
),
|
||||
small: (
|
||||
grid: (
|
||||
gutters: 1em
|
||||
)
|
||||
)
|
||||
)
|
||||
));
|
||||
|
||||
// Base.
|
||||
@@ -32,18 +47,20 @@
|
||||
|
||||
// Component.
|
||||
|
||||
@import 'components/section';
|
||||
@import 'components/icon';
|
||||
@import 'components/list';
|
||||
@import 'components/form';
|
||||
@import 'components/box';
|
||||
@import 'components/icon';
|
||||
@import 'components/image';
|
||||
@import 'components/list';
|
||||
@import 'components/table';
|
||||
@import 'components/button';
|
||||
@import 'components/tiles';
|
||||
|
||||
// Layout.
|
||||
|
||||
@import 'layout/bg';
|
||||
@import 'layout/wrapper';
|
||||
@import 'layout/header';
|
||||
@import 'layout/menu';
|
||||
@import 'layout/main';
|
||||
@import 'layout/footer';
|
||||
@import 'layout/footer';
|
||||
@import 'layout/wrapper';
|
||||
@@ -1,19 +0,0 @@
|
||||
@import 'libs/vars';
|
||||
@import 'libs/functions';
|
||||
@import 'libs/mixins';
|
||||
@import 'libs/skel';
|
||||
|
||||
/*
|
||||
Dimension by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* Main */
|
||||
|
||||
#main {
|
||||
article {
|
||||
opacity: 1;
|
||||
margin: (_size(element-margin) * 2) 0 0 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user