web/css/base.less

848 lines
9.1 KiB
Plaintext
Executable File

@fond: #2D2F34;
@fond-footer: darken(@fond, 3%);
@fond-option-hover: lighten(@fond, 10%);
@texte-secondaire: #9DA3B0;
@texte-principal: white;
@couleur-lien: white;
@couleur-principale: red;
.texte-secondaire {
color: @texte-secondaire;
}
// BOUTONS
.button {
border: 2px solid grey;
padding: 10px;
margin: 5px;
display: inline-block;
border-radius: 10px;
color: white;
&:hover {
background-color: red;
color: darkred;
}
}
html {
font-size: 20px;
}
@media all and (max-width: 700px) {
html {
font-size: 13px;
}
}
#editeur {
width: 500px;
height: 200px;
border: 1px solid white;
padding: 5px;
overflow: auto;
}
a {
text-decoration: underline;
color: @couleur-lien;
transition: all 0.5s ease-out;
&:hover {
text-decoration: none;
color: @couleur-principale;
transition: all 0.5s ease-out;
}
}
a:visited {
text-decoration: underline;
color: @couleur-lien;
transition: all 0.5s ease-out;
&:hover {
text-decoration: none;
color: @couleur-principale;
transition: all 0.5s ease-out;
}
}
nav a:link {
text-decoration: none;
}
.button:link {
text-decoration: none;
color: @couleur-lien;
}
.pub-carree-bloc {
display: flex;
text-align: center;
justify-content: center;
}
.pub-carree {
display: flex;
border: white 3px solid;
text-align: center;
justify-content: center;
max-width: 300px;
line-height : 0pt;
border-radius: 10px;
margin: 20px;
padding: 2px;
}
.pub-horizontale-bloc {
display: flex;
text-align: center;
justify-content: center;
}
.pub-horizontale {
border: #808080 2px solid;
border-radius: 10px;
margin: 30px;
padding: 2px;
width: 729px;
min-height: 90px;
/* Affiche "Vous avez bloqué cette publicité" quand on a un bloqueur de pub ou quand on clic sur la croix */
background-image: url(../media/non-pub-horizontale.png);
}
#bouttonmenu {
transform: rotate(-90deg);
height: 4em;
width: 10em;
color: white;
background-color: white;
border: white 2px solid;
padding: 4px;
margin-bottom: -100px;
}
.descriptionCategorie {
font-size: 1.4em;
}
.bouttonModifier {
margin-right: 20px;
}
.vert {
color: limegreen;
}
.rouge {
color: red;
}
.optionhaute {
border-top: 0px white solid;
}
.boite {
border: 3px white solid;
border-radius: 10px;
margin: 10px;
padding: 10px;
display: inline-block;
}
.logo {
margin-bottom: 10px;
}
.inline {
display: inline;
}
.titreArticle {
font-size: 2em;
}
.articlePseudo {
border: 2px white solid;
border-radius: 10px;
margin: 30px 20px 30px 0px;
padding: 20px;
}
.formArticle {
width: 100%;
}
.formCommentaire {
width: 30%;
}
.petitChamp {
width: 400px;
font-size: 1em;
}
.champMoyen {
width: 800px;
}
.champLarge {
width: 100%;
}
.number {
margin: 10px;
display: inline-flex;
width: 180px;
}
.img404 {
text-align: center;
padding-top: 10px;
padding-bottom: 30px;
}
.img {
display: block;
margin: 20px;
border: 3px white solid;
border-radius: 5px;
max-width: 45em;
overflow: hidden;
}
.module {
border-left: 4px white solid;
padding-left: 20px;
padding-top: 10px;
padding-bottom: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
strong {
font-weight: 400;
}
body {
font-family: fin;
padding: 0px;
margin: 0px;
background-color: @fond;
color: @texte-principal;
}
.milieu {
display: flex;
justify-content: space-between;
}
.main {
display: flex;
margin-right: 10px;
margin: 8px;
}
.texte {
margin-top: 20px;
margin-left: 30px;
margin-bottom: 50px;
width: 100%;
margin-right: 50px;
}
.hautoto {
display: flex;
justify-content: space-between;
}
.centre {
text-align: center;
justify-content: center;
}
.droite {
text-align: right;
}
.pres {
padding-bottom: 20px;
}
.pgauche {
text-align: left;
padding-left: 20px;
border-left: 5px white solid;
}
.pdroite {
text-align: right;
padding-right: 20px;
margin-right: -30px;
border-right: 5px white solid;
}
.mdpincorrect {
color: red;
font-weight: bold;
}
.avertissement {
border: 2px yellow solid;
border-radius: 12px 12px 12px 12px;background-color: #1E2125;
padding: 10px;
margin: 5px;
background-color: lemonchiffon;
}
.descriptionNavigateur {
margin: 12px;
padding: 12px;
overflow: auto;
border: 1px white solid;
}
.monAvis {
margin: 12px;
padding: 12px;
overflow: auto;
border-left: 3px white solid;
}
.gras-css {
font-weight: bold;
}
.souligne {
text-decoration: underline;
}
.nomNavigateur {
font-size: 3em;
}
.textefooter {
margin: 10px;
line-height: 1.5em;
width: 60%;
font-family: ubuntu;
}
.logofooter {
padding-left: 6%;
margin-top: 20px;
}
.interlude {
display: flex;
justify-content: center;
}
.traitinterlude {
border-top: 2px gray dashed;
width: 800px;
}
.basfooter {
display: flex;
justify-content: space-around;
margin-top: 30px;
margin-bottom: 20px;
}
footer {
text-align: center;
background-color: @fond-footer;
display: flex;
flex-direction: column;
}
.logogris {
background-color: @fond-footer;
background-image: url(../media/logo/antpetitgris.png);
width: 264px;
height: 80px;
}
.logogris:hover {
background-image: url(../media/logo/antpetit.png);
}
.liensfooter {
display: flex;
flex-direction: row;
padding: 20px;
}
.lienfooter {
margin: 10px;
}
@media (max-width: 500px) {
.textefooter {
padding-left: 10%;
padding-right: 10%;
}
}
/* ----------------------- MENU ------------------------ */
.menugauche {
margin: 6px;
overflow: auto;
border-radius: 12px;
width: 17em;
border: 3px white solid;
text-align: center;
transition: all 1s ease-in;
margin-bottom: 0px;
}
.option {
padding: 30px;
display: block;
border-top: 2px white solid;
transition: all 0.2s ease-in;
}
.option:active {
box-shadow: 2px 2px 3px white inset;
}
.option:hover {
background-color: @fond-option-hover;
transition: all 0.2s ease-in-out;
color: @couleur-lien !important;
}
.optionhaute {
border-top: 0px white solid;
}
.premieroptiondossier {
border-radius: 12px 0px 0px 0px;
}
.optiondossier {
margin-left: 20px;
border-left: 2px white solid;
}
.petiteoption {
padding: 24px;
}
.nomdossier {
display: block;
padding-top: 10px;
padding-bottom: 10px;
border-top: 2px white solid;
}
/* ----------------------- ESPACE COMMENTAIRE ------------------------ */
.commentairePseudo {
padding: 10px;
}
.pseudo {
font-weight: bold;
}
.commentaire {
margin: 10px;
padding: 10px;
border-left: 4px white solid;
}
/* ----------------------- COULEUR DE TEXTE ------------------------ */
.txtnoir {
color: black;
}
.txtgris {
color: gray;
}
.txtrougefoncé {
color: maroon;
}
.txtrouge {
color: red;
}
.txtrosefoncé {
color: purple;
}
.txtrose {
color: fuchsia;
}
.txtvertfoncé {
color: green;
}
.txtvert {
color: lime;
}
.txtjaunefoncé {
color: olive;
}
.txtjaune {
color: yellow;
}
.txtbleufoncé {
color: navy;
}
.txtbleu {
color: blue;
}
.txtcyanfoncé {
color: teal;
}
.txtcyan {
color: aqua;
}
.txtorange {
color: orange;
}
/* Définition des polices Ubuntu */
@font-face {
font-family: "condense";
src: url('../polices/condense.ttf');
}
@font-face {
font-family: "ubuntu";
src: url('../polices/ubuntu.ttf');
}
@font-face {
font-family: "ubuntu-it";
src: url('../polices/ubuntu-it.ttf');
}
@font-face {
font-family: "fin";
src: url('../polices/fin.ttf');
}
@font-face {
font-family: "fin-it";
src: url('../polices/fin-it.ttf');
}
@font-face {
font-family: "gras";
src: url('../polices/gras.ttf');
}
@font-face {
font-family: "gras-it";
src: url('../polices/gras-it.ttf');
}
@font-face {
font-family: "moyen";
src: url('../polices/moyen.ttf');
}
@font-face {
font-family: "moyen-it";
src: url('../polices/moyen-it.ttf');
}
/* Utilisation des polices Ubuntu définies */
.condense {
font-family: condense;
}
.fin {
font-family: fin;
}
.fin-it {
font-family: fin-it;
}
.gras {
font-family: gras;
}
.gras-it {
font-family: gras-it;
}
.moyen {
font-family: moyen;
}
.moyen-it {
font-family: moyen-it;
}
.ubuntu {
font-family: ubuntu;
}
.ubuntu-it {
font-family: ubuntu-it;
}
/* ----------------------- TAILLES DE TEXTE ------------------------ */
.t03 {
font-size: 0.3em;
}
.t04 {
font-size: 0.4em;
}
.t05 {
font-size: 0.5em;
}
.t06 {
font-size: 0.6em;
}
.t07 {
font-size: 0.7em;
}
.t08 {
font-size: 0.8em;
}
.t09 {
font-size: 0.9em;
}
.t10 {
font-size: 1.0em;
}
.t11 {
font-size: 1.1em;
}
.t12 {
font-size: 1.2em;
}
.t13 {
font-size: 1.3em;
}
.t14 {
font-size: 1.4em;
}
.t15 {
font-size: 1.5em;
}
.t16 {
font-size: 1.6em;
}
.t17 {
font-size: 1.7em;
}
.t18 {
font-size: 1.8em;
}
.t19 {
font-size: 1.9em;
}
.t20 {
font-size: 2.0em;
}
.t21 {
font-size: 2.1em;
}
.t22 {
font-size: 2.2em;
}
.t23 {
font-size: 2.3em;
}
.t24 {
font-size: 2.4em;
}
.t25 {
font-size: 2.5em;
}
.t26 {
font-size: 2.6em;
}
.t27 {
font-size: 2.7em;
}
.t28 {
font-size: 2.8em;
}
.t29 {
font-size: 2.9em;
}
.t30 {
font-size: 3.0em;
}
.in92pack {
color: @fond !important;
text-decoration: none !important;
}
.li192pack {
color: @fond !important;
text-decoration: none !important;
}
.li192pack:hover {
color: #de00ff;
text-decoration: none;
transition: color 10s ease-in-out;
}