interq.ens.fr/www/css/style.css

742 lines
14 KiB
CSS
Raw Normal View History

2024-01-05 17:05:23 +01:00
/*--------------------------------------------------------*/
/* FONTS
/*--------------------------------------------------------*/
/* fira-sans-regular - latin */
@font-face {
2024-02-19 20:18:10 +01:00
font-family: "Fira Sans";
font-style: normal;
font-weight: 400;
src:
local("Fira Sans Regular"),
local("FiraSans-Regular"),
url("../fonts/fira-sans-v10-latin-regular.woff2") format("woff2"),
url("../fonts/fira-sans-v10-latin-regular.woff") format("woff");
2024-01-05 17:05:23 +01:00
}
/* fira-sans-700 - latin */
@font-face {
2024-02-19 20:18:10 +01:00
font-family: "Fira Sans";
font-style: normal;
font-weight: 700;
src:
local("Fira Sans Bold"),
local("FiraSans-Bold"),
url("../fonts/fira-sans-v10-latin-700.woff2") format("woff2"),
url("../fonts/fira-sans-v10-latin-700.woff") format("woff");
}
2024-01-05 17:05:23 +01:00
/* fira-mono-regular - latin */
@font-face {
2024-02-19 20:18:10 +01:00
font-family: "Fira Mono";
font-style: normal;
font-weight: 400;
src:
local("Fira Mono Regular"),
local("FiraMono-Regular"),
url("../fonts/fira-mono-v8-latin-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("../fonts/fira-mono-v8-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
2024-01-05 17:05:23 +01:00
/* permanent-marker-regular - latin */
@font-face {
2024-02-19 20:18:10 +01:00
font-family: "Permanent Marker";
font-style: normal;
font-weight: 400;
src:
local("Permanent Marker Regular"),
local("PermanentMarker-Regular"),
url("../fonts/permanent-marker-v9-latin-regular.woff2") format("woff2"),
url("../fonts/permanent-marker-v9-latin-regular.woff") format("woff");
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* GENERAL RULES
/*--------------------------------------------------------*/
* {
2024-02-19 20:18:10 +01:00
box-sizing: border-box;
padding: 0;
margin: 0;
2024-01-05 17:05:23 +01:00
}
2024-02-19 20:18:10 +01:00
html,
body {
font-family: "Fira Sans", sans-serif;
font-weight: 400;
line-height: 180%;
color: #000000;
font-size: 18px;
2024-01-05 17:05:23 +01:00
}
body {
2024-02-19 20:18:10 +01:00
background-color: #fbfbfb;
2024-01-05 17:05:23 +01:00
}
a,
a:hover,
a:active,
a:visited {
2024-02-19 20:18:10 +01:00
color: #000000;
text-decoration: none;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 480px) {
2024-02-19 20:18:10 +01:00
html,
body {
font-size: 16px;
line-height: 160%;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* HEADER
/*--------------------------------------------------------*/
#main-header {
2024-02-19 20:18:10 +01:00
position: relative;
height: 750px;
margin-bottom: 40px;
background-color: #fbfbfb;
background-image: url("../img/header/interq4.svg");
background-position: top center;
background-size: cover;
background-repeat: no-repeat;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 1200px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 600px;
/* margin-bottom: 30px; */
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 960px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 460px;
/* margin-bottom: 30px; */
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 420px;
/* margin-bottom: 20px; */
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 640px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 320px;
margin-bottom: 20px;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 480px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 250px;
/* margin-bottom: 20px; */
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 320px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 150px;
/* margin-bottom: 15px; */
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 220px) {
2024-02-19 20:18:10 +01:00
#main-header {
height: 120px;
/* margin-bottom: 15px; */
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* CONTENT
/*--------------------------------------------------------*/
section {
2024-02-19 20:18:10 +01:00
padding: 0 0 200px 0;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
background-repeat: no-repeat;
background-position: bottom center;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
text-align: justify;
2024-01-05 17:05:23 +01:00
}
section > * {
2024-02-19 20:18:10 +01:00
max-width: 960px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin-left: calc(50% - 480px);
padding-left: 60px;
padding-right: 60px;
2024-01-05 17:05:23 +01:00
}
section h2 {
2024-02-19 20:18:10 +01:00
margin-bottom: 25px;
padding: 40px 60px 30px 60px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
color: #000000;
font-family: "Permanent Marker";
font-size: 3.2rem;
text-align: center;
word-wrap: break-word;
hyphens: auto;
2024-01-05 17:05:23 +01:00
}
section:nth-child(2) {
2024-02-19 20:18:10 +01:00
background-color: #fbfbfb;
background-image: url(../img/theme/paint/paint-yellow.svg),
url(../img/theme/elements/chenille.svg);
background-repeat: no-repeat;
background-position:
0% 100%,
0% 0%;
2024-01-05 17:05:23 +01:00
}
section:nth-child(3) {
2024-02-19 20:18:10 +01:00
background-color: #fbfbfb;
background-image:
url(../img/theme/paint/paint-orange.svg),
url(../img/theme/elements/cocon.svg)
/*url(../img/theme/elements/bouche.svg)*/;
background-repeat: no-repeat;
background-position:
0% 100%,
top left;
2024-01-05 17:05:23 +01:00
}
section:nth-child(4) {
2024-02-19 20:18:10 +01:00
background-color: #fbfbfb;
background-image: url(../img/theme/paint/paint-magenta.svg),
url(../img/theme/elements/cocon_sortie.svg);
background-repeat: no-repeat;
background-position:
0% 100%,
center right;
}
2024-01-05 17:05:23 +01:00
section:nth-child(5) {
2024-02-19 20:18:10 +01:00
background-color: #fbfbfb;
background-image: url(../img/theme/paint/paint-violet.svg),
url(../img/theme/elements/early_papillon.svg);
background-repeat: no-repeat;
background-position:
0% 100%,
center right;
2024-01-05 17:05:23 +01:00
}
section p {
2024-02-19 20:18:10 +01:00
padding-bottom: 20px;
font-size: 1.2rem;
2024-01-05 17:05:23 +01:00
}
section p.stand-out {
2024-02-19 20:18:10 +01:00
/* font-weight: 700; */
text-align: center;
2024-01-05 17:05:23 +01:00
}
section p a,
section p a:visited {
2024-02-19 20:18:10 +01:00
padding: 0px 2px;
color: #000000;
/* text-decoration: underline; */
border-bottom: 3px solid #000;
2024-01-05 17:05:23 +01:00
}
section p a:hover,
section p a:active {
2024-02-19 20:18:10 +01:00
background-color: #000000;
color: #ffffff;
text-decoration: none;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
section > * {
max-width: 960px;
margin-left: auto;
margin-right: auto;
padding-left: 40px;
padding-right: 40px;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
section h2 {
font-size: 2.6rem;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 580px) {
2024-02-19 20:18:10 +01:00
section h2 {
padding: 40px 40px 30px 40px;
font-size: 2.4rem;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
section {
background-image: none;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 380px) {
2024-02-19 20:18:10 +01:00
section > * {
padding-left: 20px;
padding-right: 20px;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
section h2 {
padding: 40px 20px 30px 20px;
font-size: 2.4rem;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 320px) {
2024-02-19 20:18:10 +01:00
section h2 {
padding: 30px 20px 20px 20px;
font-size: 2rem;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* BUTTONS
/*--------------------------------------------------------*/
.button {
2024-02-19 20:18:10 +01:00
display: block;
/* width: 80%; */
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin: 20px auto 0 auto;
padding: 15px 20px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
background-color: transparent;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
border: 3px solid #000000;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
color: #000000;
font-size: 1.4rem;
font-weight: 400;
text-transform: uppercase;
text-align: center;
2024-01-05 17:05:23 +01:00
}
.button:hover {
2024-02-19 20:18:10 +01:00
background-color: #000000;
color: #ffffff;
2024-01-05 17:05:23 +01:00
}
2024-02-19 20:18:10 +01:00
#instagram-button > span::before {
content: " ";
display: inline-block;
background-image: url("../img/icons/instagram.svg");
background-size: 32px 32px;
height: 32px;
width: 32px;
margin: 0 5px;
2024-01-05 17:05:23 +01:00
}
2024-02-19 20:18:10 +01:00
#instagram-button:hover > span::before {
background-image: url("../img/icons/instagram-white.svg");
background-color: #000000;
2024-01-05 17:05:23 +01:00
}
.button > span {
2024-02-19 20:18:10 +01:00
line-height: 32px;
vertical-align: middle;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 320px) {
2024-02-19 20:18:10 +01:00
.button {
width: 100%;
padding: 10px 15px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
font-size: 1.1rem;
line-height: 24px;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
.button img {
height: 24px;
width: 24px;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* INTERQ 2016
/*--------------------------------------------------------*/
.interq2016 img {
2024-02-19 20:18:10 +01:00
text-align: center;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
.interq2016 img {
width: 60%;
height: 60%;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* PRICE TABLE
/*--------------------------------------------------------*/
#calendar {
2024-02-19 20:18:10 +01:00
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
#calendar {
overflow-x: scroll;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
#cal-container {
min-width: 1800px;
margin: 0 0 40px 0; /* Fix the weird y-overflow of the calendar root */
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* LOCATION
/*--------------------------------------------------------*/
#mailing-address {
2024-02-19 20:18:10 +01:00
margin: 0 0 20px 0;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
font-size: 1.5rem;
font-weight: 700;
text-align: center;
line-height: 32px;
vertical-align: middle;
2024-01-05 17:05:23 +01:00
}
#mailing-address > span::before {
2024-02-19 20:18:10 +01:00
content: " ";
display: inline-block;
background-image: url("../img/icons/location.svg");
background-size: 32px 32px;
height: 32px;
width: 32px;
margin: 0 5px;
2024-01-05 17:05:23 +01:00
}
#interactive-map {
2024-02-19 20:18:10 +01:00
width: 100%;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin: 20px 0;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
border: none;
border-radius: 10px;
2024-01-05 17:05:23 +01:00
}
#public-transport-info {
2024-02-19 20:18:10 +01:00
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin-left: calc(50% - 480px - 50px);
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
font-size: 1.5rem;
line-height: 48px;
vertical-align: middle;
white-space: nowrap;
2024-01-05 17:05:23 +01:00
}
#public-transport-info > * {
2024-02-19 20:18:10 +01:00
margin: 5px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
justify-self: left;
2024-01-05 17:05:23 +01:00
}
#public-transport-info img {
2024-02-19 20:18:10 +01:00
width: 48px;
height: 48px;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin: 0 5px 0 0;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
vertical-align: bottom;
2024-01-05 17:05:23 +01:00
}
#transport-metro-icon,
#transport-metro-stop,
#transport-bus-1-icon,
#transport-bus-1-stop {
2024-02-19 20:18:10 +01:00
grid-row: 1;
2024-01-05 17:05:23 +01:00
}
#transport-rer-icon,
#transport-rer-stop,
#transport-bus-2-icon,
#transport-bus-2-stop {
2024-02-19 20:18:10 +01:00
grid-row: 2;
2024-01-05 17:05:23 +01:00
}
#transport-noctilien-icon,
#transport-noctilien-stop {
2024-02-19 20:18:10 +01:00
grid-row: 3;
2024-01-05 17:05:23 +01:00
}
#transport-metro-icon,
#transport-rer-icon {
2024-02-19 20:18:10 +01:00
grid-column: 1;
justify-self: end;
2024-01-05 17:05:23 +01:00
}
#transport-metro-stop,
#transport-rer-stop {
2024-02-19 20:18:10 +01:00
grid-column: 2;
2024-01-05 17:05:23 +01:00
}
#transport-bus-1-icon,
#transport-bus-2-icon,
#transport-noctilien-icon {
2024-02-19 20:18:10 +01:00
grid-column: 3;
justify-self: end;
2024-01-05 17:05:23 +01:00
}
#transport-bus-1-stop,
#transport-bus-2-stop,
#transport-noctilien-stop {
2024-02-19 20:18:10 +01:00
grid-column: 4;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
#public-transport-info {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto auto auto auto;
align-items: center;
margin: 0;
line-height: 48px;
}
#transport-metro-icon,
#transport-metro-stop {
grid-row: 1;
}
#transport-rer-icon,
#transport-rer-stop {
grid-row: 2;
}
#transport-bus-1-icon,
#transport-bus-1-stop {
grid-row: 3;
}
#transport-bus-2-icon,
#transport-bus-2-stop {
grid-row: 4;
}
#transport-noctilien-icon,
#transport-noctilien-stop {
grid-row: 5;
}
#transport-metro-icon,
#transport-rer-icon,
#transport-bus-1-icon,
#transport-bus-2-icon,
#transport-noctilien-icon {
grid-column: 1;
justify-self: end;
}
#transport-metro-stop,
#transport-rer-stop,
#transport-bus-1-stop,
#transport-bus-2-stop,
#transport-noctilien-stop {
grid-column: 2;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 580px) {
2024-02-19 20:18:10 +01:00
#mailing-address {
font-size: 1.2rem;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
#public-transport-info {
grid-template-columns: 4fr 6fr;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
line-height: 32px;
font-size: 1.1rem;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
#public-transport-info img {
width: 32px;
height: 32px;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 380px) {
2024-02-19 20:18:10 +01:00
#public-transport-info {
row-gap: 16px;
}
#public-transport-info img {
display: block;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* SPONSORS
/*--------------------------------------------------------*/
#sponsors {
2024-02-19 20:18:10 +01:00
text-align: center;
2024-01-05 17:05:23 +01:00
}
#sponsors img {
2024-02-19 20:18:10 +01:00
height: 100px;
object-fit: cover;
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
margin: 20px;
2024-01-05 17:05:23 +01:00
}
#sponsors img.sponsor-disc {
2024-02-19 20:18:10 +01:00
height: 155px;
border-radius: 78px;
transition: 100ms ease-in;
2024-01-05 17:05:23 +01:00
}
#sponsors img.sponsor-disc:hover {
2024-02-19 20:18:10 +01:00
border: 5px solid #884578ff;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 480px) {
2024-02-19 20:18:10 +01:00
#sponsors img {
height: 60px;
margin: 5px;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
#sponsors img.sponsor-disc {
height: 80px;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* CONTACT
/*--------------------------------------------------------*/
#contact-email {
2024-02-19 20:18:10 +01:00
font-family: "Fira Mono";
font-size: 1.5rem;
text-align: center;
word-wrap: break-word;
2024-01-05 17:05:23 +01:00
}
#contact-email > span::before {
2024-02-19 20:18:10 +01:00
content: " ";
display: inline-block;
background-image: url("../img/icons/email.svg");
background-size: 32px 32px;
height: 32px;
width: 32px;
margin: 0 5px;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 480px) {
2024-02-19 20:18:10 +01:00
#contact-email {
font-size: 1.2rem;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
#contact-email > span::before {
content: "";
height: 0;
width: 0;
background: none;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* EQUIPE INTERQ
/*--------------------------------------------------------*/
#team h3 {
2024-02-19 20:18:10 +01:00
margin: 0 0 10px 0;
font-weight: bold;
text-align: center;
2024-01-05 17:05:23 +01:00
}
.team-group {
2024-02-19 20:18:10 +01:00
display: flex;
justify-content: center;
margin: 20px 0;
2024-01-05 17:05:23 +01:00
}
.team-group figure {
2024-02-19 20:18:10 +01:00
margin: 0 20px;
2024-01-05 17:05:23 +01:00
}
.team-group figure img {
2024-02-19 20:18:10 +01:00
width: 260px;
2024-01-05 17:05:23 +01:00
}
.team-group figcaption {
2024-02-19 20:18:10 +01:00
text-align: center;
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
@media only screen and (max-width: 880px) {
2024-02-19 20:18:10 +01:00
.team-group {
flex-direction: column;
}
2024-01-05 17:05:23 +01:00
2024-02-19 20:18:10 +01:00
.team-group figure {
text-align: center;
}
2024-01-05 17:05:23 +01:00
}
@media only screen and (max-width: 320px) {
2024-02-19 20:18:10 +01:00
.team-group figure img {
width: 80%;
height: 80%;
}
2024-01-05 17:05:23 +01:00
}
/*--------------------------------------------------------*/
/* SIGNATURE
/*--------------------------------------------------------*/
#signature {
2024-02-19 20:18:10 +01:00
text-align: right;
}
/* Tableau */
td,
th {
border: 1px solid #333;
padding: 15px;
}
table {
border-collapse: collapse;
margin: auto;
}