index.php
style.css
- @charset "UTF-8";
- /**************************************************/
- @{ LISTE DES REGLES CSS listeDesReglesCSS.css 1907a }
- /**************************************************/
- Le sélecteur ".listeDesReglesCSS" applique la plupart des attributs CSS2 et CSS3, avec les valeurs possibles.
- Les attributs sont classés par usage, et du général au particulier.
- Cette bibliothèque peut aussi servir à copier-coller des règles (lignes) dans votre code.
- En couleur à gauche, les couples attribut:valeur présentent la valeur par défaut de l'attribut CSS.
- En commentaire à droite, les valeurs possibles de l'attribut sont séparées par le caractère "|".
- Les mots en minuscules sont les termes du langage CSS.
- Les mots commençant par une majuscule sont à remplacer par des valeurs (Couleur, Longueur, Entier...).
- Tous les attributs peuvent également recevoir la valeur "initial" : retour à la valeur par défaut.
- Le style CSS représente donc le style par défaut : tous les attributs sont à leur valeur par défaut.
- En appliquant la classe "defaut" à un élément du DOM, on ramène cet élément aux valeurs par défaut.
- © michelandrieux@online.fr
- /**************************************************/
- /* Déclaration du jeu de caractères à utiliser dans les règles CSS */
- @charset "UTF-8 ou ISO-8859-1 ...";
- /* Ajout d'une police de caractères */
- @font-face{
- font-family: "nom"; /* nom de la police tel qu'il sera appelé dans les styles CSS */
- src: url(fontes/police.ttf); /* chemin vers le fichier de la police */
- font-weight: normal; /* normal | bold | 100-900 */
- font-style: normal; /* normal | italic | oblique */
- }
- .listeDesReglesCSS, .defaut { /* Sélecteur universel : ,* */
- /* Affichage */
- display: inline; /* block | inline | inline-block | none | flex | list-item | table | grid ... */
- visibility: visible; /* visible | hidden */
- cursor: auto; /* auto | pointer | text | crosshair | none ... */
- opacity: 1; /* [0.0 -> 1.0] Précision à 3 décimales */
- /* Positionnement */
- position: static ; /* static | absolute | fixed | sticky | relative (pour le parent de référence) */
- top: auto; /* auto | px | % | em */
- right: auto; /* auto | px | % | em */
- bottom: auto; /* auto | px | % | em */
- left: auto; /* auto | px | % | em */
- z-index: auto; /* auto | Entier négatif ou positif */
- /* Flottement */
- float: none; /* none | left | right */
- clear: none; /* none | left | right | both */
- /* Dimensions */
- width: auto; /* auto | px | % | em */ /* (pour les block et les inline-block ) */
- height: auto; /* auto | px | % | em */ /* (pour les block et les inline-block ) */
- max-width: none; /* none | px | % | em */
- max-height: none; /* none | px | % | em */
- min-width: 0px; /* px | % | em */
- min-height: 0px; /* px | % | em */
- box-sizing: content-box; /* content-box | border-box */
- overflow: visible; /* visible | hidden | scroll | auto */
- overflow-x: visible; /* visible | hidden | scroll | auto */
- overflow-y: visible; /* visible | hidden | scroll | auto */
- /* Marges et remplissage */
- margin: 0px 0px 0px 0px; /* (Haut ± px | % | em) (Droit ± px | % | em) (Bas ± px | % | em) (Gauche ± px | % | em) */
- margin-top: 0px; /* ± px | % | em */
- margin-right: 0px; /* ± px | % | em */
- margin-bottom: 0px; /* ± px | % | em */
- margin-left: 0px; /* ± px | % | em */
- padding: 0px 0px 0px 0px; /* (Haut px | % | em) (Droit px | % | em) (Bas px | % | em) (Gauche px | % | em) */
- padding-top: 0px; /* px | % | em */
- padding-right: 0px; /* px | % | em */
- padding-bottom: 0px; /* px | % | em */
- padding-left: 0px; /* px | % | em */
- /* Flex : élément parent */
- display: flex; /* Valeur par défaut de display : inline */
- flex-direction: row ; /* row | row-reverse | column | column-reverse */
- flex-wrap: nowrap; /* nowrap | wrap | wrap-reverse */
- justify-content: flex-start; /* flex-start | flex-end | center | space-around | space-between */
- align-items: stretch; /* stretch | baseline | center | flex-start | flex-end */
- align-content: stretch; /* stretch | center | flex-start | flex-end | space-around | space-between */
- /* Flex : éléments enfants */
- flex-grow: 0; /* Entier positif */
- flex-shrink: 1; /* Entier positif */
- flex-basis: auto; /* px | % | em */
- flex: 0 1 auto; /* (Entier positif) (Entier positif) (px | % | em) */
- order: 0; /* Entier positif */
- align-self: auto; /* auto | stretch | center | flex-start | flex-end | baseline */
- /* Texte */
- text-align: left; /* left | right | center | justify */
- text-indent: 0px; /* px | % | em */
- line-height: normal; /* normal | px | % | em */
- vertical-align: baseline ; /* baseline | sub | super | top | text-top | middle | bottom | text-bottom | ±px | ±% | ±em */
- white-space: normal; /* normal | nowrap | pre | pre-line | pre-wrap */
- word-wrap: normal; /* normal | break-word */
- font-family: Times, serif; /* none | serif | sans-serif | cursive | fantasy | monospace */
- font-size: medium; /* medium | px | % | em */
- font-weight: normal; /* normal | bold */
- font-style: normal; /* normal | italic | oblique */
- font-variant: normal; /* normal | small-caps | all-small-caps */
- font-kerning: auto; /* auto | normal | none */
- color: rgb(0,0,0); /* #rrvvbb | #rvb | rgb(r,v,b) | rgba(r,v,b,a) | Couleur nommée */
- text-shadow: none; /* (H-Décalage ± px | em) (V-Décalage ± px | em) (Flou px | em) Couleur */
- text-transform: none; /* none | capitalize | uppercase | lowercase */
- text-decoration: none; /* none | underline | overline | line-through */
- letter-spacing: normal; /* normal | px | % | em */
- word-spacing: normal; /* normal | px | % | em */
- hyphens: none; /* none | manual | auto */
- /* Listes */
- list-style-type: disc; /* none | disc | circle | square | decimal | decimal-leading-zero |
- lower-alpha | lower-greek | lower-latin | lower-roman |
- upper-alpha | upper-greek | upper-latin | upper-roman */
- list-style-position: outside ; /* outside | inside */
- list-style-image: none; /* none | url() */
- list-style: disc outside none; /* Type Position | Position url() */
- /* Texte à colonnes */ /* avec préfixes vendeurs -webkit */
- column-count: auto; /* auto | Entier positif */
- column-fill: balance; /* balance | auto */
- column-gap: normal; /* normal | length */
- column-rule: 0px none rgba(0,0,0,0);/* (Epaisseur px | em) Style Couleur */
- column-span: none; /* none | all */
- column-width: auto; /* auto | Largeur */
- /* Tableau */
- caption-side: top; /* top | bottom */
- empty-cells: show; /* show | hide */
- /* Arrière-plan */
- background-color: rgba(0,0,0,0); /* Couleur | transparent */
- background-clip: border-box; /* padding-box | border-box | content-box */
- background-origin: padding-box; /* padding-box | border-box | content-box */
- background-image: none; /* none | url() */
- background-size: auto auto; /* auto auto | px px | % % | em em | cover | contain */
- background-repeat: repeat; /* repeat | repeat-x | repeat-y | no-repeat */
- background-position: 0% 0%; /* H-Décalage(left | center | right | ±px | ±% | ±em) V-Décalage(top | center | bottom | ±px | ±% | ±em) */
- background-attachment: scroll; /* scroll | fixed | local */
- border: 0px none rgba(0,0,0,0); /* (Epaisseur px | em) Style Couleur */
- border-top: 0px; /* (Epaisseur px | em) Style Couleur */
- border-right: 0px; /* (Epaisseur px | em) Style Couleur */
- border-bottom: 0px; /* (Epaisseur px | em) Style Couleur */
- border-left: 0px; /* (Epaisseur px | em) Style Couleur */
- outline: 0px none rgba(0,0,0,0); /* (Epaisseur px | em) Style Couleur */
- /* Styles: hidden | dotted | dashed | solid | double | groove | ridge | inset | outset */
- border-radius: 0px 0px 0px 0px; /* px px px px | % % % % | em em em em */
- border-spacing: 2px; /* px | em */
- border-collapse: separate; /* separate | collapse */
- box-shadow: none; /* none | (H-Décalage: ± px | em) (V-Décalage: ± px | em) (Flou: px | em) (Grossi: px | em) Couleur inset */
- box-decoration-break: slice; /* slice | clone */
- /* Images */
- clip: auto; /* auto | Rectangle (Top, Right, Bottom, Left) */
- object-fit: fill; /* fill | contain | cover | scale-down | none */
- filter: none; /* none | blur() | brightness() | contrast() | drop-shadow() | grayscale() |
- hue-rotate() | invert() | opacity() | saturate() | sepia() | url() */
- /* Transformations */
- perspective: none; /* none | px */ /* Pour le parent */
- perspective-origin: 50% 50%; /* (X left | center | right | px | % | em) (Y top | center | bottom | px | % | em) */
- transform: none; /* Fonction de transformation :
- translate(x,y) | translate3d(x,y,z) | translateX(x) | translateY(y) | translateZ(z) |
- scale(x,y) | scale3d(x,y,z) | scaleX(x) | scaleY(y) | scaleZ(z) |
- rotate(Angle) | rotate3d(x,y,z,Angle) | rotateX(Angle) | rotateY(Angle) | rotateZ(Angle) |
- skew(X-angle,Y-angle) | skewX(Angle) | skewY(Angle) | perspective(N) */
- transform-origin: 50% 50% 0; /* (X-axis (left|center|right|Longueur|%)) (Y-axis (top|center|bottom|Longueur|%)) (Z-axis (Longueur)) */
- /* Transitions */
- transition-property: none; /* none | all | Propriétés... */
- transition-duration: 0s; /* Durée en s ou ms */
- transition-timing-function: ease; /* ease | linear | ease-in | ease-out | ease-in-out |
- step-start | step-end | steps(Entier, start | end) | cubic-bezier(n,n,n,n) */
- transition: none 0s ease ; /* écriture simplifiée */
- /* Animations */
- animation-name: nom;
- animation-duration: 0s; /* Durée en s */
- animation-timing-function: ease; /* linear | ease | ease-in | ease-out | ease-in-out |
- step-start | step-end | steps(Entier, start | end) | cubic-bezier(n,n,n,n) */
- animation-delay: 0s; /* Durée en s */
- animation-iteration-count: 1; /* number | infinite | initial | inherit */
- animation-direction: normal; /* normal | reverse | alternate | alternate-reverse | initial | inherit */
- animation-fill-mode: none; /* none | forwards | backwards | both | initial | inherit */
- animation-play-state: running; /* running | paused | initial | inherit */
- animation: nom 0s ease 0s 1 normal none running; /* écriture simplifiée */
- }
- /* Images clés des Animations */
- @keyframes nom { /* écriture avec images clés début et fin */
- from {attr1: vala1; attr2: valb1;...}
- to {attr1: vala2; attr2: valb2;...}
- }
- @keyframes nom { /* écriture avec images clés multiples */
- 0% {attr1: vala1; attr2: valb1;...}
- 50% {attr1: vala2; attr2: valb2;...}
- 100% {attr1: vala3; attr2: valb3;...}
- }
- .prefixesVendeurs { /* A utiliser pour quelques attributs CSS */
- /* hyphens, column, transform... */
- /* Descrition type d'une propriété CSS exprimée avec tous les préfixes vendeurs */
- -webkit-propriete: 0; /* pour Chrome et Safari */
- -moz-propriete: 0; /* pour Firefox */
- -ms-propriete: 0; /* pour Explorer */
- -o-propriete: 0; /* pour Opera */
- propriete: 0; /* écriture standard, toujours à la fin */
- /* Propriétés CSS nécessitant des préfixes vendeurs au 19/09/2018 (https://autoprefixer.github.io) */
- /* Dimensions */
- -webkit-box-sizing: content-box;
- box-sizing: content-box; /* content-box | border-box */
- /* Flex : élément parent */
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex; /* Valeur par défaut de display : inline */
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row ;
- flex-direction: row ; /* row | row-reverse | column | column-reverse */
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap; /* nowrap | wrap-reverse | wrap-reverse */
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start; /* flex-start | flex-end | center | space-around | space-between */
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch; /* stretch | baseline | center | flex-start | flex-end */
- -ms-flex-line-pack: stretch;
- align-content: stretch; /* stretch | center | flex-start | flex-end | space-around | space-between */
- /* Flex : éléments enfants */
- -webkit-box-flex: 0;
- -ms-flex-positive: 0;
- flex-grow: 0; /* Entier positif */
- -ms-flex-negative: 1;
- flex-shrink: 1; /* Entier positif */
- -ms-flex-preferred-size: auto;
- flex-basis: auto; /* px | % | em */
- -ms-flex: 0 1 auto;
- flex: 0 1 auto; /* (Entier positif) (Entier positif) (px | % | em) */
- -webkit-box-ordinal-group: 1;
- -ms-flex-order: 0;
- order: 0; /* Entier positif */
- -ms-flex-item-align: auto;
- align-self: auto; /* auto | stretch | center | flex-start | flex-end | baseline */
- /* Texte */
- -webkit-font-kerning: auto;
- font-kerning: auto; /* auto | normal | none */
- -webkit-hyphens: none; /* none | manual | auto */
- -ms-hyphens: none; /* none | manual | auto */
- hyphens: none; /* none | manual | auto */
- /* Texte à colonnes */ /* avec préfixes vendeurs -webkit */
- -webkit-column-count: auto;
- column-count: auto; /* auto | Entier positif */
- -webkit-column-fill: balance;
- column-fill: balance; /* balance | auto */
- -webkit-column-gap: normal;
- column-gap: normal; /* normal | length */
- -webkit-column-rule: 0px none rgba(0,0,0,0);
- column-rule: 0px none rgba(0,0,0,0);/* (Epaisseur px | em) Style Couleur */
- -webkit-column-span: none;
- column-span: none; /* none | all */
- -webkit-column-width: auto;
- column-width: auto; /* auto | Largeur */
- /* Arrière-plan */
- -webkit-box-shadow: none;
- box-shadow: none; /* none | (H-Décalage: ± px | em) (V-Décalage: ± px | em) (Flou: px | em) (Grossi: px | em) Couleur inset */
- -webkit-box-decoration-break: slice;
- box-decoration-break: slice; /* slice | clone */
- /* Images */
- -webkit-filter: none;
- filter: none; /* none | blur() | brightness() | contrast() | drop-shadow() | grayscale() |
- hue-rotate() | invert() | opacity() | saturate() | sepia() | url() */
- /* Effets */
- -webkit-transition-property: none;
- -o-transition-property: none;
- transition-property: none; /* none | all | Propriétés... */
- -webkit-transition-duration: 0s;
- -o-transition-duration: 0s;
- transition-duration: 0s; /* Durée en s ou ms */
- -webkit-transition-timing-function: ease;
- -o-transition-timing-function: ease;
- transition-timing-function: ease; /* ease | linear | ease-in | ease-out | ease-in-out |
- step-start | step-end | steps(Entier, start | end) | cubic-bezier(n,n,n,n) */
- -webkit-perspective: none;
- perspective: none; /* none | px */ /* Pour le parent */
- -webkit-perspective-origin: 50% 50%;
- perspective-origin: 50% 50%; /* (X left | center | right | px | % | em) (Y top | center | bottom | px | % | em) */
- -webkit-transform: none;
- -ms-transform: none;
- transform: none; /* Fonction de transformation :
- translate(x,y) | translate3d(x,y,z) | translateX(x) | translateY(y) | translateZ(z) |
- scale(x,y) | scale3d(x,y,z) | scaleX(x) | scaleY(y) | scaleZ(z) |
- rotate(Angle) | rotate3d(x,y,z,Angle) | rotateX(Angle) | rotateY(Angle) | rotateZ(Angle) |
- skew(X-angle,Y-angle) | skewX(Angle) | skewY(Angle) | perspective(N) */
- -webkit-transform-origin: 50% 50% 0;
- -ms-transform-origin: 50% 50% 0;
- transform-origin: 50% 50% 0; /* (X-axis (left|center|right|Longueur|%)) (Y-axis (top|center|bottom|Longueur|%)) (Z-axis (Longueur)) */
- }
- /* Liste alphabétique complète des sélecteurs des balises HTML5 */
- a {} abbr {} address {} area {} article {} aside {} audio {}
- b {} base {} bdi {} bdo {} blockquote {} body {} br {} button {}
- canvas {} caption {} cite {} code {} col {} colgroup {} command {}
- datalist {} dd {} del {} details {} dfn {} div {} dl {} dt {}
- em {} embed {}
- fieldset {} figcaption {} figure {} footer {} form {}
- h1 {} h2 {} h3 {} h4 {} h5 {} h6 {} head {} header {} hgroup {} hr {} html {}
- i {} iframe {} img {} input {} ins {}
- keygen {} kbd {}
- label {} legend {} li {} link {}
- map {} mark {} math {} menu {} meta {} meter {}
- nav {} noscript {}
- object {} ol {} optgroup {} option {} output {}
- p {} param {} pre {} progress {}
- q {}
- rp {} rt {} ruby {}
- s {} samp {} script {} section {} select {} small {} source {} span {} strong {} style {} sub {} summary {} sup {} svg {}
- table {} tbody {} td {} textarea {} tfoot {} th {} thead {} time {} title {} tr {} track {}
- u {} ul {}
- var {} video {}
- wbr {}