1
0
Fork 0
forked from Deuxfleurs/site

Amélioration de home.css: homogénéisation de l'indentation + correction de formattage

1. passage des tabulations à 2 espaces pour homogénéiser avec les autres fichiers CSS
2. Ajout d'un niveau d'indentation pour les valeurs de grid-template-columns pour améliorer la lisibilité du code
3. Correction d'erreurs de formatage de text dans les commentaires ('même'→'même', 'opération'→'opération', 'goutière'→'goutière'
This commit is contained in:
Tixie 2024-06-07 15:15:55 +02:00
parent 40772c46cb
commit 6d33f1b765
No known key found for this signature in database

View file

@ -6,13 +6,7 @@ main {
grid-template-columns: [col-start] repeat(12, calc(100% / 12) [col-sep]);
grid-template-rows:
[row-start] auto [jardin-end]
repeat(3,
var(--big_margin)
[title-start] auto [title-end]
var(--med_margin)
[illu-start] auto [illu-end] auto [illu-extended-end]
var(--med_margin)
[txt-start] auto [txt-end])
repeat(3, var(--big_margin) [title-start] auto [title-end] var(--med_margin) [illu-start] auto [illu-end] auto [illu-extended-end] var(--med_margin) [txt-start] auto [txt-end])
var(--big_margin)
[title-start-contact] auto [title-end-contact]
var(--med_margin)
@ -126,7 +120,8 @@ div#calendrier{
overflow: hidden;
}
.mois_actuel, .mois_suivant{
.mois_actuel,
.mois_suivant {
overflow: hidden;
}
@ -146,7 +141,8 @@ section#liste_valeurs{
var(--small_margin)
[line2-start] auto [line2-end]
var(--small_margin)
[suivre-start] auto [suivre-end];
[suivre-start] auto [suivre-end]
;
}
p#coop {
@ -176,7 +172,10 @@ p#suivre {
text-align: center;
}
#coop, #autonomie, #solidarite, #liberte{
#coop,
#autonomie,
#solidarite,
#liberte {
padding: 2rem;
border: 1px dashed black;
text-align: center;
@ -198,7 +197,6 @@ div#ordinateur {
grid-area: illu-start 2 / col-start / illu-end 2 / col-sep 7;
}
div#discussion {
background-color: var(--lightgrey);
grid-area: line1-start / col-start / line1-end / col-mid-left;
@ -222,7 +220,6 @@ div#emails {
div#collaboration {
background-color: var(--lightgrey);
grid-area: line2-start / col-mid-right / line2-end / col-end;
}
div#blog {
@ -230,7 +227,6 @@ div#blog {
grid-area: line3-start / col-mid-right / line3-end / col-end;
}
/*GESTION DES MEDIA QUERIES*/
/*Tablettes et petits ordinateurs*/
@ -261,14 +257,16 @@ div#blog {
margin-left: 0.5rem;
}
div#rennes, div#orsay{
div#rennes,
div#orsay {
border: 1px solid black;
border-radius: 5px;
}
div#rennes pre.center, div#orsay pre.center{
div#rennes pre.center,
div#orsay pre.center {
margin-top: -5px;
margin-bottom: -5px
margin-bottom: -5px;
}
div#orsay pre.center {
@ -305,7 +303,6 @@ div#blog {
margin-top: var(--med_margin);
}
section#liste_outils {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
@ -339,7 +336,6 @@ div#blog {
div#collaboration {
background-color: var(--lightgrey);
grid-area: line2-start / col-tiers2-start / line2-end / col-tiers2-end;
}
div#blog {
@ -358,7 +354,8 @@ div#blog {
justify-content: center;
}
#mois_actuel, #mois_suivant{
#mois_actuel,
#mois_suivant {
overflow: hidden;
}
@ -366,10 +363,8 @@ div#blog {
margin-bottom: 0px;
margin-right: 2rem;
}
}
/*Smartphones*/
@media (max-width: 800px) {
h2#infras {
@ -446,7 +441,9 @@ div#blog {
font-size: 0.95rem;
}
#txt_infras, #txt_outils, #txt_connaissance{
#txt_infras,
#txt_outils,
#txt_connaissance {
text-align: left;
hyphens: none;
margin-top: 0;
@ -499,7 +496,10 @@ div#blog {
padding: 0px;
}
#coop, #autonomie, #solidarite, #liberte{
#coop,
#autonomie,
#solidarite,
#liberte {
padding: 1rem;
margin: 0px;
}
@ -533,7 +533,6 @@ div#blog {
text-align: center;
margin-bottom: 12rem;
}
}
/* En vrac */
@ -545,15 +544,11 @@ div#calendrier > pre.center{
margin-bottom: 1rem;
}
#mois_actuel, #mois_suivant{
#mois_actuel,
#mois_suivant {
text-align: center;
}
.highlight{
color: var(--day-highlight-color);
background-color: var(--day-highlight-bg);
}
#txt_connaissance li {
margin-bottom: 1rem;
}
@ -562,8 +557,9 @@ div#calendrier > pre.center{
margin-top: 0px;
}
#txt_infras, #txt_outils, #txt_connaissance{
#txt_infras,
#txt_outils,
#txt_connaissance {
line-height: 1.3rem;
text-align: justify;
text-justify: inter-character;