This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
web/style.less

401 lines
5.5 KiB
Plaintext
Raw Normal View History

@font-face {
font-family: "Ubuntu";
src: local("Ubuntu"), local("Ubuntu Regular"), url("bibli/ubuntu/fonts/ubuntu-regular-webfont.woff2") format("woff2");
}
@font-face {
font-family: "Ubuntu Mono";
src: local("Ubuntu Mono"), local("Ubuntu Monospace"), url("bibli/ubuntu/fonts/ubuntumono-regular-webfont.woff2") format("woff2");
}
2020-03-11 23:13:55 +01:00
@fond: #2a2a2a;
@fondSecondaire: #222222;
@fondOptionHover: lighten(@fond, 10%);
@texte: white;
2020-08-02 14:15:06 +02:00
@couleurLien: white;
@couleurPrincipale: red;
2020-08-02 14:15:06 +02:00
@border: #5f5f5f;
@borderHover: #808080;
@borderFocus: white;
@mainFontFamily: system-ui;
2019-08-14 22:38:32 +02:00
::selection {
color: @fond;
background-color: @texte;
2019-08-14 22:38:32 +02:00
}
.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;
}
}
2020-08-02 14:15:06 +02:00
.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;
color: @texte;
text-decoration: none;
&:hover {
color: @couleurPrincipale;
border: 2px solid @couleurPrincipale;
}
}
html {
font-size: 20px;
scrollbar-color: @texte @fond;
scrollbar-width: auto;
}
2020-05-05 16:39:23 +02:00
a, a:visited {
text-decoration: underline;
2020-08-02 14:15:06 +02:00
color: @couleurLien;
transition: all 0.1s linear;
&:hover {
text-decoration: none;
color: @couleurPrincipale;
}
}
.logo {
margin-bottom: 10px;
}
2020-08-02 14:15:06 +02:00
img {
height: auto;
max-width: 100%;
2019-12-31 18:43:40 +01:00
}
2020-08-02 14:15:06 +02:00
.imgArticle {
border: 1px white solid;
border-radius: 5px;
display: block;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
}
strong {
font-weight: bold;
}
2019-12-31 18:43:40 +01:00
code, var, samp {
font-family: "Ubuntu Mono", monospace;
background-color: @fondSecondaire;
padding: 5px;
border-radius: 10px;
font-style: normal;
}
2019-12-31 18:43:40 +01:00
body {
font-family: system-ui;
padding: 0px;
margin: 0px;
2020-08-02 14:15:06 +02:00
background-color: @fondSecondaire;
color: @texte;
font-size: 25px;
line-height: 35px;
}
2019-10-21 00:50:54 +02:00
address {
font-style: normal;
}
2020-08-02 14:15:06 +02:00
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;
}
2019-08-14 22:38:32 +02:00
.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;
}
}
.titreService {
font-size: 1.3em;
text-align: center;
}
2019-12-31 18:43:40 +01:00
.metaService {
text-decoration: none;
2020-08-02 14:15:06 +02:00
font-size: 28px;
margin-top: 6px;
2019-12-31 18:43:40 +01:00
}
.metasService {
display: flex;
flex-direction: row;
justify-content: center;
font-size: 0.8em;
}
2019-08-14 22:38:32 +02:00
.logoService {
text-align: center;
}
.elLogoServ {
max-width: 150px;
max-height: 100px;
color: @texte;
2019-08-14 22:38:32 +02:00
}
.descService {
padding-top: 5px;
padding-bottom: 10px;
text-align: left;
}
2020-08-23 00:32:57 +02:00
.domService {
font-family: "Ubuntu Mono", monospace;
overflow-wrap: anywhere;
margin-top: -6px;
font-size: 0.8em;
color: #eeeeee;
}
2019-08-14 22:38:32 +02:00
main {
2020-08-02 14:15:06 +02:00
background-color: @fond;
2019-08-14 22:38:32 +02:00
margin: 0px;
2020-08-02 14:15:06 +02:00
padding: 30px;
padding-top: 15px;
@media (max-width: 500px) {
padding-left: 10px;
padding-right: 10px;
}
}
.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 {
2020-08-02 14:15:06 +02:00
margin: 30px;
line-height: 1.5em;
2020-08-02 14:15:06 +02:00
text-align: center;
2019-08-14 22:38:32 +02:00
}
.interlude {
display: flex;
justify-content: center;
}
2020-02-09 14:06:54 +01:00
.traitinterlude > hr {
display: none;
}
.traitinterlude {
border-top: 2px gray dashed;
2020-08-23 00:32:57 +02:00
width: 450px;
2019-08-14 22:38:32 +02:00
}
footer {
text-align: center;
display: flex;
flex-direction: column;
}
.logofooter {
padding-left: 6%;
margin-top: 20px;
text-align: center;
2019-08-14 22:38:32 +02:00
}
.liensfooter {
display: flex;
flex-direction: row;
padding: 20px;
}
.lienfooter {
margin: 10px;
}
2019-08-14 22:38:32 +02:00
/* ----------------------- HEADER ------------------------ */
#lienHeader {
2019-08-30 19:37:43 +02:00
margin: 0px;
//border: 3px white solid;
//border-top: none;
//border-radius: 0px 0px 12px 12px;
2019-08-30 19:37:43 +02:00
text-align: center;
font-size: 2em;
2019-08-14 22:38:32 +02:00
display: flex;
justify-content: center;
2019-08-30 19:37:43 +02:00
padding: 30px;
padding-bottom: 20px;
margin-left: 35px;
margin-right: 35px;
2019-08-14 22:38:32 +02:00
@media (max-width: 600px) {
border: none;
padding: 0px;
margin-top: 20px;
margin-left: 20px;
margin-right: 20px;
2019-11-05 23:08:10 +01:00
}
}
2019-08-14 22:38:32 +02:00
header {
display: flex;
justify-content: center;
}
2019-08-14 22:38:32 +02:00
2019-08-30 19:37:43 +02:00
#header:active {
box-shadow: 2px 2px 3px white inset;
}
2019-08-30 19:37:43 +02:00
#header:hover {
background-color: @fondOptionHover;
transition: all 0.2s ease-in-out;
@media (max-width: 600px) {
background-color: inherit;
}
}
2019-08-14 22:38:32 +02:00
// ----- TITRES -----
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
line-height: 100%;
}
h1 {
font-size: 250%;
text-align: center;
2020-08-02 14:15:06 +02:00
margin: 0px;
padding-bottom: 20px;
padding-top: 15px;
}
h2 {
2020-08-02 14:15:06 +02:00
font-size: 200%;
margin-top: 50px;
margin-bottom: 20px;
}
h3 {
font-size: 160%;
2020-08-02 14:15:06 +02:00
margin-top: 30px;
margin-bottom: 10px;
}
h4 {
2020-08-02 14:15:06 +02:00
font-size: 130%;
margin-top: 0px;
margin-bottom: 0px;
}
h5 {
2020-08-02 14:15:06 +02:00
font-size: 115%;
}
h6 {
2020-08-02 14:15:06 +02:00
font-size: 107%;
2019-10-21 00:50:54 +02:00
}
.gomeza {
display: none; // Sera changé le moment voulu en JS
position: fixed;
bottom: 0px;
left: 30px;
z-index: 100;
}
2020-08-02 14:15:06 +02:00
@media (max-width: 800px) {
2020-08-02 14:15:06 +02:00
.basfooter {
flex-direction: column;
}
2020-08-02 14:15:06 +02:00
.logofooter {
padding: 0px;
}
}