HOD2018_website/themes/HOD2k18/static/css/style.scss
2018-10-10 23:10:39 +02:00

285 lines
6.3 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;
a {
color: $new-link;
}
a:visited {
color: $visited-link;
}
.rainbow{
animation: rainbow 18s ease infinite;
/*
.retard-1{
animation-delay: -1s;
}
.retard-2{
animation-delay: 12s;
}
*/ }
// 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: 3em;
.descrizione-talk {
padding: 0 !important;
}
}
}
display: flex;
width: 100%;
margin: auto;
#right-column {
width: 100%;
background-color: $BG-color;
z-index: 33;
@media screen and (max-width: $breakpoint-tablet) {
margin: auto;
}
#calendario {
height: 100%;
@media screen and (min-width: $breakpoint-tablet) {
position: fixed;
}
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%;
}
.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: 2;
.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%;
padding: 1em 0 2em 2em;
border-top: 1pt solid white;
border-right: 1pt solid white;
border-left: 1pt solid white;
border-bottom: 1pt solid white;
max-width: 75%;
hyphens: auto;
}
.titolo:target+.descrizionedescrizione-talk {
display: flex;
}
}
}
#raggiungerci {
background-color: $BG-color;
z-index: 100;
margin-top: 1em;
}
}
#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;
@media screen and (max-width: $breakpoint-phone) {
font-size:0.5em;
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: 1em;
}
}
.text-wrapper {
position: relative;
.text-offset {
display: flex;
flex-wrap: wrap;
background-color: transparent;
@media screen and (max-width: $breakpoint-phone) {
height:26em;
}
@media screen and (min-width: $breakpoint-phone) and (max-width: $breakpoint-normal-screen) {
height:41em;
}
@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;
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;
}
}