HOD2018_website/themes/HOD2k18/static/css/style.scss
2018-10-06 19:30:00 +02:00

200 lines
4.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;
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;
}
pre {
margin: 0;
}
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: 80%;
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 {
position: fixed;
}
}
.text-wrapper {
position: relative;
.text-offset {
display: flex;
flex-wrap: wrap;
height: 50em;
background-color: transparent;
}
}
#call {
padding-top: 4em;
margin-bottom: 0;
padding-bottom: 1em;
}
}
}
}
}
footer {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 3em;
background: #000001;
text-align: center;
position: absolute;
bottom: 0;
}
}