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/assets/css/main.css

1577 lines
21 KiB
CSS
Executable File

/*@import url(font-awesome.min.css); Pour les icônes */
/* ========================= Début de mon code CSS rajouté ============================= */
html {
font-size: 20px;
}
@media all and (max-width: 700px) {
html {
font-size: 13px;
}
}
a:link {
text-decoration: none;
}
.pub-carree-bloc {
display: flex;
text-align: center;
justify-content: center;
}
.pub-carree {
display: flex;
border: black 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: black;
background-color: white;
border: black 2px solid;
padding: 4px;
margin-bottom: -100px;
}
.descriptionCatégorie {
font-size: 1.4em;
}
.bouttonModifier {
margin-right: 20px;
}
.vert {
color: limegreen;
}
.rouge {
color: red;
}
input {
font-family: fin;
.optionhaute {
border-top: 0px black solid;
}
}
.boite {
border: 3px black 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 black 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 black solid;
border-radius: 5px;
max-width: 45em;
overflow: hidden;
}
.module {
border-left: 4px black 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: white;
color: black;
}
.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 black solid;
}
.pdroite {
text-align: right;
padding-right: 20px;
margin-right: -30px;
border-right: 5px black solid;
}
.mdpincorrect {
color: red;
font-weight: bold;
}
.avertissement {
border: 2px yellow solid;
border-radius: 12px 12px 12px 12px;
padding: 10px;
margin: 5px;
background-color: lemonchiffon;
}
.descriptionNavigateur {
margin: 12px;
padding: 12px;
overflow: auto;
border: 1px black solid;
}
.monAvis {
margin: 12px;
padding: 12px;
overflow: auto;
border-left: 3px black 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: #cbcbcb;
display: flex;
flex-direction: column;
}
.logogris {
background-color: #cbcbcb;
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 black solid;
text-align: center;
transition: all 1s ease-in;
margin-bottom: 0px;
}
.option {
padding: 30px;
display: block;
border-top: 2px black solid;
transition: all 0.2s ease-in;
}
.option:active {
box-shadow: 2px 2px 3px black inset;
}
.option:hover {
background-color: #dbfeff;
transition: all 0.2s ease-in-out;
}
.optionhaute {
border-top: 0px black solid;
}
.premieroptiondossier {
border-radius: 12px 0px 0px 0px;
}
.optiondossier {
margin-left: 20px;
border-left: 2px black solid;
}
.petiteoption {
padding: 24px;
}
.nomdossier {
display: block;
padding-top: 10px;
padding-bottom: 10px;
border-top: 2px black solid;
}
/* ----------------------- ESPACE COMMENTAIRE ------------------------ */
.commentairePseudo {
padding: 10px;
}
.pseudo {
font-weight: bold;
}
.commentaire {
margin: 10px;
padding: 10px;
border-left: 4px black 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('../ubuntu/condense.ttf');
}
@font-face {
font-family: "ubuntu";
src: url('../ubuntu/ubuntu.ttf');
}
@font-face {
font-family: "ubuntu-it";
src: url('../ubuntu/ubuntu-it.ttf');
}
@font-face {
font-family: "fin";
src: url('../ubuntu/fin.ttf');
}
@font-face {
font-family: "fin-it";
src: url('../ubuntu/fin-it.ttf');
}
@font-face {
font-family: "gras";
src: url('../ubuntu/gras.ttf');
}
@font-face {
font-family: "gras-it";
src: url('../ubuntu/gras-it.ttf');
}
@font-face {
font-family: "moyen";
src: url('../ubuntu/moyen.ttf');
}
@font-face {
font-family: "moyen-it";
src: url('../ubuntu/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: white;
text-decoration: none;
}
.li192pack {
color: white;
text-decoration: none;
}
.li192pack:hover {
color: #de00ff;
text-decoration: none;
transition: color 10s ease-in-out;
}
/* ============================= Fin de mon code CSS ========================================== */
/* ============================= Début du code initial HTML5UP ================================ */
a {
transition: color 0.2s ease-in-out;
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
letter-spacing: -0.03em;
margin-top: 30px;
margin-bottom: 40px;
}
h1 {
font-size: 3.5rem;
}
h2 {
font-size: 2.3rem;
}
h3 {
font-size: 1.8rem;
}
h4 {
font-size: 1.4rem;
}
h5 {
font-size: 1.2rem;
}
h6 {
font-size: 0.8rem;
}
sub {
font-size: 0.8rem;
position: relative;
top: 0.5rem;
}
sup {
font-size: 0.8rem;
position: relative;
top: -0.5rem;
}
code {
border-radius: 4px;
font-size: 0.9em;
margin: 0 0.25rem;
padding: 0.25rem 0.325rem;
font-family: fin;
}
input, select, textarea {
color: #000000;
}
a {
color: #000000;
}
a:hover {
color: #47D3E5;
}
b {
color: #000000;
}
blockquote {
border-left-color: rgba(0, 0, 0, 0.2);
}
code {
background: rgba(0, 0, 0, 0.05);
border-color: rgba(0, 0, 0, 0.2);
}
/* Box */
.box {
border-radius: 4px;
border: solid 1px;
margin-bottom: 2rem;
padding: 1.5rem;
}
.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
margin-bottom: 0;
}
.box.alt {
border: 0;
border-radius: 0;
padding: 0;
}
.box {
border-color: rgba(0, 0, 0, 0.2);
}
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button:not(#bouttonmenu),
.button {
appearance: none;
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
border: 0;
cursor: pointer;
display: inline-block;
font-weight: 400;
letter-spacing: 0.125em;
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
font-size: 0.75rem;
max-width: 20rem;
height: 3.75em;
line-height: 3.75em;
border-radius: 3.75em;
padding: 0 2.5em;
text-overflow: ellipsis;
overflow: hidden;
}
input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
margin-right: 0.5rem;
}
input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
display: block;
margin: 0 0 1rem 0;
width: 100%;
}
input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
font-size: 0.6rem;
height: 3.325em;
line-height: 3.325em;
border-radius: 3.325em;
padding: 0 2em;
}
input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
button.big,
.button.big {
font-size: 0.8rem;
height: 4em;
line-height: 4em;
border-radius: 4em;
padding: 0 3em;
}
input[type="submit"].wide,
input[type="reset"].wide,
input[type="button"].wide,
button.wide,
.button.wide {
min-width: 14em;
}
input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
pointer-events: none;
opacity: 0.25;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button:not(#bouttonmenu),
.button {
background-color: transparent;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
color: #000000 !important;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
}
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active:not(#bouttonmenu),
.button:active {
background-color: rgba(71, 211, 229, 0.2);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
}
input[type="submit"].special,
input[type="reset"].special,
input[type="button"].special,
button.special,
.button.special {
background-color: #000000;
box-shadow: none;
color: #ffffff !important;
}
input[type="submit"].special:hover,
input[type="reset"].special:hover,
input[type="button"].special:hover,
button.special:hover,
.button.special:hover {
background-color: #47D3E5;
}
input[type="submit"].special:active,
input[type="reset"].special:active,
input[type="button"].special:active,
button.special:active,
.button.special:active {
background-color: #1ebdd1;
}
label {
display: block;
font-size: 0.9rem;
font-weight: 400;
margin: 0 0 1rem 0;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
appearance: none;
background-color: transparent;
border-radius: 4px;
border: none;
border: solid 1px;
color: inherit;
outline: 0;
padding: 0 0.825rem;
text-decoration: none;
}
input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
input[type="search"]:invalid,
input[type="url"]:invalid,
select:invalid,
textarea:invalid {
box-shadow: none;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select {
height: 2.75rem;
}
textarea {
padding: 0.75rem 1rem;
}
input[type="checkbox"],
input[type="radio"] {
appearance: none;
display: block;
float: left;
margin-right: -2rem;
opacity: 0;
width: 1rem;
z-index: -1;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
text-decoration: none;
user-select: none;
cursor: pointer;
display: inline-block;
font-weight: 300;
padding-left: 2.4rem;
padding-right: 0.75rem;
position: relative;
margin-bottom: 0;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
border-radius: 4px;
border: solid 1px;
content: '';
display: inline-block;
height: 1.65rem;
left: 0;
line-height: 1.58125rem;
position: absolute;
text-align: center;
top: 0;
width: 1.65rem;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
content: '\f00c';
}
input[type="checkbox"] + label:before {
border-radius: 4px;
}
input[type="radio"] + label:before {
border-radius: 100%;
}
label {
color: #000000;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
border-color: rgba(0, 0, 0, 0.2);
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
color: #000000;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
border-color: rgba(0, 0, 0, 0.2);
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
background-color: #000000;
border-color: #000000;
color: #ffffff;
}
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
}
.icon {
text-decoration: none;
border-bottom: none;
position: relative;
text-align: center;
}
.icon:before {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
.icon > .label {
display: none;
}
.icon.style2:before {
border-radius: 2.75em;
display: inline-block;
height: 2.75em;
line-height: 2.75em;
width: 2.75em;
}
.icon.major {
display: block;
margin: 0 0 1rem 0;
}
.icon.major:before {
font-size: 1.25rem;
}
a.icon.style2:before {
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}
.icon.style2:before {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
a.icon.style2:hover:before {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
a.icon.style2:active:before {
background-color: rgba(71, 211, 229, 0.1);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
/* List */
ol {
list-style: decimal;
margin: 0 0 2rem 0;
padding-left: 1.25rem;
}
ol li {
padding-left: 0.25rem;
}
ul {
list-style: disc;
margin: 0 0 2rem 0;
padding-left: 1rem;
}
ul li {
padding-left: 0.5rem;
}
ul.alt {
list-style: none;
padding-left: 0;
}
ul.alt li {
border-top: solid 1px;
padding: 0.5rem 0;
}
ul.alt li:first-child {
border-top: 0;
padding-top: 0;
}
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.icons li {
display: inline-block;
padding: 0 0.75rem 0 0;
}
ul.icons li:last-child {
padding-right: 0;
}
ul.actions {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.actions li {
display: inline-block;
padding: 0 1rem 0 0;
vertical-align: middle;
}
ul.actions li:last-child {
padding-right: 0;
}
ul.actions.small li {
padding: 0 0.5rem 0 0;
}
ul.actions.vertical li {
display: block;
padding: 1rem 0 0 0;
}
ul.actions.vertical li:first-child {
padding-top: 0;
}
ul.actions.vertical li > * {
margin-bottom: 0;
}
ul.actions.vertical.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.vertical.small li:first-child {
padding-top: 0;
}
ul.actions.fit {
display: table;
margin-left: -1rem;
padding: 0;
table-layout: fixed;
width: calc(100% + 1rem);
}
ul.actions.fit li {
display: table-cell;
padding: 0 0 0 1rem;
}
ul.actions.fit li > * {
margin-bottom: 0;
}
ul.actions.fit.small {
margin-left: -0.5rem;
width: calc(100% + 0.5rem);
}
ul.actions.fit.small li {
padding: 0 0 0 0.5rem;
}
@media screen and (max-width: 480px) {
ul.actions {
margin: 0 0 2rem 0;
}
ul.actions li {
padding: 1rem 0 0 0;
display: block;
text-align: center;
width: 100%;
}
ul.actions li:first-child {
padding-top: 0;
}
ul.actions li > * {
width: 100%;
margin: 0 !important;
}
ul.actions li > *.icon:before {
margin-left: -2rem;
}
ul.actions.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.small li:first-child {
padding-top: 0;
}
}
dl {
margin: 0 0 2rem 0;
}
dl dt {
display: block;
font-weight: 400;
margin: 0 0 1rem 0;
}
dl dd {
margin-left: 2rem;
}
dl.style2 dt {
width: 25%;
float: left;
}
dl.style2 dd {
width: 70%;
float: left;
}
dl.style2:after {
content: '';
display: block;
clear: both;
}
ul.alt li {
border-top-color: rgba(0, 0, 0, 0.2);
}
/* Section/Article */
section.special, article.special {
text-align: center;
}
header p {
position: relative;
margin: -0.65rem 0 1.5rem 0;
font-style: italic;
}
header p {
color: rgba(0, 0, 0, 0.75);
}
/* Table */
.table-wrapper {
margin: 0 0 2rem 0;
overflow-x: auto;
}
.table-wrapper > table {
margin-bottom: 0;
}
table {
margin: 0 0 2rem 0;
width: 100%;
}
table tbody tr {
border: solid 1px;
border-left: 0;
border-right: 0;
}
table td {
padding: 0.75rem 0.75rem;
}
table th {
font-size: 0.9rem;
font-weight: 400;
padding: 0 0.75rem 0.75rem 0.75rem;
text-align: left;
}
table thead {
border-bottom: solid 2px;
}
table tfoot {
border-top: solid 2px;
}
table.alt {
border-collapse: separate;
}
table.alt tbody tr td {
border: solid 1px;
border-left-width: 0;
border-top-width: 0;
}
table.alt tbody tr td:first-child {
border-left-width: 1px;
}
table.alt tbody tr:first-child td {
border-top-width: 1px;
}
table.alt thead {
border-bottom: 0;
}
table.alt tfoot {
border-top: 0;
}
table.fixed {
table-layout: fixed;
}
table tbody tr {
border-color: rgba(0, 0, 0, 0.2);
}
table tbody tr:nth-child(2n + 1) {
background-color: rgba(0, 0, 0, 0.05);
}
table tbody tr.alt {
background-color: rgba(0, 0, 0, 0.05) !important;
}
table th {
color: #000000;
}
table thead {
border-bottom-color: rgba(0, 0, 0, 0.2);
}
table tfoot {
border-top-color: rgba(0, 0, 0, 0.2);
}
table.alt tbody tr td {
border-color: rgba(0, 0, 0, 0.2);
}
table.uniform tbody tr:nth-child(2n + 1) {
background-color: transparent;
}
/* ============================= Fin du code initial HTML5UP ================================ */