diff options
Diffstat (limited to 'public/css/main.css')
| -rw-r--r-- | public/css/main.css | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/public/css/main.css b/public/css/main.css index 93a7bcf..870082a 100644 --- a/public/css/main.css +++ b/public/css/main.css | |||
| @@ -11,15 +11,25 @@ section > h3 | |||
| 11 | margin: 0; | 11 | margin: 0; |
| 12 | text-align: center; | 12 | text-align: center; |
| 13 | } | 13 | } |
| 14 | section > p /* boutons spéciaux mode admin */ | ||
| 15 | { | ||
| 16 | /*margin-left: 15px;*/ | ||
| 17 | } | ||
| 18 | .grid_columns | 14 | .grid_columns |
| 19 | { | 15 | { |
| 20 | display: grid; | 16 | display: grid; |
| 21 | grid-template-columns: repeat(3, 1fr); | 17 | grid-template-columns: repeat(3, 1fr); |
| 22 | } | 18 | } |
| 19 | @media screen and (max-width: 800px) | ||
| 20 | { | ||
| 21 | .grid_columns | ||
| 22 | { | ||
| 23 | grid-template-columns: repeat(2, 1fr); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | @media screen and (max-width: 550px) | ||
| 27 | { | ||
| 28 | .grid_columns | ||
| 29 | { | ||
| 30 | display: block; | ||
| 31 | } | ||
| 32 | } | ||
| 23 | .galery_photos | 33 | .galery_photos |
| 24 | { | 34 | { |
| 25 | display: flex; | 35 | display: flex; |
| @@ -148,23 +158,35 @@ article a:hover | |||
| 148 | flex-wrap: wrap; | 158 | flex-wrap: wrap; |
| 149 | font-size: smaller; | 159 | font-size: smaller; |
| 150 | }*/ | 160 | }*/ |
| 151 | .new_bloc | 161 | .edit_bloc_zone |
| 152 | { | 162 | { |
| 153 | background-color: white; | 163 | background-color: white; |
| 154 | padding: 10px; | 164 | padding: 10px; |
| 155 | margin: 10px 20px; | 165 | margin: 10px 15px; |
| 156 | 166 | display: flex; | |
| 167 | justify-content: space-evenly; | ||
| 168 | flex-wrap: wrap; | ||
| 157 | } | 169 | } |
| 158 | .new_bloc p | 170 | .edit_bloc_zone p |
| 159 | { | 171 | { |
| 160 | margin: 5px; | 172 | margin: 5px; |
| 161 | } | 173 | } |
| 174 | .new_bloc, .modify_bloc | ||
| 175 | { | ||
| 176 | /*background-color: white; | ||
| 177 | padding: 10px; | ||
| 178 | margin: 10px 20px;*/ | ||
| 179 | } | ||
| 180 | .new_bloc p | ||
| 181 | { | ||
| 182 | /*margin: 5px;*/ | ||
| 183 | } | ||
| 162 | .new_bloc #bloc_title | 184 | .new_bloc #bloc_title |
| 163 | { | 185 | { |
| 164 | width: 100%; | 186 | width: 70%; |
| 165 | max-width: 300px; | 187 | max-width: 300px; |
| 166 | } | 188 | } |
| 167 | .new_bloc form select, .new_bloc form input[type=submit] | 189 | .new_bloc form select, .new_bloc form input[type=submit], .modify_bloc form input[type=submit] |
| 168 | { | 190 | { |
| 169 | color: #ff1d04; | 191 | color: #ff1d04; |
| 170 | font-size: medium; | 192 | font-size: medium; |
| @@ -176,9 +198,18 @@ select:hover | |||
| 176 | { | 198 | { |
| 177 | cursor: pointer; | 199 | cursor: pointer; |
| 178 | } | 200 | } |
| 179 | .new_bloc form input[type=submit]:hover | 201 | .new_bloc form input[type=submit]:hover, .modify_bloc form input[type=submit]:hover |
| 180 | { | 202 | { |
| 181 | background-color: #ffff00; | 203 | background-color: #ffff00; |
| 182 | border-radius: 4px; | 204 | border-radius: 4px; |
| 183 | cursor: pointer; | 205 | cursor: pointer; |
| 206 | } | ||
| 207 | .modify_bloc > div | ||
| 208 | { | ||
| 209 | display: flex; | ||
| 210 | align-items: baseline; | ||
| 211 | } | ||
| 212 | .modify_bloc img | ||
| 213 | { | ||
| 214 | vertical-align: middle; | ||
| 184 | } \ No newline at end of file | 215 | } \ No newline at end of file |
