diff options
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/body.css | 7 | ||||
| -rw-r--r-- | public/css/foot.css | 20 | ||||
| -rw-r--r-- | public/css/head.css | 17 |
3 files changed, 23 insertions, 21 deletions
diff --git a/public/css/body.css b/public/css/body.css index 8ad3a52..57afe92 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
| @@ -43,7 +43,7 @@ main | |||
| 43 | margin: auto; | 43 | margin: auto; |
| 44 | /*max-width: 1200px;*/ | 44 | /*max-width: 1200px;*/ |
| 45 | background-color: #E3F3FF; | 45 | background-color: #E3F3FF; |
| 46 | padding: 15px 0; | 46 | padding: 15px; |
| 47 | } | 47 | } |
| 48 | .hidden | 48 | .hidden |
| 49 | { | 49 | { |
| @@ -51,8 +51,7 @@ main | |||
| 51 | } | 51 | } |
| 52 | section | 52 | section |
| 53 | { | 53 | { |
| 54 | margin: 10px 0; | 54 | margin-top: 20px; |
| 55 | padding: 15px; | ||
| 56 | } | 55 | } |
| 57 | section > h3 | 56 | section > h3 |
| 58 | { | 57 | { |
| @@ -72,7 +71,7 @@ section .fetch_articles | |||
| 72 | 71 | ||
| 73 | .section_child | 72 | .section_child |
| 74 | { | 73 | { |
| 75 | gap: 15px; /* fonctionne avec flexbox et grid */ | 74 | gap: 15px; /* fonctionne avec flexbox et grid, mais pas avec firefox 52 (win XP/vista) */ |
| 76 | margin-top: 15px; | 75 | margin-top: 15px; |
| 77 | } | 76 | } |
| 78 | .fullwidth > .section_child | 77 | .fullwidth > .section_child |
diff --git a/public/css/foot.css b/public/css/foot.css index 8d0a94d..38284e3 100644 --- a/public/css/foot.css +++ b/public/css/foot.css | |||
| @@ -9,16 +9,22 @@ footer | |||
| 9 | /*padding: 0 20px;*/ | 9 | /*padding: 0 20px;*/ |
| 10 | 10 | ||
| 11 | } | 11 | } |
| 12 | footer a | ||
| 13 | { | ||
| 14 | color: unset; /* ne plus hériter */ | ||
| 15 | text-decoration: none; | ||
| 16 | } | ||
| 12 | footer > div | 17 | footer > div |
| 13 | { | 18 | { |
| 14 | max-width: 1200px; | 19 | max-width: 1200px; |
| 15 | display: flex; | 20 | display: flex; |
| 16 | justify-content: space-around; | 21 | justify-content: space-around; |
| 22 | flex-wrap: wrap; | ||
| 17 | } | 23 | } |
| 18 | 24 | ||
| 19 | .contact | 25 | footer .data > div |
| 20 | { | 26 | { |
| 21 | margin: 16px 0; /* alignement avec la <p> autour du logo */ | 27 | margin: 20px 10px; |
| 22 | } | 28 | } |
| 23 | .contact a | 29 | .contact a |
| 24 | { | 30 | { |
| @@ -73,7 +79,7 @@ footer > div | |||
| 73 | margin: 0 3px; | 79 | margin: 0 3px; |
| 74 | }*/ | 80 | }*/ |
| 75 | 81 | ||
| 76 | .footer_logo img | 82 | #footer_logo_img |
| 77 | { | 83 | { |
| 78 | max-width: 288px; | 84 | max-width: 288px; |
| 79 | min-width: 150px; | 85 | min-width: 150px; |
| @@ -85,14 +91,6 @@ footer > div | |||
| 85 | width: 70px; | 91 | width: 70px; |
| 86 | } | 92 | } |
| 87 | } | 93 | } |
| 88 | @media screen and (max-width: 800px) | ||
| 89 | { | ||
| 90 | footer > div | ||
| 91 | { | ||
| 92 | flex-direction: column; | ||
| 93 | align-items: center; | ||
| 94 | } | ||
| 95 | } | ||
| 96 | 94 | ||
| 97 | .breadcrumb a | 95 | .breadcrumb a |
| 98 | { | 96 | { |
diff --git a/public/css/head.css b/public/css/head.css index b173077..4206044 100644 --- a/public/css/head.css +++ b/public/css/head.css | |||
| @@ -17,7 +17,12 @@ header | |||
| 17 | display: none; | 17 | display: none; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | .header-content | 20 | .background_button |
| 21 | { | ||
| 22 | max-height: 24px; | ||
| 23 | } | ||
| 24 | |||
| 25 | .header_content | ||
| 21 | { | 26 | { |
| 22 | padding: 20px 0; | 27 | padding: 20px 0; |
| 23 | display: grid; | 28 | display: grid; |
| @@ -27,12 +32,12 @@ header | |||
| 27 | /*.header_left_col | 32 | /*.header_left_col |
| 28 | {}*/ | 33 | {}*/ |
| 29 | @media screen and (max-width: 1000px){ | 34 | @media screen and (max-width: 1000px){ |
| 30 | .header-content{ | 35 | .header_content{ |
| 31 | padding: 18px 0; | 36 | padding: 18px 0; |
| 32 | } | 37 | } |
| 33 | } | 38 | } |
| 34 | @media screen and (max-width: 450px){ | 39 | @media screen and (max-width: 450px){ |
| 35 | .header-content | 40 | .header_content |
| 36 | { | 41 | { |
| 37 | /*grid-template-columns: 1fr 2fr 1fr;*/ | 42 | /*grid-template-columns: 1fr 2fr 1fr;*/ |
| 38 | display: block; | 43 | display: block; |
| @@ -69,16 +74,16 @@ header img | |||
| 69 | { | 74 | { |
| 70 | vertical-align: bottom; /* supprime espace sous l'image */ | 75 | vertical-align: bottom; /* supprime espace sous l'image */ |
| 71 | max-width: 150px; | 76 | max-width: 150px; |
| 72 | max-height: 75px; | 77 | max-height: 100px; |
| 73 | } | 78 | } |
| 74 | header a | 79 | header a |
| 75 | { | 80 | { |
| 76 | color: unset; /* ne plus hériter */ | 81 | color: unset; /* ne plus hériter */ |
| 77 | text-decoration: none; | 82 | text-decoration: none; |
| 78 | } | 83 | } |
| 79 | #edit_favicon_zone | 84 | .editing_zone > div |
| 80 | { | 85 | { |
| 81 | margin-bottom: 10px; | 86 | /*display: inline;*/ /* à l'ancienne */ |
| 82 | } | 87 | } |
| 83 | /*.header_right_col | 88 | /*.header_right_col |
| 84 | {}*/ | 89 | {}*/ |
