HOD2018_website/public/css/style.scss
2018-10-15 21:45:50 +02:00

427 lines
11 KiB
SCSS

$breakpoint-phone: 600px;
$breakpoint-tablet: 900px;
$breakpoint-normal-screen: 1200px;
$breakpoint-big-screen: 1800px;
$BG-color: #000001;
$text-color: #37ffad;
$new-link: #ff33cc;
$visited-link: #cc0099;
@-webkit-keyframes rainbow{
0%{color: orange;}
10%{color: purple;}
20%{color: red;}
40%{color: yellow;}
60%{color: green;}
100%{color: blue;}
100%{color: orange;}
}
@-webkit-keyframes banner-stretch{
0%{width: 0%;
left:0;}
15%{width: 100%;}
75%{width:100%;};
100%{width:0%;
right:0;};
}
@-webkit-keyframes banner-opacity{
0%{opacity: 0%;}
35%{opacity: 100%; visibility: visible;}
65%{opacity: 80%;}
100%{opacity:0;display: none;};
}
body {
font-family: monospace;
width: 100%;
background-color: $BG-color;
color: $text-color;
padding: 0;
margin: 0;
.rainbow{
animation-name: rainbow;
animation-duration: 18s;
animation-iteration-count: infinite;
}
a {
color: $new-link;
}
a:visited {
color: $visited-link;
}
// FURBY-COLOR
.stellina{
color:blue;
}
.bocca, .onecchie{
color: burlywood;
}
.occhietti,{
color: white;
}
.vello{
color:brown;
}
.setola{
color:lightcoral;
}
.pedibus{
color:chocolate;
}
main {
width: 100%;
height: 98vh;
background: #000001;
display: flex;
overflow: scroll;
@media screen and (max-width: $breakpoint-tablet) {
flex-wrap: wrap;
}
#scrollable-column {
@media screen and (max-width: $breakpoint-tablet) {
flex-wrap: wrap;
}
@media screen and (min-width: $breakpoint-tablet) {
#raggiungerci {
position: absolute;
bottom: 7em;
padding-top: 0.1em;
}
}
display: flex;
width: 100%;
margin: auto;
#right-column {
width: 100%;
background-color: $BG-color;
z-index: 33;
display: flex;
justify-content: center;
@media screen and (max-width: $breakpoint-tablet) {
display:flex;
justify-content: center;
}
#calendario {
height: 100%;
max-width: 40em;
@media screen and (min-width: $breakpoint-tablet) {
position: fixed;
}
@media screen and (min-width: $breakpoint-normal-screen) {
width:40%;
}
ul {
#overflow-scroll {
overflow-y: hidden;
}
overflow-y: scroll;
list-style-type: none;
background: transparent;
padding: 1em;
display: flex;
flex-wrap: wrap;
max-height: 80%;
li {
flex-wrap: wrap;
margin-bottom: 1em;
.filler {
display: flex;
flex: 1 1 100%;
}
.filler + div{
border: solid 1pt white;
margin:1.3em 0 -0.4em 0;
}
.title-wrapper {
display: flex;
border-top: 1pt solid white;
border-right: 1pt solid white;
border-left: 1pt solid white;
border-bottom: 1pt solid white;
padding: 0.1em;
margin-bottom: -5px;
z-index: 32;
@media screen and (max-width: $breakpoint-tablet) {
width:100%;
}
.orario {
color: $text-color;
height: 1.2em;
width: 4em;
display: flex;
justify-content: center;
}
h4 {
height: 1.2em;
margin: 0 1em;
a {
text-decoration: none;
}
}
}
}
.descrizione-talk {
display: none;
flex: 1 1 100%;
overflow-y: hidden;
div{
max-height:30em;
overflow-y: scroll;
padding:3em;
}
/*@media screen and (min-width: $breakpoint-normal-screen) {
max-width: 75%;
}*/
hyphens: auto;
}
}
}
#raggiungerci {
background-color: $BG-color;
z-index: 100;
margin-top: 1em;
width:100%;
}
}
#left-column {
@media screen and (max-width: $breakpoint-tablet) {
margin: auto;
}
#illustrazione {
margin-top: 1em;
display: flex;
flex-wrap: wrap;
justify-content: center;
pre {
margin:0;
position: fixed;
.rainbow{
.retard-1{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.1s;
}
.retard-2{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.2s;
}
.retard-3{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.3s;
}
.retard-4{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.4s;
}
.retard-5{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.5s;
}
.retard-6{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.6s;
}
.retard-7{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.7s;
}
.retard-8{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.8s;
}
.retard-9{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 0.9s;
}
.retard-10{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1s;
}
.retard-11{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.1s;
}
.retard-12{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.2s;
}
.retard-13{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.3s;
}
.retard-14{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.4s;
}
.retard-15{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.5s;
}
.retard-16{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.6s;
}
.retard-17{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.7s;
}
.retard-18{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.8s;
}
.retard-19{
animation-name: rainbow;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-delay: 1.9s;
}
}
@media screen and (max-width: $breakpoint-phone) {
font-size:0.6em;
font-weight: bold;
}
@media screen and (min-width: $breakpoint-phone) and (max-width: $breakpoint-normal-screen) {
font-size: 0.8em;
}
@media screen and (min-width: $breakpoint-normal-screen) {
font-size: 0.9em;
}
}
.text-wrapper {
position: relative;
.text-offset {
display: flex;
flex-wrap: wrap;
background-color: transparent;
@media screen and (max-width: $breakpoint-phone) {
height:33em;
}
@media screen and (min-width: $breakpoint-phone) and (max-width: $breakpoint-normal-screen) {
height:43em;
}
@media screen and (min-width: $breakpoint-normal-screen) {
height:50em;
}
}
.fake-freccina{
margin-top: 0;
@media screen and (max-width: $breakpoint-tablet) {
left:46.25em;
}
@media screen and (min-width: $breakpoint-tablet) and (max-width: $breakpoint-normal-screen) {
left:46.3em;
}
@media screen and (min-width: $breakpoint-normal-screen) {
left:52.35em;
}
}
#call {
margin:0;
padding:1em 10% 2em 10%;
}
}
}
}
}
}
footer {
// animation: banner-stretch 3.3s 1s;
display: flex;
animation-direction: normal;
animation-fill-mode: forwards;
justify-content: center;
align-items: center;
height: 3em;
text-align: center;
position: absolute;
bottom: 0;
width:100%;
background-color: black;
}
}