2023-10-17 10:26:09 +00:00
|
|
|
/*PARAMETRES GENERAUX*/
|
2024-06-07 14:37:48 +00:00
|
|
|
:root {
|
|
|
|
--big_margin: 100px;
|
|
|
|
--med_margin: 50px;
|
|
|
|
--small_margin: 10px;
|
|
|
|
--day-background: #fdfff9;
|
|
|
|
--day-highlight-color: white;
|
|
|
|
--day-highlight-bg: darkgreen;
|
|
|
|
--night-highlight-color: #ebebed;
|
|
|
|
--night-highlight-bg: #565a4d;
|
|
|
|
--night-background: #242526; /*#3c3c39;*/
|
|
|
|
--txt-night: #ebebed; /*#c7c4d4;*/
|
|
|
|
color-scheme: light dark;
|
|
|
|
/*
|
2023-10-17 10:26:09 +00:00
|
|
|
--menu: pink;
|
|
|
|
--jardin: darkseagreen;
|
|
|
|
--infras: gold;
|
|
|
|
--rennes: orange;
|
|
|
|
--orsay: chartreuse;
|
|
|
|
--txt_infras: bisque;
|
|
|
|
--outils: coral;
|
|
|
|
--liste_outils: aliceblue;
|
|
|
|
--txt_outils: aquamarine;
|
|
|
|
--valeurs: grey;
|
|
|
|
--ronce: cornflowerblue;
|
|
|
|
--liste_valeurs: brown;
|
|
|
|
--connaissance: chocolate;
|
|
|
|
--txt_connaissance: crimson;
|
|
|
|
--calendrier: darkkhaki;
|
|
|
|
--footer: deeppink;
|
|
|
|
--lightgrey: lightgrey;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
/* PAR DEFAUT */
|
2024-02-19 12:40:03 +00:00
|
|
|
|
|
|
|
h1 > .decoration:last-of-type:before, h2 > .decoration:last-of-type:before{
|
|
|
|
content: '\A____________________________________\A""""""""""""""""""""""""""""""""""""';
|
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
html, body, main {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 13px;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
body {
|
|
|
|
font-family: monospace;
|
|
|
|
color: black;
|
|
|
|
background-color: var(--day-background);
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
pre {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1rem;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
p {
|
|
|
|
font-size: 1rem;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
a {
|
|
|
|
color: darkgreen;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
nav ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
h2, h1 {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
text-align: left;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
h2, h1 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: hidden;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
img {
|
|
|
|
width: 100%;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.noscroll {
|
|
|
|
overflow: hidden;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.highlight {
|
|
|
|
color: var(--day-highlight-color);
|
|
|
|
background-color: var(--day-highlight-bg);
|
2024-06-07 13:18:16 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 13:54:00 +00:00
|
|
|
.underline {
|
|
|
|
text-decoration-line: underline;
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:26:09 +00:00
|
|
|
/*GESTION DE LA GRILLE DU DOCUMENT*/
|
2024-06-07 14:37:48 +00:00
|
|
|
div#container {
|
2024-06-07 13:31:50 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: [main-col-start] repeat(12, calc(100% / 12) [main-col-sep]);
|
|
|
|
grid-template-rows:
|
|
|
|
[main-row-debut] var(--med_margin)
|
|
|
|
[header-start] auto
|
|
|
|
[header-end] var(--big_margin)
|
|
|
|
[core-start] auto
|
|
|
|
[main-row-fin] var(--big_margin)
|
|
|
|
[footer-start] auto [footer-end]
|
|
|
|
;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* EN-TETE */
|
|
|
|
header {
|
2024-06-07 14:37:48 +00:00
|
|
|
grid-area: header-start / main-col-sep 1 / header-end / main-col-sep 12;
|
2024-06-07 11:41:17 +00:00
|
|
|
z-index: 1; /* Pour le mettre au dessus de l'illustration jardin et que l'on puisse sélectionner son contenu */
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* PIED DE PAGE */
|
|
|
|
footer {
|
2024-06-07 14:37:48 +00:00
|
|
|
background-color: var(--footer);
|
|
|
|
grid-area: footer-start / main-col-start / footer-end / main-col-sep 12;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
#liens {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: var(--med_margin);
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* MENU */
|
2024-06-07 14:37:48 +00:00
|
|
|
nav#menu {
|
|
|
|
background-color: var(--day-background);
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-direction: column;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 1rem;
|
|
|
|
right: 1rem;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.icone > pre {
|
|
|
|
padding-top: 1rem;
|
|
|
|
color: black;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.icone {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.icone .img_top {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 99;
|
|
|
|
background-color: var(--day-background);
|
|
|
|
color: darkgreen;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.icone:hover .img_top {
|
|
|
|
display: inline;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
.icone a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
nav#menu > a {
|
|
|
|
display: block;
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
nav#menu > a:hover {
|
|
|
|
color: darkgreen;
|
|
|
|
text-decoration: none;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ILLUSTRATIONS ASCII (Y COMPRIS FOOTER) */
|
2024-06-07 14:37:48 +00:00
|
|
|
pre.center {
|
|
|
|
font-size: 1rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre.hide {
|
2024-06-07 14:37:48 +00:00
|
|
|
display: none;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
2024-06-07 14:37:48 +00:00
|
|
|
pre.center > a {
|
|
|
|
font-size: 1rem;
|
|
|
|
display: contents;
|
|
|
|
text-decoration: 1px black solid;
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* RESPONSIVE */
|
|
|
|
/* Tablettes */
|
|
|
|
@media (max-width: 1500px) and (min-width: 801px) {
|
2024-06-07 14:37:48 +00:00
|
|
|
h2,
|
|
|
|
h1 {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Smartphones */
|
|
|
|
@media (max-width: 800px) {
|
2024-06-07 14:37:48 +00:00
|
|
|
:root {
|
|
|
|
--big_margin: 50px;
|
|
|
|
--med_margin: 25px;
|
|
|
|
--small_margin: 5px;
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
|
2024-02-19 12:40:03 +00:00
|
|
|
h1 > .decoration:last-of-type:before {
|
2024-06-07 14:37:48 +00:00
|
|
|
content: "";
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
|
2024-02-19 12:40:03 +00:00
|
|
|
h2 > .decoration:first-of-type:before{
|
|
|
|
content: '______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\A* ';
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
|
2024-02-19 12:40:03 +00:00
|
|
|
h2 > .decoration:last-of-type:before{
|
|
|
|
content: ' *\A______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""';
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
h2, h1 {
|
|
|
|
font-size: 1rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
|
2024-06-07 14:37:48 +00:00
|
|
|
h2, h1 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* THEME SOMBRE */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2024-06-07 14:37:48 +00:00
|
|
|
div#container, nav#menu, body {
|
|
|
|
background-color: var(--night-background);
|
|
|
|
}
|
|
|
|
p, pre, ul, li, a, a:hover, h1, h2, footer {
|
|
|
|
color: var(--txt-night);
|
|
|
|
}
|
|
|
|
.highlight {
|
|
|
|
color: var(--night-highlight-color);
|
|
|
|
background-color: var(--night-highlight-bg);
|
|
|
|
}
|
|
|
|
.icone > pre {
|
|
|
|
color: var(--txt-night);
|
|
|
|
}
|
|
|
|
.icone .img_top {
|
|
|
|
background-color: var(--night-background);
|
|
|
|
color: var(--txt-night);
|
|
|
|
}
|
|
|
|
.icone a {
|
|
|
|
color: var(--txt-night);
|
|
|
|
}
|
|
|
|
div#ronce, #coop, #autonomie, #solidarite, #liberte, nav#menu, div#rennes, div#orsay {
|
|
|
|
border-color: var(--txt-night);
|
|
|
|
}
|
2024-06-07 12:15:40 +00:00
|
|
|
section#liste_outils > a > div > p:nth-child(n){
|
|
|
|
color: var(--txt-night);
|
|
|
|
}
|
2023-10-17 10:26:09 +00:00
|
|
|
}
|