aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-10-20 18:11:35 +0200
committerpolo <ordipolo@gmx.fr>2025-10-20 18:11:35 +0200
commit426a1a69cb73007538336debc31b34c4348e1ba1 (patch)
tree44f1f15c892cc012bfdc5bdc42bb406934867298 /public
parent8bc4814fc83001d02ab3298e06596f0bd2a99f44 (diff)
downloadcms-426a1a69cb73007538336debc31b34c4348e1ba1.zip
un peu de nettoyage et d'uniformisation du CSS
Diffstat (limited to 'public')
-rw-r--r--public/css/body.css23
-rw-r--r--public/css/calendar.css2
2 files changed, 18 insertions, 7 deletions
diff --git a/public/css/body.css b/public/css/body.css
index dee806b..95f30d4 100644
--- a/public/css/body.css
+++ b/public/css/body.css
@@ -52,6 +52,7 @@ main
52section 52section
53{ 53{
54 margin: 10px 0; 54 margin: 10px 0;
55 padding: 15px;
55} 56}
56section > h3 57section > h3
57{ 58{
@@ -63,16 +64,25 @@ section .fetch_articles
63{ 64{
64 margin-left: 15px; 65 margin-left: 15px;
65} 66}
66.login_form, .basic_section 67.basic_div
67{ 68{
68 background-color: white; 69 background-color: white;
69 margin: 15px;
70 padding: 10px; 70 padding: 10px;
71} 71}
72 72
73.section_child
74{
75 gap: 15px; /* fonctionne avec flexbox et grid */
76 margin-top: 15px;
77}
78.fullwidth > .section_child
79{
80 display: flex;
81 flex-direction: column;
82}
73.grid > .section_child 83.grid > .section_child
74{ 84{
75 display: grid; /* et c'est tout */ 85 display: grid;/* et c'est tout */
76 /* la règle grid-template-columns est ajoutée dynamiquement par PHP ou JS*/ 86 /* la règle grid-template-columns est ajoutée dynamiquement par PHP ou JS*/
77} 87}
78.mosaic > .section_child 88.mosaic > .section_child
@@ -83,7 +93,7 @@ section .fetch_articles
83} 93}
84.mosaic > .section_child article 94.mosaic > .section_child article
85{ 95{
86 max-width: 300px; 96 max-width: 350px;
87} 97}
88.mosaic > .section_child img /* règle ciblant un élément généré par l'éditeur */ 98.mosaic > .section_child img /* règle ciblant un élément généré par l'éditeur */
89{ 99{
@@ -94,8 +104,8 @@ section .fetch_articles
94article 104article
95{ 105{
96 background-color: white; 106 background-color: white;
97 margin: 15px; 107 /*margin: 10px;*/ /* rêmplacé par gap */
98 padding: 15px; 108 padding: 10px;
99 /*min-height: 150px;*/ 109 /*min-height: 150px;*/
100} 110}
101article .logo2 111article .logo2
@@ -218,6 +228,7 @@ article a:hover
218 flex-wrap: wrap; 228 flex-wrap: wrap;
219 justify-content: space-between;*/ 229 justify-content: space-between;*/
220 display: grid; 230 display: grid;
231 gap: 15px;
221 grid-template-columns: repeat(2, 1fr); 232 grid-template-columns: repeat(2, 1fr);
222} 233}
223@media screen and (max-width: 900px) 234@media screen and (max-width: 900px)
diff --git a/public/css/calendar.css b/public/css/calendar.css
index 1b05fbd..2ff5640 100644
--- a/public/css/calendar.css
+++ b/public/css/calendar.css
@@ -10,7 +10,7 @@
10#calendar_zone{ 10#calendar_zone{
11 display: flex; 11 display: flex;
12 gap: 5px; 12 gap: 5px;
13 padding: 15px; 13 /*padding: 15px;*/
14 max-width: 1170px; 14 max-width: 1170px;
15} 15}
16#calendar{ 16#calendar{