@light: ~"(prefers-color-scheme: light)"; @dark: ~"(prefers-color-scheme: dark)"; @darkColor: #2a2a2a; @darkerColor: #222222; @lightColor: white; @lightlessColor: #eeeeee; @mainColor: red; ::selection { @media @light { color: @lightColor; background-color: @darkColor; } @media @dark { color: @darkColor; background-color: @lightColor; } } html { @media @light { scrollbar-color: @darkColor @lightColor; } @media @dark { scrollbar-color: @lightColor @darkColor; } } body { font-family: system-ui, sans-serif; padding: 0px; margin: 0px; font-size: 30px; line-height: 42px; @media @light { background-color: @lightlessColor; color: @darkColor; } @media @dark { background-color: @darkerColor; color: @lightColor; } } main { margin: 0px; padding: 30px; padding-top: 15px; @media (max-width: 500px) { padding-left: 10px; padding-right: 10px; } @media @light { background-color: @lightColor; } @media @dark { background-color: @darkColor; } } a, a:visited { text-decoration: underline; transition: color 0.1s linear; @media @light { color: @darkColor; } @media @dark { color: @lightColor; } &:hover { text-decoration: none; color: @mainColor; } } .bouton { border: 2px solid grey; padding: 10px; padding-left: 15px; padding-right: 15px; margin: 5px; display: inline-block; border-radius: 14px; text-decoration: none; &:hover { color: @mainColor; border: 2px solid @mainColor; } } .petit-bouton { border: 2px solid grey; padding: 2px; padding-left: 10px; padding-right: 10px; margin: 5px; font-size: 80%; display: inline-block; border-radius: 14px; text-decoration: none; &:hover { color: @mainColor; border: 2px solid @mainColor; } } .logo { margin-bottom: 10px; } img { height: auto; max-width: 100%; } .imgArticle { display: block; margin: auto; margin-top: 20px; margin-bottom: 20px; } .border { border-width: 1px; border-style: solid; border-radius: 5px; @media @light { border-color: @darkColor; } @media @dark { border-color: @lightColor; } } strong { font-weight: bold; } pre, code, var, samp { font-family: monospace; overflow: scroll; padding: 5px; border-radius: 10px; font-style: normal; @media @dark { background-color: @darkerColor; } @media @light { background-color: @lightlessColor; } } abbr[title] { text-decoration: dotted underline; } address { font-style: normal; } ul { padding-left: 35px; margin: 0px; } dt { font-weight: 500; } dd { margin-left: 25px; padding-bottom: 10px; } p { margin: 0px; padding-top: 10px; padding-bottom: 10px; } .grille-services { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 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; } } .metaService { margin: 6px; margin-bottom: 0px; } .metasService { display: flex; flex-direction: row; justify-content: center; font-size: 0.7em; } .logoService { text-align: center; } .elLogoServ { max-width: 150px; max-height: 100px; } .descService { padding-top: 5px; padding-bottom: 10px; text-align: left; } .domService { font-family: monospace; overflow-wrap: anywhere; margin-top: -6px; font-size: 0.8em; @media @light { color: @darkerColor; } @media @dark { color: @lightlessColor; } } .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; } } // FOOTER .textefooter { margin: 30px; line-height: 1.5em; text-align: center; } .interlude { display: flex; justify-content: center; } .traitinterlude > hr { display: none; } .traitinterlude { border-top: 2px gray dashed; width: 450px; } footer { text-align: center; } footer.antopie { display: flex; flex-direction: column; } .logofooter { padding-left: 6%; margin-top: 20px; text-align: center; } .liensfooter { display: flex; flex-direction: row; padding: 20px; } .lienfooter { margin: 10px; } /* ----------------------- HEADER ------------------------ */ #lienHeader { margin: 0px; padding: 30px; padding-bottom: 20px; margin-left: 35px; margin-right: 35px; @media (max-width: 600px) { padding: 0px; margin-top: 20px; margin-left: 20px; margin-right: 20px; } } header { display: flex; justify-content: center; } // ----- TITRES ----- h1, h2, h3, h4, h5, h6 { font-weight: normal; line-height: 100%; } h1:not(.titreService) { font-size: 250%; text-align: center; margin: 0px; padding-bottom: 20px; padding-top: 15px; } h1.titreService { font-size: 1.3em; text-align: center; margin: 0px; } h2 { font-size: 200%; margin-top: 50px; margin-bottom: 20px; } h3 { font-size: 160%; margin-top: 30px; margin-bottom: 10px; } h4 { font-size: 130%; margin-top: 0px; margin-bottom: 0px; } h5 { font-size: 115%; } h6 { font-size: 107%; } @media (max-width: 800px) { .basfooter { flex-direction: column; } .logofooter { padding: 0px; } }