1
0
Fork 0
forked from Deuxfleurs/site

Compare commits

..

No commits in common. "ffe96d9c51e612b1699670124d084489c08e2f35" and "40772c46cb3d13d964af60c15c0c4a0b5a2444f0" have entirely different histories.

3 changed files with 580 additions and 578 deletions

View file

@ -6,7 +6,13 @@ main {
grid-template-columns: [col-start] repeat(12, calc(100% / 12) [col-sep]); grid-template-columns: [col-start] repeat(12, calc(100% / 12) [col-sep]);
grid-template-rows: grid-template-rows:
[row-start] auto [jardin-end] [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) var(--big_margin)
[title-start-contact] auto [title-end-contact] [title-start-contact] auto [title-end-contact]
var(--med_margin) var(--med_margin)
@ -14,7 +20,7 @@ main {
; ;
} }
div#jardin { div#jardin{
background-color: var(--jardin); background-color: var(--jardin);
grid-area: row-start / col-start / jardin-end / col-sep 12; grid-area: row-start / col-start / jardin-end / col-sep 12;
display: flex; display: flex;
@ -23,70 +29,70 @@ div#jardin {
height: 100vh; height: 100vh;
} }
div#jardin p { div#jardin p{
display: flex; display: flex;
justify-content: center; justify-content:center;
} }
h2#infras { h2#infras{
background-color: var(--infras); background-color: var(--infras);
grid-area: title-start 1 / col-sep 1 / title-end 1 / col-sep 12; grid-area: title-start 1 / col-sep 1 / title-end 1 / col-sep 12;
} }
div#rennes { div#rennes{
background-color: var(--rennes); background-color: var(--rennes);
grid-area: illu-start 1 / col-sep 1 / illu-end 1 / col-sep 6; grid-area: illu-start 1 / col-sep 1 / illu-end 1 / col-sep 6;
overflow: hidden; overflow: hidden;
/*height: 450px;*/ /*height: 450px;*/
} }
div#orsay { div#orsay{
background-color: var(--orsay); background-color: var(--orsay);
grid-area: illu-start 1 / col-sep 6 / illu-end 1 / col-sep 11; grid-area: illu-start 1 / col-sep 6 / illu-end 1 / col-sep 11;
overflow: hidden; overflow: hidden;
/*height:450px;*/ /*height:450px;*/
} }
p#txt_infras { p#txt_infras{
background-color: var(--txt_infras); background-color: var(--txt_infras);
grid-area: txt-start 1 / col-sep 1 / txt-end 1 / col-sep 7; grid-area: txt-start 1 / col-sep 1 / txt-end 1 / col-sep 7;
} }
h2#outils { h2#outils{
background-color: var(--outils); background-color: var(--outils);
grid-area: title-start 2 / col-sep 1 / title-end 2 / col-sep 12; grid-area: title-start 2 / col-sep 1 / title-end 2 / col-sep 12;
} }
section#liste_outils { section#liste_outils{
background-color: var(--liste_outils); background-color: var(--liste_outils);
grid-area: illu-start 2 / col-sep 7 / illu-end 2 / col-sep 11; grid-area: illu-start 2 / col-sep 7 / illu-end 2 / col-sep 11;
} }
section#liste_outils > a > div > p { section#liste_outils > a > div > p{
text-align: center; text-align: center;
} }
section#liste_outils > a { section#liste_outils > a{
/*display: contents;*/ /*display: contents;*/
color: black; color: black;
text-decoration: none; text-decoration: none;
} }
section#liste_outils > a:hover { section#liste_outils > a:hover{
color: darkgreen; color: darkgreen;
} }
div#txt_outils { div#txt_outils{
background-color: var(--txt_outils); background-color: var(--txt_outils);
grid-area: txt-start 2 / col-sep 1 / txt-end 2 / col-sep 7; grid-area: txt-start 2 / col-sep 1 / txt-end 2 / col-sep 7;
} }
h2#valeurs { h2#valeurs{
background-color: var(--valeurs); background-color: var(--valeurs);
grid-area: title-start 3 / col-sep 1 / title-end 3 / col-sep 12; grid-area: title-start 3 / col-sep 1 / title-end 3 / col-sep 12;
} }
div#ronce { div#ronce{
background-color: var(--ronce); background-color: var(--ronce);
grid-area: illu-start 3 / col-sep 2 / illu-end 3 / col-sep 10; grid-area: illu-start 3 / col-sep 2 / illu-end 3 / col-sep 10;
padding: 0.5rem; padding: 0.5rem;
@ -95,39 +101,38 @@ div#ronce {
transition: filter 0.15s ease 0s; transition: filter 0.15s ease 0s;
} }
div#ronce:hover { div#ronce:hover{
filter: none; filter: none;
} }
section#liste_valeurs { section#liste_valeurs{
background-color: var(--liste_valeurs); background-color: var(--liste_valeurs);
grid-area: txt-start 3 / col-sep 2 / txt-end 3 / col-sep 10; grid-area: txt-start 3 / col-sep 2 / txt-end 3 / col-sep 10;
} }
h2#connaissance { h2#connaissance{
background-color: var(--connaissance); background-color: var(--connaissance);
grid-area: title-start-contact / col-sep 1 / title-end-contact / col-sep 12; grid-area: title-start-contact / col-sep 1 / title-end-contact / col-sep 12;
} }
div#txt_connaissance { div#txt_connaissance{
background-color: var(--txt_connaissance); background-color: var(--txt_connaissance);
grid-area: txt-start-contact / col-sep 1 / txt-end-contact / col-sep 6; grid-area: txt-start-contact / col-sep 1 / txt-end-contact / col-sep 6;
} }
div#calendrier { div#calendrier{
background-color: var(--calendrier); background-color: var(--calendrier);
grid-area: txt-start-contact / col-sep 7 / txt-end-contact / col-sep 10; grid-area: txt-start-contact / col-sep 7 / txt-end-contact / col-sep 10;
overflow: hidden; overflow: hidden;
} }
.mois_actuel, .mois_actuel, .mois_suivant{
.mois_suivant {
overflow: hidden; overflow: hidden;
} }
/*GESTION DE LA GRILLE LISTE DE NOS VALEURS*/ /*GESTION DE LA GRILLE LISTE DE NOS VALEURS*/
section#liste_valeurs { section#liste_valeurs{
/*on ne peut pas faire plusieurs opérations en même temps dans calc, il faut un calc par opération*/ /*on ne peut pas faire plusieurs opérations en même temps dans calc, il faut un calc par opération*/
--demie-goutiere: calc(var(--small_margin) / 2); --demie-goutiere: calc(var(--small_margin) / 2);
--valeurs_width: calc(50% - var(--demie-goutiere)); --valeurs_width: calc(50% - var(--demie-goutiere));
@ -141,27 +146,26 @@ section#liste_valeurs {
var(--small_margin) var(--small_margin)
[line2-start] auto [line2-end] [line2-start] auto [line2-end]
var(--small_margin) var(--small_margin)
[suivre-start] auto [suivre-end] [suivre-start] auto [suivre-end];
;
} }
p#coop { p#coop{
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line1-start / col2-start / line1-end / col2-mid-left; grid-area: line1-start / col2-start / line1-end / col2-mid-left;
text-align: center; text-align: center;
} }
p#autonomie { p#autonomie{
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line1-start / col2-mid-right / line1-end / col2-end; grid-area: line1-start / col2-mid-right / line1-end / col2-end;
} }
p#solidarite { p#solidarite{
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line2-start / col2-start / line2-end / col2-mid-left; grid-area: line2-start / col2-start / line2-end / col2-mid-left;
} }
p#liberte { p#liberte{
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line2-start / col2-mid-right / line2-end / col2-end; grid-area: line2-start / col2-mid-right / line2-end / col2-end;
} }
@ -172,10 +176,7 @@ p#suivre {
text-align: center; text-align: center;
} }
#coop, #coop, #autonomie, #solidarite, #liberte{
#autonomie,
#solidarite,
#liberte {
padding: 2rem; padding: 2rem;
border: 1px dashed black; border: 1px dashed black;
text-align: center; text-align: center;
@ -197,6 +198,7 @@ div#ordinateur {
grid-area: illu-start 2 / col-start / illu-end 2 / col-sep 7; grid-area: illu-start 2 / col-start / illu-end 2 / col-sep 7;
} }
div#discussion { div#discussion {
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line1-start / col-start / line1-end / col-mid-left; grid-area: line1-start / col-start / line1-end / col-mid-left;
@ -220,6 +222,7 @@ div#emails {
div#collaboration { div#collaboration {
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line2-start / col-mid-right / line2-end / col-end; grid-area: line2-start / col-mid-right / line2-end / col-end;
} }
div#blog { div#blog {
@ -227,67 +230,66 @@ div#blog {
grid-area: line3-start / col-mid-right / line3-end / col-end; grid-area: line3-start / col-mid-right / line3-end / col-end;
} }
/*GESTION DES MEDIA QUERIES*/ /*GESTION DES MEDIA QUERIES*/
/*Tablettes et petits ordinateurs*/ /*Tablettes et petits ordinateurs*/
@media (max-width: 1500px) and (min-width: 801px) { @media (max-width: 1500px) and (min-width: 801px){
h2#infras { h2#infras{
grid-area: title-start 1 / col-sep 1 / title-end 1 / col-sep 12; grid-area: title-start 1 / col-sep 1 / title-end 1 / col-sep 12;
} }
h2#outils { h2#outils{
grid-area: title-start 2 / col-sep 1 / title-end 2 / col-sep 12; grid-area: title-start 2 / col-sep 1 / title-end 2 / col-sep 12;
} }
h2#valeurs { h2#valeurs{
grid-area: title-start 3 / col-sep 1 / title-end 3 / col-sep 12; grid-area: title-start 3 / col-sep 1 / title-end 3 / col-sep 12;
} }
h2#connaissance { h2#connaissance{
grid-area: title-start-contact / col-sep 1 / title-end-contact / col-sep 12; grid-area: title-start-contact / col-sep 1 / title-end-contact / col-sep 12;
} }
div#rennes { div#rennes{
grid-area: illu-start 1 / col-sep 2 / illu-end 1 / col-sep 6; grid-area: illu-start 1 / col-sep 2 / illu-end 1 / col-sep 6;
margin-right: 0.5rem; margin-right: 0.5rem;
} }
div#orsay { div#orsay{
grid-area: illu-start 1 / col-sep 6 / illu-end 1 / col-sep 10; grid-area: illu-start 1 / col-sep 6 / illu-end 1 / col-sep 10;
margin-left: 0.5rem; margin-left: 0.5rem;
} }
div#rennes, div#rennes, div#orsay{
div#orsay {
border: 1px solid black; border: 1px solid black;
border-radius: 5px; border-radius: 5px;
} }
div#rennes pre.center, div#rennes pre.center, div#orsay pre.center{
div#orsay pre.center {
margin-top: -5px; margin-top: -5px;
margin-bottom: -5px; margin-bottom: -5px
} }
div#orsay pre.center { div#orsay pre.center{
justify-content: center; justify-content: center;
} }
p#txt_infras { p#txt_infras{
background-color: var(--txt_infras); background-color: var(--txt_infras);
grid-area: txt-start 1 / col-sep 2 / txt-end 1 / col-sep 10; grid-area: txt-start 1 / col-sep 2 / txt-end 1 / col-sep 10;
} }
div#txt_outils { div#txt_outils{
background-color: var(--txt_outils); background-color: var(--txt_outils);
grid-area: txt-start 2 / col-sep 2 / txt-end 2 / col-sep 10; grid-area: txt-start 2 / col-sep 2 / txt-end 2 / col-sep 10;
} }
div#txt_connaissance { div#txt_connaissance{
grid-area: txt-start-contact / col-sep 2 / txt-end-contact / col-sep 10; grid-area: txt-start-contact / col-sep 2 / txt-end-contact / col-sep 10;
} }
div#txt_connaissance ul { div#txt_connaissance ul{
padding-left: 0px; padding-left: 0px;
list-style-position: inside; list-style-position: inside;
} }
@ -297,13 +299,14 @@ div#blog {
overflow: hidden; overflow: hidden;
} }
section#liste_outils { section#liste_outils{
background-color: var(--liste_outils); background-color: var(--liste_outils);
grid-area: illu-end 2 / col-sep 1 / illu-extended-end 2 / col-sep 11; grid-area: illu-end 2 / col-sep 1 / illu-extended-end 2 / col-sep 11;
margin-top: var(--med_margin); margin-top: var(--med_margin);
} }
section#liste_outils {
section#liste_outils{
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
row-gap: 1rem; row-gap: 1rem;
@ -336,6 +339,7 @@ div#blog {
div#collaboration { div#collaboration {
background-color: var(--lightgrey); background-color: var(--lightgrey);
grid-area: line2-start / col-tiers2-start / line2-end / col-tiers2-end; grid-area: line2-start / col-tiers2-start / line2-end / col-tiers2-end;
} }
div#blog { div#blog {
@ -343,51 +347,52 @@ div#blog {
grid-area: line2-start / col-tiers3-start / line2-end / col-tiers3-end; grid-area: line2-start / col-tiers3-start / line2-end / col-tiers3-end;
} }
div#ronce { div#ronce{
grid-area: illu-start 3 / col-sep 1 / illu-end 3 / col-sep 11; grid-area: illu-start 3 / col-sep 1 / illu-end 3 / col-sep 11;
} }
div#calendrier { div#calendrier{
margin-top: var(--med_margin); margin-top: var(--med_margin);
grid-area: txt-end-contact / col-sep 1 / cal-end-contact / col-sep 11; grid-area: txt-end-contact / col-sep 1 / cal-end-contact / col-sep 11;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
#mois_actuel, #mois_actuel, #mois_suivant{
#mois_suivant {
overflow: hidden; overflow: hidden;
} }
#mois_actuel { #mois_actuel{
margin-bottom: 0px; margin-bottom: 0px;
margin-right: 2rem; margin-right: 2rem;
} }
} }
/*Smartphones*/ /*Smartphones*/
@media (max-width: 800px) { @media (max-width: 800px){
h2#infras { h2#infras{
grid-area: title-start 1 / col-start / title-end 1 / col-sep 12; grid-area: title-start 1 / col-start / title-end 1 / col-sep 12;
} }
h2#outils { h2#outils{
grid-area: title-start 2 / col-start / title-end 2 / col-sep 12; grid-area: title-start 2 / col-start / title-end 2 / col-sep 12;
} }
h2#valeurs { h2#valeurs{
grid-area: title-start 3 / col-start / title-end 3 / col-sep 12; grid-area: title-start 3 / col-start / title-end 3 / col-sep 12;
} }
h2#connaissance { h2#connaissance{
grid-area: title-start-contact / col-start / title-end-contact / col-sep 12; grid-area: title-start-contact / col-start / title-end-contact / col-sep 12;
} }
div#jardin { div#jardin{
grid-area: row-start / col-sep 1 / jardin-end / col-sep 11; grid-area: row-start / col-sep 1 / jardin-end / col-sep 11;
} }
nav#menu { nav#menu{
position: fixed; position: fixed;
width: 100%; width: 100%;
right: 0px; right: 0px;
@ -398,7 +403,7 @@ div#blog {
border-top: black 1px dashed; border-top: black 1px dashed;
} }
nav#menu ul { nav#menu ul{
list-style: none; list-style: none;
flex-direction: row; flex-direction: row;
display: flex; display: flex;
@ -408,42 +413,40 @@ div#blog {
width: 100%; width: 100%;
} }
div#txt_connaissance ul { div#txt_connaissance ul{
padding-left: 0px; padding-left: 0px;
list-style-position: inside; list-style-position: inside;
margin-bottom: var(--med_margin); margin-bottom: var(--med_margin);
} }
.icone > pre { .icone > pre{
font-size: 0.8rem; font-size: 0.8rem;
} }
#illustration-accueil > pre.center { #illustration-accueil > pre.center{
font-size: 0.85rem; font-size: 0.85rem;
} }
div#orsay { div#orsay{
display: none; display: none;
} }
div#rennes { div#rennes{
grid-area: illu-start 1 / col-sep 1 / illu-end 1 / col-sep 11; grid-area: illu-start 1 / col-sep 1 / illu-end 1 / col-sep 11;
border: 1px solid black; border: 1px solid black;
border-radius: 5px; border-radius: 5px;
} }
div#rennes pre { div#rennes pre{
margin-top: -5px; margin-top: -5px;
margin-bottom: -5px; margin-bottom: -5px;
} }
pre { pre{
font-size: 0.95rem; font-size: 0.95rem;
} }
#txt_infras, #txt_infras, #txt_outils, #txt_connaissance{
#txt_outils,
#txt_connaissance {
text-align: left; text-align: left;
hyphens: none; hyphens: none;
margin-top: 0; margin-top: 0;
@ -455,17 +458,17 @@ div#blog {
margin-top: 0; margin-top: 0;
} }
p#txt_infras { p#txt_infras{
background-color: var(--txt_infras); background-color: var(--txt_infras);
grid-area: txt-start 1 / col-sep 1 / txt-end 1 / col-sep 11; grid-area: txt-start 1 / col-sep 1 / txt-end 1 / col-sep 11;
} }
div#txt_outils { div#txt_outils{
background-color: var(--txt_outils); background-color: var(--txt_outils);
grid-area: txt-start 2 / col-sep 1 / txt-end 2 / col-sep 11; grid-area: txt-start 2 / col-sep 1 / txt-end 2 / col-sep 11;
} }
div#txt_connaissance { div#txt_connaissance{
grid-area: txt-start-contact / col-sep 1 / txt-end-contact / col-sep 11; grid-area: txt-start-contact / col-sep 1 / txt-end-contact / col-sep 11;
} }
@ -477,46 +480,43 @@ div#blog {
display: block; display: block;
} }
section#liste_outils { section#liste_outils{
grid-area: illu-start 2 / col-start / illu-end 2 / col-sep 12; grid-area: illu-start 2 / col-start / illu-end 2 / col-sep 12;
font-size: 1rem; font-size: 1rem;
} }
section#liste_outils pre { section#liste_outils pre{
font-size: 1rem; font-size: 1rem;
} }
section#liste_outils > a > div { section#liste_outils > a > div{
margin-bottom: 1rem; margin-bottom: 1rem;
} }
div#ronce { div#ronce{
grid-area: illu-start 3 / col-sep 1 / illu-end 3 / col-sep 11; grid-area: illu-start 3 / col-sep 1 / illu-end 3 / col-sep 11;
border: none; border: none;
padding: 0px; padding: 0px;
} }
#coop, #coop, #autonomie, #solidarite, #liberte{
#autonomie,
#solidarite,
#liberte {
padding: 1rem; padding: 1rem;
margin: 0px; margin: 0px;
} }
#suivre { #suivre{
margin-top: 2rem; margin-top: 2rem;
} }
section#liste_valeurs { section#liste_valeurs{
grid-area: txt-start 3 / col-sep 1 / txt-end 3 / col-sep 11; grid-area: txt-start 3 / col-sep 1 / txt-end 3 / col-sep 11;
} }
section#liste_valeurs .description { section#liste_valeurs .description{
display: none; display: none;
} }
div#calendrier { div#calendrier{
grid-area: txt-end-contact / col-sep 1 / cal-end-contact / col-sep 11; grid-area: txt-end-contact / col-sep 1 / cal-end-contact / col-sep 11;
display: none; display: none;
} }
@ -525,41 +525,45 @@ div#blog {
justify-content: center; justify-content: center;
} }
footer pre.center { footer pre.center{
font-size: 0.85rem; font-size: 0.85rem;
} }
#liens { #liens{
text-align: center; text-align: center;
margin-bottom: 12rem; margin-bottom: 12rem;
} }
} }
/* En vrac */ /* En vrac */
div#calendrier > pre.center { div#calendrier > pre.center{
justify-content: right; justify-content: right;
} }
#calendrier #mois_actuel { #calendrier #mois_actuel{
margin-bottom: 1rem; margin-bottom: 1rem;
} }
#mois_actuel, #mois_actuel, #mois_suivant{
#mois_suivant {
text-align: center; text-align: center;
} }
#txt_connaissance li { .highlight{
color: var(--day-highlight-color);
background-color: var(--day-highlight-bg);
}
#txt_connaissance li{
margin-bottom: 1rem; margin-bottom: 1rem;
} }
#txt_connaissance p { #txt_connaissance p{
margin-top: 0px; margin-top: 0px;
} }
#txt_infras,
#txt_outils, #txt_infras, #txt_outils, #txt_connaissance{
#txt_connaissance {
line-height: 1.3rem; line-height: 1.3rem;
text-align: justify; text-align: justify;
text-justify: inter-character; text-justify: inter-character;

View file

@ -92,11 +92,6 @@ img{
overflow: hidden; overflow: hidden;
} }
.highlight{
color: var(--day-highlight-color);
background-color: var(--day-highlight-bg);
}
/*GESTION DE LA GRILLE DU DOCUMENT*/ /*GESTION DE LA GRILLE DU DOCUMENT*/
div#container{ div#container{
display: grid; display: grid;
@ -265,3 +260,4 @@ pre.center > a{
border-color: var(--txt-night); border-color: var(--txt-night);
} }
} }

View file

@ -16,3 +16,5 @@ main {
grid-area: core-start / main-col-start / main-row-fin / main-col-sep 12; grid-area: core-start / main-col-start / main-row-fin / main-col-sep 12;
} }
} }