@fond: #2a2a2a; @fondSecondaire: #222222; @fondOptionHover: lighten(@fond, 10%); @texteSecondaire: #aaaaaa; @texte: white; @couleurL: white; @couleurPrincipale: red; .texte-secondaire { color: @texteSecondaire; } ::selection { color: @fond; background-color: @texte; } .bouton { border: 2px solid grey; padding: 10px; padding-left: 15px; padding-right: 15px; margin: 5px; display: inline-block; border-radius: 14px; color: @texte; text-decoration: none; &:hover { color: @couleurPrincipale; border: 2px solid @couleurPrincipale; } } html { font-size: 20px; scrollbar-color: @texte @fond; scrollbar-width: auto; } @media all and (max-width: 640px) { html { font-size: 13px; } } a, a:visited { text-decoration: underline; color: @couleurL; transition: all 0.1s linear; &:hover { text-decoration: none; color: @couleurPrincipale; } } .logo { margin-bottom: 10px; } #img404 { padding-top: 10px; padding-bottom: 30px; width: 30%; @media (max-width: 1300px) { width: 766px; } } #page404 { text-align: center; } del { text-decoration: line-through; } code, var, samp { font-family: "Ubuntu Mono", monospace; background-color: @fondSecondaire; padding: 5px; border-radius: 10px; font-style: normal; } body { font-family: "Ubuntu", sans-serif; padding: 0px; margin: 0px; background-color: @fond; color: @texte; font-size: 25px; line-height: 35px; } address { font-style: normal; } .grille-services { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 30px; padding-top: 30px; @media (max-width: 1500px) { grid-template-columns: 1fr 1fr 1fr; } @media (max-width: 1000px) { grid-template-columns: 1fr 1fr; } @media (max-width: 600px) { grid-template-columns: 1fr; } } .zoneLien { display: flex; flex-direction: row; justify-content: center; } .lienService, .lienService:visited { padding: 20px; border: 2px @fond solid; border-radius: 16px; transition: border 0.2s linear; color: @texte; text-decoration: none; display: block; padding-bottom: 10px; margin-bottom: 10px; max-width: 210px; &:hover { border: 2px white solid; color: @texte; } } .themeService { text-align: center; font-size: 0.8em; } .titreService { font-size: 1.3em; text-align: center; } .urlService { margin-top: -6px; font-size: 0.8em; color: grey; text-align: center; } .metaService { text-decoration: none; font-size: 26px; } .metasService { display: flex; flex-direction: row; justify-content: center; font-size: 0.8em; } .logoService { text-align: center; } .elLogoServ { max-width: 150px; max-height: 100px; color: @texte; } .descService { padding-top: 5px; padding-bottom: 10px; text-align: left; } main { margin: 0px; margin-top: 30px; margin-left: 30px; margin-bottom: 50px; margin-right: 30px; } .centre { text-align: center; justify-content: center; } article { margin-left: 20%; margin-right: 20%; @media (max-width: 1400px) { margin-left: 10%; margin-right: 10%; } @media (max-width: 800px) { margin-left: 0px; margin-right: 0px; } } #pres { text-align: center; line-height: 40px; margin-left: 100px; margin-right: 100px; @media (max-width: 1400px) { margin-left: 0px; margin-right: 0px; } } // FOOTER .textefooter { margin: 10px; line-height: 1.5em; width: 60%; padding-left: 20px; padding-right: 20px; } .interlude { display: flex; justify-content: center; } .traitinterlude > hr { display: none; } .traitinterlude { border-top: 2px gray dashed; width: 650px; } .basfooter { display: flex; justify-content: space-around; margin-top: 30px; margin-bottom: 20px; } .corps { text-align: center; } footer { text-align: center; background-color: @fondSecondaire; display: flex; flex-direction: column; } .logofooter { padding-left: 6%; margin-top: 20px; text-align: center; } .ant { background-color: @fondSecondaire; background-image: url(img/antpetitgris.png); background-repeat: no-repeat; background-position: center top; display: inline-block; text-decoration: none; min-width: 264px; min-height: 80px; } .ant:hover { background-image: url(img/antpetit.png); } .liensfooter { display: flex; flex-direction: row; padding: 20px; } .lienfooter { margin: 10px; } /* ----------------------- HEADER ------------------------ */ #lienHeader { margin: 0px; //border: 3px white solid; //border-top: none; //border-radius: 0px 0px 12px 12px; text-align: center; font-size: 2em; display: flex; justify-content: center; padding: 30px; padding-bottom: 20px; margin-left: 35px; margin-right: 35px; @media (max-width: 600px) { border: none; padding: 0px; margin-top: 20px; margin-left: 20px; margin-right: 20px; } } header { display: flex; justify-content: center; background-color: @fondSecondaire; } #header:active { box-shadow: 2px 2px 3px white inset; } #header:hover { background-color: @fondOptionHover; transition: all 0.2s ease-in-out; @media (max-width: 600px) { background-color: inherit; } } // ----- TITRES ----- h1, h2, h3, h4, h5, h6 { font-weight: normal; line-height: 100%; } h1 { font-size: 250%; text-align: center; } h2 { font-size: 170%; } h3 { font-size: 160%; } h4 { font-size: 140%; } h5 { font-size: 125%; } h6 { font-size: 110%; } #LRI { color: pink !important; aime: "les pizza ananas-champignons"; width: 200px; position: absolute; top: 10px; left: 10px; @media (max-width: 1300px) { width: 60px; position: absolute; top: 2px; left: 2px; } @media (max-width: 1000px) { width: 32px; position: absolute; top: 2px; left: 2px; } } .gomeza { display: none; // Sera changé le moment voulu en JS position: fixed; bottom: 0px; left: 30px; z-index: 100; } @media (max-width: 800px) { .basfooter { flex-direction: column; } .textefooter { width: auto; margin: 4%; margin-bottom: 0px; } .logofooter { padding: 0px; } .traitinterlude { width: 80%; } } @media (max-width: 500px) { .textefooter { padding-left: 8%; padding-right: 8%; margin: 0px; } .liensfooter { flex-direction: column; } }