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

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