diff options
| author | polo <ordipolo@gmx.fr> | 2025-09-29 20:20:26 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-09-29 20:20:26 +0200 |
| commit | 23fe455ead832c97fdabafca78393e21a18086bf (patch) | |
| tree | f49603ceff42972ee3f3dae88050c2da586f2759 /public | |
| parent | 58d2a7f5f0b8fbb93730ad2332fa484bbfc80d4c (diff) | |
| download | cms-23fe455ead832c97fdabafca78393e21a18086bf.tar.gz cms-23fe455ead832c97fdabafca78393e21a18086bf.tar.bz2 cms-23fe455ead832c97fdabafca78393e21a18086bf.zip | |
présentation mosaïque
Diffstat (limited to 'public')
| -rw-r--r-- | public/css/body.css | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/public/css/body.css b/public/css/body.css index f8e4f81..140655b 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
| @@ -67,24 +67,27 @@ section > h3 | |||
| 67 | display: grid; /* et c'est tout */ | 67 | display: grid; /* et c'est tout */ |
| 68 | /* la règle grid-template-columns est ajoutée dynamiquement par PHP ou JS*/ | 68 | /* la règle grid-template-columns est ajoutée dynamiquement par PHP ou JS*/ |
| 69 | } | 69 | } |
| 70 | .galery_photos | 70 | .mosaic > .section_child |
| 71 | { | 71 | { |
| 72 | display: flex; | 72 | display: flex; |
| 73 | flex-wrap: wrap; | 73 | flex-wrap: wrap; |
| 74 | justify-content: space-evenly; | 74 | justify-content: space-evenly; |
| 75 | } | 75 | } |
| 76 | .galery_photos .html_from_editor img | 76 | .mosaic > .section_child article |
| 77 | { | 77 | { |
| 78 | max-width: 300px; | 78 | max-width: 300px; |
| 79 | max-height: 200px; | 79 | } |
| 80 | .mosaic > .section_child img /* règle ciblant un élément généré par l'éditeur */ | ||
| 81 | { | ||
| 82 | /*max-width: 300px;*/ | ||
| 83 | max-height: 300px; | ||
| 80 | object-fit: contain; | 84 | object-fit: contain; |
| 81 | } | 85 | } |
| 82 | article | 86 | article |
| 83 | { | 87 | { |
| 84 | /*display: flex;*/ | ||
| 85 | background-color: white; | 88 | background-color: white; |
| 86 | margin: 15px; | 89 | margin: 15px; |
| 87 | padding: 0 15px; | 90 | padding: 15px; |
| 88 | /*min-height: 150px;*/ | 91 | /*min-height: 150px;*/ |
| 89 | } | 92 | } |
| 90 | article .logo2 | 93 | article .logo2 |
| @@ -94,14 +97,10 @@ article .logo2 | |||
| 94 | max-height: 200px; | 97 | max-height: 200px; |
| 95 | margin-right: 15px; | 98 | margin-right: 15px; |
| 96 | } | 99 | } |
| 97 | .new_content, .article_content | 100 | .overflow_hidden div |
| 98 | { | 101 | { |
| 99 | width: 100%; | ||
| 100 | } | ||
| 101 | .new_content | ||
| 102 | { | ||
| 103 | /*max-height: 400;*/ | ||
| 104 | overflow: hidden; | 102 | overflow: hidden; |
| 103 | max-height: 500px; | ||
| 105 | } | 104 | } |
| 106 | .new_content button | 105 | .new_content button |
| 107 | { | 106 | { |
| @@ -149,10 +148,6 @@ button .action_icon:hover | |||
| 149 | { | 148 | { |
| 150 | float: right; | 149 | float: right; |
| 151 | } | 150 | } |
| 152 | .article_title_zone | ||
| 153 | { | ||
| 154 | padding: 10px; | ||
| 155 | } | ||
| 156 | .under_an_article | 151 | .under_an_article |
| 157 | { | 152 | { |
| 158 | display: flex; | 153 | display: flex; |
| @@ -169,6 +164,7 @@ button .action_icon:hover | |||
| 169 | { | 164 | { |
| 170 | display: flex; | 165 | display: flex; |
| 171 | justify-content: end; | 166 | justify-content: end; |
| 167 | min-width: 100px; /* intéragit avec la règle float sur le bouton "share" */ | ||
| 172 | } | 168 | } |
| 173 | .delete_button | 169 | .delete_button |
| 174 | { | 170 | { |
