This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
Nodezzarella/public/assets/css/global.scss
2017-07-03 08:14:53 +02:00

162 lines
3.4 KiB
SCSS
Executable file

body {
background: black url("/img/fairyland-canyon-1632749-low.jpg") no-repeat top center;
-webkit-background-size: 100%;
background-size: 100%;
display: flex;
flex-direction: column;
font-family: Roboto, sans-serif;
font-weight: 300;
font-size: 13pt;
margin: 0;
outline: none;
a{
color: inherit;
text-decoration: none;
}
header {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin-top: 50px;
#logo{
color: #fff;
font-family: "Century Schoolbook L";
font-size: 23pt ;
}
nav {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
flex-grow: 0.2;
.navIcon{
width: 25px;
filter: brightness(0.6);
transition: filter 0.5s;
}
.navIcon:hover{
filter: brightness(1);
}
.navItem{
cursor: pointer;
position: relative;
color: #B3B3B3;
transition: color 0.2s;
}
.navItem:hover{
color: white;
}
.navItem.focus{
color: white;
}
.navItem.focus .navIcon{
filter: brightness(1);
}
}
}
}
.search{
position: absolute;
top: -141px;
opacity: 0;
display: flex;
align-items: center;
flex-direction: column;
width: 100%;
height: 141px;
background: white;
transition: top 0.5s cubic-bezier(.19,1,.22,1), opacity 0.5s cubic-bezier(.19,1,.22,1);
.inputContainer{
display: flex;
align-items: center;
flex-direction: row;
width: 80%;
height: 100%;
input{
flex-grow: 1;
height: 50px;
background: transparent;
border: none;
font-size: 20pt;
font-family: Roboto, sans-serif;
font-weight: 300;
}
button{
position: relative;
border: none;
padding: 40px;
background: transparent url(/img/close.svg) no-repeat center center;
background-size: 20px 20px;
width: 20px;
height: 20px;
border-radius: 50%;
font-family: Roboto, sans-serif;
color: white;
overflow: hidden;
transition: color 0.3s;
cursor: pointer;
}
button:after {
content: "";
background: #6d6d6d;
position: absolute;
width: 0px;
height: 0px;
top: 0;
left: -3px;
bottom: 0;
right: -3px;
margin: auto;
transition: width 0s, height 0s, background 0s, opacity 0s;
border-radius: 50%;
overflow: hidden;
opacity: 1;
}
button:active:after {
width: 150px;
height: 150px;
background: white;
opacity: 0;
transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
}
button:before {
content: "";
background: transparent;
position: absolute;
width: 0px;
height: 0px;
top: 0;
left: -3px;
bottom: 0;
right: -3px;
margin: auto;
transition: width 0.1s, height 0.1s, background 0.5s;
border-radius: 50%;
overflow: hidden;
opacity: 1;
z-index: -1;
}
button:hover:before {
width: 300px;
height: 300px;
background: #fff;
transition: width 0.5s, height 0.5s, background 0.5s ;
}
}
}
.blackAsset{
filter: brightness(0);
}
@import "flexgrid";
@import "tiles";
@import "disclaimer";
@import "main";
@import "article";
@import "comments";
@import "forms";
@import "galerie";
@import "popup";
@import "workView";