You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

218 lines
3.3 KiB

@import 'src/fonts/stylesheet.css';
/**
* variables
*
*/
$text-color: #fff;
$link-color: #fefe5b;
$link-background-color: #008106;
$background-color: #000084;
$background-contrast-color: #bbbbbb;
$color__text: #bbbbbb;
$color__secondary: #00aaaa;
/**
* default elements
*
*/
body {
color: $text-color;
background-color: $background-color;
font-family: 'PxPlus IBM VGA8', sans-serif;
font-style: normal;
font-size: 1.2rem;
line-height: 1.3;
}
a {
text-decoration: none;
&:focus {
outline: none;
}
}
h1, h2, h3, h4, h5, h6 {
font-size: 18px;
font-weight: normal;
text-transform: uppercase;
}
.site-header {
padding: 20px 20px;
margin: 20px 0 20px;
color: #000;
background: $color__secondary;
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
}
main {
margin: 50px 0;
}
/**
* navigation
*
*
*/
.navbar {
padding: 10px;
background-color: $background-contrast-color;
@media (min-width: 768px) {
padding: 0;
}
ul {
list-style: none;
padding: 10px;
margin: 0;
border: 1px solid #000;
@media (min-width: 768px) {
margin: 0 0 0 10px;
padding: 0;
border: none;
}
li {
display: block;
line-height: 20px;
@media (min-width: 768px) {
display: inline-block;
}
a {
display: block;
padding: 4px 10px;
color: #fff;
@media (min-width: 768px) {
display: inline-block;
}
&:hover {
color: #fff;
background-color: #000;
}
}
&.current {
a {
color: #fff;
background-color: #000;
}
}
}
}
}
/**
* footer
*
*
*/
footer {
text-align: center;
font-size: 3rem;
width: 100%;
background: #000;
padding: 0.8em 0;
i {
color: #fff !important;
}
}
/**
* icons
*
*
*/
[class^="icon-tiny"], [class*=" icon-tiny"] {
font-family: 'PxPlus IBM VGA8', sans-serif !important;
font-style: normal;
color: $link-color;
}
.icon-tiny-one-page-open {
&:after {
content: '\2630';
}
}
.icon-tiny-one-page-close {
&:after {
content: '\2A2F';
}
}
/**
* tiny-tiny-hamburger
*
*
*/
.tiny-one-page {
// modal with animation
&__modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 99;
height: auto;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s;
@media (min-width: 768px) {
max-height: none !important;
}
}
&__button {
position: fixed;
top: 0;
right: 0;
font-size: 1.8rem;
appearance: none;
border: none;
background: transparent;
padding: 0.7em 0.8em;
z-index: 100;
&:hover, &:focus {
outline: none;
}
&:hover {
cursor: pointer;
}
@media (min-width: 768px) {
display: none;
}
}
}