diff options
Diffstat (limited to 'public/css/head.css')
| -rw-r--r-- | public/css/head.css | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/public/css/head.css b/public/css/head.css index c178d3a..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 | { |
| @@ -44,6 +45,7 @@ header | |||
| 44 | { | 45 | { |
| 45 | background-color: #ffffff7f; | 46 | background-color: #ffffff7f; |
| 46 | border-radius: 10px; | 47 | border-radius: 10px; |
| 48 | padding: 1px; /* pour que les marges de h1 et h2 ne mordent pas le bloc parent */ | ||
| 47 | } | 49 | } |
| 48 | header h1 | 50 | header h1 |
| 49 | { | 51 | { |
| @@ -79,13 +81,27 @@ header a | |||
| 79 | display: flex; | 81 | display: flex; |
| 80 | justify-content: center; | 82 | justify-content: center; |
| 81 | } | 83 | } |
| 84 | #header_social_content | ||
| 85 | { | ||
| 86 | display: flex; | ||
| 87 | gap: 4px; | ||
| 88 | flex-wrap: wrap; | ||
| 89 | } | ||
| 82 | #header_social_content img | 90 | #header_social_content img |
| 83 | { | 91 | { |
| 84 | width: 28px; | 92 | width: 28px; |
| 93 | |||
| 94 | } | ||
| 95 | #header_social_content a img | ||
| 96 | { | ||
| 97 | width: 28px; | ||
| 85 | background-color: #ffffffb3; | 98 | background-color: #ffffffb3; |
| 86 | border-radius: 50%; | 99 | border-radius: 50%; |
| 87 | } | 100 | } |
| 88 | 101 | #header_social_content .action_icon | |
| 102 | { | ||
| 103 | width: 24px; | ||
| 104 | } | ||
| 89 | #header_social_content img:hover | 105 | #header_social_content img:hover |
| 90 | { | 106 | { |
| 91 | background-color: yellow; | 107 | background-color: yellow; |
| @@ -98,7 +114,8 @@ header a | |||
| 98 | } | 114 | } |
| 99 | 115 | ||
| 100 | @media screen and (max-width: 1000px){ | 116 | @media screen and (max-width: 1000px){ |
| 101 | .header_content{ | 117 | .header_content |
| 118 | { | ||
| 102 | padding: 15px 0; | 119 | padding: 15px 0; |
| 103 | } | 120 | } |
| 104 | header img | 121 | header img |
| @@ -106,14 +123,20 @@ header a | |||
| 106 | max-width: 160px; | 123 | max-width: 160px; |
| 107 | } | 124 | } |
| 108 | } | 125 | } |
| 109 | @media screen and (max-width: 500px){ | 126 | @media screen and (max-width: 800px){ |
| 110 | .header_content | 127 | .header_content |
| 111 | { | 128 | { |
| 112 | display: block; | 129 | grid-template-columns: 2fr 1fr; /* on vire la colonne de gauche et on permet au deux autres de "se pousser" si besoin */ |
| 113 | padding: 10px; | 130 | padding: 10px; |
| 114 | } | 131 | } |
| 115 | #header_logo | 132 | .header_left_col |
| 116 | { | 133 | { |
| 117 | display: none; | 134 | display: none; |
| 118 | } | 135 | } |
| 136 | } | ||
| 137 | @media screen and (max-width: 600px){ | ||
| 138 | .header_content | ||
| 139 | { | ||
| 140 | display: block; | ||
| 141 | } | ||
| 119 | } \ No newline at end of file | 142 | } \ No newline at end of file |
