@font-face { font-family: Universalis ADF Std, sans-serif; src: url('asset/fonts/UniversalisADFStd-Regular.otf') format('otf'), url('asset/fonts/UniversalisADFStd-Regular.woff') format('woff'); font-family: Millimetre, sans-serif; src: url('asset/fonts/Millimetre-Bold.otf') format('otf'), url('asset/fonts/Millimetre-Regular.otf') format('otf'); } *{ box-sizing: border-box; } body { width: 300px; margin: 0 auto; font-size: 16px; font-family: Universalis ADF Std, sans-serif; padding: 0!important; } h1, h2, h3, h5{ font-family: Millimetre, sans-serif; } h1, h5, h6{ text-transform: uppercase; } img{ width: 100%; height: auto; } ul{ padding:0; } li { list-style-type:none; } a, a:hover{ color: black; text-decoration: none; } section{ position: relative; } /* START KEVIN */ .nav-main{ display: none; position: absolute; right: 0; top: 70px; background: white; padding: 30px; } .nav-main.is-active{ display: block } /* END KEVIN */ .titre_page, .titre { position: absolute; top: -100px; left: -70px; text-transform: uppercase; font-weight: bold; text-align: center; align-items: center; border: 8px solid blue; transform: rotate(-10deg); padding: 0.5rem; background-color: white; } .titre_1{ margin-top:1em; } .next_edition{ font-style: italic; text-transform: uppercase; } .title, .cat { color: blue; text-align: center; text-transform: uppercase; } .sidebar_left .__content, .sider_left_form, .__organisation .__item, .content_zone { border: 8px solid blue; padding: 1em; } .tableau_engagements { margin-top : 10%; } .tableau_engagements div{ margin-top : 5%; padding-left: 5%; } /*sections page accueil*/ /* START KEVIN */ .coming_soon{ width: 100%; } .coming_soon .thumbnails, .other-posts .thumbnails, .item.thumbnails { transform: scale(1); transition: transform 0.3s ease; } .coming_soon .thumbnails:hover, .other-posts .thumbnails:hover, .item.thumbnails:hover { transform: scale(1.05); transition: all 0.3s ease; } /* ALL thumbnails */ .thumbnails .__img{ height: 300px; } .thumbnails .__img img{ width: 100%; height: 100%; object-fit: cover; } .thumbnails .icone_cat{ width: 50px; height: 50px; content: "Picto"; position: absolute; transform: translate(-50%, -50%); background: grey; border-radius: 50px; } /* SECTION ASSO */ #section_asso .association .__body{ position: relative; justify-content: flex-end; margin-top: 50px; } .image_sectionasso { position: absolute; top: 0; left: 0; margin-top: 100px; width: 70%; } .content_asso { width: 70%; position: relative; padding: 10px; background-color: white; border: 8px solid yellow; } /* responsive iframe */ #section_MineVideo .wrapper__content { position: relative; padding-bottom: 56.25%; /* 16:9 */ height: 0; } #section_MineVideo .wrapper__content iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* END KEVIN */ .item { margin-top: 50px; } .wrap__content_proch { position: relative; width: calc(100% - 40px); margin: -4rem auto 0 auto; padding: 10px; min-height: 160px; align-items: center; text-align: center; background-color: white; border: 4px solid black; display: flex; flex-direction: column; justify-content: center; } .colonne_section{ margin-top: 4%; } .colonne_section .wrap_content { border: 8px solid blue; padding: 1em; } .colonne_section h3 { color: blue; text-transform: uppercase; text-align: center; } /* .image_sectionasso { position: absolute; width: 500px; } .content_asso { position: relative; margin: 150px auto auto 200px; padding: 10px; background-color: white; border: 8px solid yellow; } */ .projet .colonne_section .header{ height: 80px; display: flex; align-items: flex-end ; } .projet .colonne_section .header h3{ text-align: center; width: 100%; } .item img{ width: 100%; height: 100%; object-fit: cover; } ._content_tpsF { position: relative; width: 80%; padding: 10px; margin: -50px auto -20px auto; align-items: center; text-align: center; background-color: white; border: 4px solid black; } .video iframe { margin: 40px auto 0 auto; width:100%; } /*fin sections page accueil*/ /*page évent*/ .titre_event { position: absolute; top: -450px; left: 18vw; text-transform: uppercase; font-weight: bold; text-align: center; align-items: center; border: 8px solid blue; transform: rotate(-10deg); padding: 0.5rem; background-color: white; } .voir_aussi { position: absolute; top: 1300px; left: -50px; text-transform: uppercase; font-weight: bold; text-align: center; align-items: center; border: 8px solid blue; transform: rotate(-10deg); padding: 0.5rem; background-color: white; } .__img_event { position: relative; width: 100%; height: 500px; top: 50px; } .__img_event img{ width: 100%; height: 100%; object-fit: cover; } .partager img { width: 50px; height: auto; margin-right: 2%; } .data { border: 8px solid blue; padding: 1em; } .tarif h3, .partager h3, .inscription h3{ color: blue; } .tarif, .partager, .inscription { margin-top: 8%; } /*fin page event*/ /*page les projets*/ .projet img { margin: 5% 0 5% 0; } ._pjt{ margin-top: 8% } .cat-list{ align-items: baseline; } .cat-list li{ margin-right: 20px; } /* .cat_name{ margin: 0 4% 0 4%; } */ /*fin page les projets*/ /*privatiser l'espace*/ .legendes{ background-color: white; position : absolute; bottom: 4%; margin-left: 4%; border: 8px solid blue; padding: 1%; padding-top: 2%; } .__organisation { margin-top: 4%; text-align: center; } ._orga { margin-top: 4%; } /*fin privatiser l'espace*/ /*BOUTONS*/ .__bouttons div { position: relative; text-align : center; margin-top: 20px; border: 4px solid blue; border-radius: 0%; padding: 5px; /*background-color: white;*/ } .tout_voir a { /*penser à mettre le lien sur toute la surface du bouton*/ } .telechargement_plaquette, .redirection_page, .tout_voir { position: relative; margin: 50px auto 10px auto; display:flex; border: 4px solid black; border-radius: 0%; text-align: center; padding: 5px; transform: scale(1); transition: transform 0.3s ease; } .__bouttons #bouton_asso { position: relative; top: 100px; } .__bouttons #bouton_contact { position: relative; top: -30px; } .__bouttons div:hover, .telechargement_plaquette:hover, .bouton_asso:hover, .redirection_page:hover, .tout_voir:hover { transform: scale(1.1); transition: all 0.3s ease; } .group_link { margin-top: 2%; width: 100%; color: black; text-decoration: underline; border: none; border-radius: 0%; } .group_link:hover, .cat_name:hover { color: black; background-color: grey; text-decoration: underline; border: none; border-radius: 0%; } .hero .slide .flickity-button{ } /*FIN BOUTON*/ footer{ background-color: rgba(240, 240, 240, 240); width: 100%; padding: 5%; margin-top: 10%; } footer div{ margin-right: 20px; } footer img { width: 50px; height: auto; } ._rs{ margin-left: 5%; } /* START KEVIN */ header{ z-index: 9999; position: absolute; width: 100%; top: 0; left: 0; } .hero{ width: 100%; height: 100vh; position: relative; } .hero .slide{ width: 100%; height: 100vh; overflow: hidden; } .hero .slide .image{ width: 100%; height: 100vh; } .hero .slide img{ width: 100%; height: 100%; object-fit: cover; } .hero .slide .flickity-page-dots{ bottom: 20px; } .hero .slide .flickity-page-dots li{ background: white; } .hero .__head{ width: 100%; text-align: center; position: absolute; bottom: 60px; color: white; } .wrapper section{ margin: 150px 0; padding: 100px 0; } .wrapper section > div { position: relative; } .tpsF .img{ width: 100%; height: 400px; } .tpsF .img img{ width: 100%; height: 100%; object-fit: cover; } .projet .img{ height: 300px; } .projet .img img{ width: 100%; height: 100%; object-fit: cover; } .tableau_engagements .engagement{ width: 50%; } .prive .images{ width: 100%; height: 600px; } .prive .img img{ width: 100%; height: 100%; object-fit: cover; } /* END KEVIN */