diff options
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/foot.css | 26 | ||||
| -rw-r--r-- | public/css/head.css | 101 | ||||
| -rw-r--r-- | public/css/menu.css | 12 |
3 files changed, 91 insertions, 48 deletions
diff --git a/public/css/foot.css b/public/css/foot.css index 38284e3..ed65666 100644 --- a/public/css/foot.css +++ b/public/css/foot.css | |||
| @@ -79,16 +79,16 @@ footer .data > div | |||
| 79 | margin: 0 3px; | 79 | margin: 0 3px; |
| 80 | }*/ | 80 | }*/ |
| 81 | 81 | ||
| 82 | #footer_logo_img | 82 | #footer_logo_content |
| 83 | { | 83 | { |
| 84 | max-width: 288px; | 84 | max-width: 288px; |
| 85 | min-width: 150px; | 85 | min-width: 150px; |
| 86 | } | 86 | } |
| 87 | @media screen and (max-width: 1000px) | 87 | @media screen and (max-width: 800px) |
| 88 | { | 88 | { |
| 89 | .footer .contact | 89 | footer .contact |
| 90 | { | 90 | { |
| 91 | width: 70px; | 91 | font-size: smaller; |
| 92 | } | 92 | } |
| 93 | } | 93 | } |
| 94 | 94 | ||
| @@ -119,10 +119,6 @@ footer .data > div | |||
| 119 | color: black; | 119 | color: black; |
| 120 | text-decoration: none; | 120 | text-decoration: none; |
| 121 | } | 121 | } |
| 122 | .empty_admin_zone | ||
| 123 | { | ||
| 124 | height: 70px; | ||
| 125 | } | ||
| 126 | .logged_in | 122 | .logged_in |
| 127 | { | 123 | { |
| 128 | /*height: 70px;*/ | 124 | /*height: 70px;*/ |
| @@ -149,6 +145,20 @@ footer .data > div | |||
| 149 | background-color: yellow; | 145 | background-color: yellow; |
| 150 | border-radius: 4px; | 146 | border-radius: 4px; |
| 151 | } | 147 | } |
| 148 | @media screen and (max-width: 550px){ | ||
| 149 | .logged_in, .logged_in button | ||
| 150 | { | ||
| 151 | font-size: 96%; | ||
| 152 | } | ||
| 153 | .admin_buttons_zone | ||
| 154 | { | ||
| 155 | margin: 3px; | ||
| 156 | } | ||
| 157 | } | ||
| 158 | .empty_admin_zone | ||
| 159 | { | ||
| 160 | height: 93px; /* 40 => 1 ligne, 70/64 => 2 lignes, 93/83 => 3 lignes */ | ||
| 161 | } | ||
| 152 | .modif_mode | 162 | .modif_mode |
| 153 | { | 163 | { |
| 154 | background-color: #ffae1a; /* orange clair soupe de poisson */ | 164 | background-color: #ffae1a; /* orange clair soupe de poisson */ |
diff --git a/public/css/head.css b/public/css/head.css index 4206044..3d9d6ca 100644 --- a/public/css/head.css +++ b/public/css/head.css | |||
| @@ -4,6 +4,7 @@ header | |||
| 4 | /*padding-top: 5px;*/ | 4 | /*padding-top: 5px;*/ |
| 5 | /*padding-bottom: 10px;*/ | 5 | /*padding-bottom: 10px;*/ |
| 6 | background-size: cover; /* largeur du bloc_page */ | 6 | background-size: cover; /* largeur du bloc_page */ |
| 7 | background-position: center; | ||
| 7 | } | 8 | } |
| 8 | #nav_zone | 9 | #nav_zone |
| 9 | { | 10 | { |
| @@ -21,38 +22,30 @@ header | |||
| 21 | { | 22 | { |
| 22 | max-height: 24px; | 23 | max-height: 24px; |
| 23 | } | 24 | } |
| 24 | 25 | .header_additional_inputs | |
| 26 | { | ||
| 27 | display: flex; | ||
| 28 | flex-wrap: wrap; | ||
| 29 | justify-content: space-evenly; | ||
| 30 | align-items: center; | ||
| 31 | margin-top: 10px; | ||
| 32 | } | ||
| 25 | .header_content | 33 | .header_content |
| 26 | { | 34 | { |
| 27 | padding: 20px 0; | 35 | margin-top: 10px; |
| 36 | padding-bottom: 20px; | ||
| 28 | display: grid; | 37 | display: grid; |
| 29 | grid-template-columns: 1fr 1fr 1fr; | 38 | grid-template-columns: 1fr 1fr 1fr; |
| 30 | align-items: end; | 39 | align-items: end; |
| 31 | } | 40 | } |
| 32 | /*.header_left_col | 41 | /*.header_left_col |
| 33 | {}*/ | 42 | {}*/ |
| 34 | @media screen and (max-width: 1000px){ | ||
| 35 | .header_content{ | ||
| 36 | padding: 18px 0; | ||
| 37 | } | ||
| 38 | } | ||
| 39 | @media screen and (max-width: 450px){ | ||
| 40 | .header_content | ||
| 41 | { | ||
| 42 | /*grid-template-columns: 1fr 2fr 1fr;*/ | ||
| 43 | display: block; | ||
| 44 | padding: 18px; | ||
| 45 | } | ||
| 46 | #header_logo | ||
| 47 | { | ||
| 48 | display: none; | ||
| 49 | } | ||
| 50 | } | ||
| 51 | 43 | ||
| 52 | .site_title | 44 | .header_center_col |
| 53 | { | 45 | { |
| 54 | background-color: #ffffff7f; | 46 | background-color: #ffffff7f; |
| 55 | border-radius: 10px; | 47 | border-radius: 10px; |
| 48 | padding: 1px; /* pour que les marges de h1 et h2 ne mordent pas le bloc parent */ | ||
| 56 | } | 49 | } |
| 57 | header h1 | 50 | header h1 |
| 58 | { | 51 | { |
| @@ -73,7 +66,7 @@ header h2 | |||
| 73 | header img | 66 | header img |
| 74 | { | 67 | { |
| 75 | vertical-align: bottom; /* supprime espace sous l'image */ | 68 | vertical-align: bottom; /* supprime espace sous l'image */ |
| 76 | max-width: 150px; | 69 | max-width: 180px; |
| 77 | max-height: 100px; | 70 | max-height: 100px; |
| 78 | } | 71 | } |
| 79 | header a | 72 | header a |
| @@ -81,25 +74,69 @@ header a | |||
| 81 | color: unset; /* ne plus hériter */ | 74 | color: unset; /* ne plus hériter */ |
| 82 | text-decoration: none; | 75 | text-decoration: none; |
| 83 | } | 76 | } |
| 84 | .editing_zone > div | ||
| 85 | { | ||
| 86 | /*display: inline;*/ /* à l'ancienne */ | ||
| 87 | } | ||
| 88 | /*.header_right_col | 77 | /*.header_right_col |
| 89 | {}*/ | 78 | {}*/ |
| 90 | .social | 79 | #header_social |
| 80 | { | ||
| 81 | display: flex; | ||
| 82 | justify-content: center; | ||
| 83 | } | ||
| 84 | #header_social_content | ||
| 85 | { | ||
| 86 | display: flex; | ||
| 87 | gap: 4px; | ||
| 88 | flex-wrap: wrap; | ||
| 89 | } | ||
| 90 | #header_social_content img | ||
| 91 | { | 91 | { |
| 92 | /*align-self: end;*/ | 92 | width: 28px; |
| 93 | /*padding: 4px;*/ | 93 | |
| 94 | } | 94 | } |
| 95 | .social a img | 95 | #header_social_content a img |
| 96 | { | 96 | { |
| 97 | width: 25px; | 97 | width: 28px; |
| 98 | background-color: #ffffffb3; | 98 | background-color: #ffffffb3; |
| 99 | border-radius: 50%; | 99 | border-radius: 50%; |
| 100 | } | 100 | } |
| 101 | 101 | #header_social_content .action_icon | |
| 102 | .social img:hover | 102 | { |
| 103 | width: 24px; | ||
| 104 | } | ||
| 105 | #header_social_content img:hover | ||
| 103 | { | 106 | { |
| 104 | background-color: yellow; | 107 | background-color: yellow; |
| 105 | } | 108 | } |
| 109 | #header_social_input | ||
| 110 | { | ||
| 111 | background-color: #ffffff7f; | ||
| 112 | border-radius: 10px; | ||
| 113 | padding: 5px; | ||
| 114 | } | ||
| 115 | |||
| 116 | @media screen and (max-width: 1000px){ | ||
| 117 | .header_content | ||
| 118 | { | ||
| 119 | padding: 15px 0; | ||
| 120 | } | ||
| 121 | header img | ||
| 122 | { | ||
| 123 | max-width: 160px; | ||
| 124 | } | ||
| 125 | } | ||
| 126 | @media screen and (max-width: 800px){ | ||
| 127 | .header_content | ||
| 128 | { | ||
| 129 | grid-template-columns: 2fr 1fr; /* on vire la colonne de gauche et on permet au deux autres de "se pousser" si besoin */ | ||
| 130 | padding: 10px; | ||
| 131 | } | ||
| 132 | .header_left_col | ||
| 133 | { | ||
| 134 | display: none; | ||
| 135 | } | ||
| 136 | } | ||
| 137 | @media screen and (max-width: 600px){ | ||
| 138 | .header_content | ||
| 139 | { | ||
| 140 | display: block; | ||
| 141 | } | ||
| 142 | } \ No newline at end of file | ||
diff --git a/public/css/menu.css b/public/css/menu.css index ac77d50..0dfb840 100644 --- a/public/css/menu.css +++ b/public/css/menu.css | |||
| @@ -58,7 +58,7 @@ | |||
| 58 | 58 | ||
| 59 | .menu button | 59 | .menu button |
| 60 | { | 60 | { |
| 61 | margin: 5px; | 61 | margin: 4px 0; |
| 62 | } | 62 | } |
| 63 | .menu_entry_checkbox | 63 | .menu_entry_checkbox |
| 64 | { | 64 | { |
| @@ -109,15 +109,11 @@ | |||
| 109 | flex-wrap: wrap; | 109 | flex-wrap: wrap; |
| 110 | align-items: center; | 110 | align-items: center; |
| 111 | } | 111 | } |
| 112 | .menu .url | 112 | .menu .url_content input |
| 113 | { | ||
| 114 | text-wrap: nowrap; | ||
| 115 | } | ||
| 116 | .menu .url input[type=url] | ||
| 117 | { | 113 | { |
| 118 | width: 50%; | 114 | width: 50%; |
| 119 | } | 115 | } |
| 120 | 116 | ||
| 121 | @media screen and (min-width: 80rem) { | 117 | /*@media screen and (min-width: 80rem) { |
| 122 | i{} | 118 | i{} |
| 123 | } \ No newline at end of file | 119 | }*/ \ No newline at end of file |
