Relearn 2021 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

364 lines
4.8 KiB

4 years ago
@font-face {
4 years ago
font-family: "AvaraBold";
src: url("Avara-Bold.otf");
font-weight: normal;
font-style: normal;
4 years ago
}
@font-face {
4 years ago
font-family: "AvaraBold";
src: url("Avara-BoldItalic.otf");
font-weight: normal;
font-style: italic;
4 years ago
}
@font-face {
4 years ago
font-family: "AvaraBold";
src: url("Avara-Black.otf");
font-weight: bold;
font-style: normal;
4 years ago
}
.fr {
4 years ago
display: none;
4 years ago
}
:root {
4 years ago
font-size: 18px;
line-height: 1.4em;
4 years ago
}
html,
#curve {
4 years ago
scroll-behavior: smooth;
4 years ago
}
4 years ago
body {
position: relative;
margin: 0;
padding: 0;
color: purple;
background-color: #ff4d4d33;
font-family: "AvaraBold";
overflow: hidden;
4 years ago
}
4 years ago
hr {
border: 0;
border-bottom: 1px dotted;
margin-top: 1em;
margin-bottom: 1em;
4 years ago
}
4 years ago
h1 {
line-height: 1.1em;
4 years ago
}
h3 {
4 years ago
font-size: 1em;
margin-top: 0;
margin-bottom: 0;
4 years ago
}
dl {
4 years ago
column-count: 2;
4 years ago
}
dt {
4 years ago
text-decoration: underline;
4 years ago
}
dl {
4 years ago
text-indent: 0;
4 years ago
}
dd {
4 years ago
margin-left: 0;
display: inline-block;
4 years ago
}
p {
4 years ago
margin: 0;
4 years ago
}
p + p {
4 years ago
margin-top: 1em;
4 years ago
}
ul {
4 years ago
padding-left: 0;
4 years ago
}
select {
4 years ago
font-size: 1em;
4 years ago
}
a {
4 years ago
text-decoration-style: wavy;
text-decoration-skip-ink: none;
text-decoration-color: white;
4 years ago
}
sup {
4 years ago
line-height: 0;
4 years ago
}
/* --- slider --- */
4 years ago
div#sliders {
position: fixed;
width: 500px;
top: 60px;
left: 61%;
bottom: 1em;
}
div#slider {
float: left;
margin: 0.5em 1em 1em 0.5em;
z-index: 1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 400px;
background: transparent;
4 years ago
}
#slider2 {
4 years ago
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 400px;
background: transparent;
4 years ago
}
#controlpoints li {
4 years ago
position: absolute;
z-index: 10000;
list-style-type: none;
width: 10em;
line-height: 1.3em;
4 years ago
}
#controlpoints li#cp-paris {
4 years ago
top: 220px;
left: 20px;
4 years ago
}
#controlpoints li#cp-brussels {
4 years ago
top: 0px;
left: 220px;
4 years ago
}
#controlpoints li#cp-rotterdam {
4 years ago
top: 140px;
right: 20px;
4 years ago
}
#warped {
4 years ago
font-weight: bold;
position: absolute;
top: 220px;
left: -40px;
height: 220px;
4 years ago
}
div#relearn-infos {
4 years ago
position: fixed;
bottom: 2em;
left: 65%;
margin-top: 2em;
4 years ago
}
div#relearn-infos ul {
4 years ago
margin: 0;
4 years ago
}
/* --- control points ---*/
#curve {
4 years ago
width: 55%;
padding: 1em 2em;
height: 87vh;
overflow: auto;
padding-bottom: 4em;
4 years ago
}
#curve::-webkit-scrollbar {
4 years ago
width: 6px;
border-radius: 5px;
4 years ago
}
#curve::-webkit-scrollbar-track {
4 years ago
background-color: black;
4 years ago
}
#curve::-webkit-scrollbar-thumb {
4 years ago
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
background-color: lightgray;
border-radius: 5px;
4 years ago
}
.details {
4 years ago
display: none;
margin-top: 1em;
4 years ago
}
4 years ago
div.controlpoint {
max-width: 800px;
margin: 1em 0;
margin-top: 2em;
padding-bottom: 2em;
4 years ago
4 years ago
border-top: 1px solid black;
border-bottom: 1px solid black;
4 years ago
}
div.controlpoint + div.controlpoint {
4 years ago
border-top: 0;
4 years ago
}
div.controlpoint ul {
4 years ago
column-count: 2;
4 years ago
}
dl:not(.summary) dt,
dl:not(.summary) dd {
4 years ago
display: inline;
4 years ago
}
dl:not(.summary) dd:before {
4 years ago
content: " ";
4 years ago
}
dl:not(.summary) dd + dt:before {
4 years ago
content: "";
display: block;
4 years ago
}
.practical-infos {
4 years ago
display: flex;
flex-wrap: wrap;
margin-top: 1em;
4 years ago
}
.programme {
4 years ago
margin-bottom: 1em;
width: 100%;
4 years ago
}
.programme div.flex {
4 years ago
float: left;
width: 50%;
4 years ago
}
.programme p {
4 years ago
width: 50%;
float: left;
box-sizing: border-box;
4 years ago
}
.programme p {
4 years ago
padding-right: 0.5em;
4 years ago
}
.programme p + p {
4 years ago
padding-right: 0em;
padding-left: 0.5em;
4 years ago
}
.programme div.flex p {
4 years ago
width: 100%;
float: none;
4 years ago
}
div.controlpoint .programme ul {
4 years ago
column-count: 1;
padding: 0 1em;
4 years ago
}
.participation,
.hosting {
4 years ago
flex-basis: 50%;
box-sizing: border-box;
4 years ago
}
.participation {
4 years ago
padding-right: 0.5em;
4 years ago
}
.hosting {
4 years ago
padding-left: 0.5em;
4 years ago
}
/*--- ROTTERDAM ---*/
4 years ago
#rotterdam {
color: #0054ff;
4 years ago
}
4 years ago
#rotterdam li {
list-style: none;
text-indent: -23px;
margin-left: 2em;
4 years ago
}
/*--- BRUSSELS ---*/
#brussels {
4 years ago
color: teal;
4 years ago
}
/*--- PARIS ---*/
#paris {
4 years ago
color: tomato;
4 years ago
}
/*--- MOBILE ---*/
4 years ago
@media only screen and (max-width: 1024px) {
:root {
font-size: 13px;
line-height: 1.4em;
}
div#sliders {
top: 0;
left: 0;
right: 0;
width: initial;
height: 150px;
background-color: #ffdbdb;
}
div#slider {
top: -100px;
left: -40px;
transform: scale(0.5);
}
#warped {
top: -50px;
left: -225px;
transform: scale(0.5);
}
div#relearn-infos {
position: static;
}
#curve {
padding-top: 150px;
width: 100%;
box-sizing: border-box;
}
4 years ago
4 years ago
.programme div.flex,
.programme p {
width: 100%;
}
.programme ul {
margin-top: 0;
}
.participation,
.hosting {
flex-basis: 100%;
padding: 0;
}
.hosting {
margin-top: 1em;
}
#controlpoints li#cp-paris {
top: 120px;
left: 40px;
}
#controlpoints li#cp-brussels {
top: 10px;
left: 20px;
}
#controlpoints li#cp-rotterdam {
top: 10px;
right: -40px;
}
4 years ago
}