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

302 lines
6.8 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;
display: flex;
justify-content: center;
@media screen and (max-width: $breakpoint-tablet) {
margin: auto;
}
#calendario {
height: 100%;
@media screen and (min-width: $breakpoint-tablet) {
position: fixed;
right: 10em;
}
ul {
#overflow-scroll {
overflow-y: hidden;
}
overflow-y: scroll;
max-width: 45em;
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 {
max-width: 45em;
@media screen and (max-width: $breakpoint-tablet) {
margin: auto;
}
#illustrazione {
margin-top: 1em;
display: flex;
flex-wrap: wrap;
.ascii-wrapper {
pre {
margin:0;
position: fixed;
@media screen and (max-width: $breakpoint-tablet) {
font-size:0.5em;
font-weight: bold;
}
@media screen and (min-width: $breakpoint-tablet) 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-tablet) {
height:26em;
}
@media screen and (min-width: $breakpoint-tablet) and (max-width: $breakpoint-normal-screen) {
height:37.3em;
}
@media screen and (min-width: $breakpoint-normal-screen) {
height:50em;
}
}
.fake-freccina{
margin-top: 0;
@media screen and (max-width: $breakpoint-tablet) {
left:24.25em;
display:none;
}
@media screen and (min-width: $breakpoint-tablet) and (max-width: $breakpoint-normal-screen) {
left:36.8em;
}
@media screen and (min-width: $breakpoint-normal-screen) {
left:43.15em;
}
}
}
#call {
padding-top: 4em;
margin-bottom: 0;
padding-bottom: 1em;
@media screen and (max-width: $breakpoint-tablet) {
padding:0 10% 0 10%;
}
@media screen and (min-width: $breakpoint-tablet) and (max-width: $breakpoint-normal-screen) {
padding:0 10% 0 10%;
}
@media screen and (min-width: $breakpoint-normal-screen) {
padding:0 10% 0 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;
visibility: hidden;
}
}