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.
 
 
 

216 lines
3.1 KiB

@import 'src/fonts/stylesheet.css';
/**
* variables
*
*/
$text-color: #fff;
$link-color: #fefe5b;
$link-background-color: #008106;
$background-color: #000084;
$background-contrast-color: #bbbbbb;
/**
* default elements
*
*/
body {
color: $text-color;
background-color: $background-color;
font-family: 'PxPlus IBM VGA8', sans-serif;
font-style: normal;
font-size: 1.2rem;
}
a {
text-decoration: none;
}
/**
* 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;
}
}
}
}
}
/**
*
*
*/
main {
max-width: 600px;
margin: 2em auto 0;
}
/**
* footer
*
*
*/
footer {
text-align: center;
font-size: 3rem;
width: 100%;
background: #000;
padding: 0.8em 0;
i {
color: #fff !important;
}
}
/**
* section
*
*
*/
.section {
padding: 50px 0.8em;
line-height: 1.5;
@media (min-width: 768px) {
padding: 50px 0;
}
}
/**
* 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;
}
}
}