diff options
| author | polo <ordipolo@gmx.fr> | 2025-11-01 17:54:22 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-11-01 17:54:22 +0100 |
| commit | 46d3c239a7ad2b00e86373f2fd0e829fdcba57f7 (patch) | |
| tree | 054d8e5d3c43bcfc587bb5308e6d2a444eec54bf /public/css | |
| parent | f33135c5d36d0e747d07773919ae0bc84cbceac1 (diff) | |
| download | cms-46d3c239a7ad2b00e86373f2fd0e829fdcba57f7.tar.gz cms-46d3c239a7ad2b00e86373f2fd0e829fdcba57f7.tar.bz2 cms-46d3c239a7ad2b00e86373f2fd0e829fdcba57f7.zip | |
utilisation des icônes SVG du dépôt twbs/bootstrap-icons pour les réseaux sociaux, amélioration du CSS
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/body.css | 2 | ||||
| -rw-r--r-- | public/css/head.css | 30 | ||||
| -rw-r--r-- | public/css/menu.css | 6 | ||||
| -rw-r--r-- | public/css/new_page.css | 7 |
4 files changed, 32 insertions, 13 deletions
diff --git a/public/css/body.css b/public/css/body.css index 57afe92..1f6ef7e 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
| @@ -47,7 +47,7 @@ main | |||
| 47 | } | 47 | } |
| 48 | .hidden | 48 | .hidden |
| 49 | { | 49 | { |
| 50 | display: none; | 50 | display: none; /* attention, conflit si la même balise a déjà une règle display */ |
| 51 | } | 51 | } |
| 52 | section | 52 | section |
| 53 | { | 53 | { |
diff --git a/public/css/head.css b/public/css/head.css index 1844f93..1b805fe 100644 --- a/public/css/head.css +++ b/public/css/head.css | |||
| @@ -86,12 +86,34 @@ header a | |||
| 86 | display: flex; | 86 | display: flex; |
| 87 | gap: 4px; | 87 | gap: 4px; |
| 88 | flex-wrap: wrap; | 88 | flex-wrap: wrap; |
| 89 | margin: 4px; | ||
| 89 | } | 90 | } |
| 90 | #header_social_content a img | 91 | #header_social_content > div{ |
| 92 | margin: auto; | ||
| 93 | background-color: #ffffff7f; | ||
| 94 | } | ||
| 95 | #header_social_content a:hover | ||
| 96 | { | ||
| 97 | background-color: yellow; | ||
| 98 | } | ||
| 99 | #header_social_content > div, #header_social_content a:hover | ||
| 100 | { | ||
| 101 | border-radius: 10px; | ||
| 102 | } | ||
| 103 | #header_social_content a | ||
| 104 | { | ||
| 105 | padding: 2px; | ||
| 106 | display: inline-flex; /* flex pour que la taille de élément dépende de ses enfants, inline pour que <a> este inline */ | ||
| 107 | vertical-align: bottom; | ||
| 108 | } | ||
| 109 | #header_social_content a svg | ||
| 110 | { | ||
| 111 | width: 24px; | ||
| 112 | height: 24px; | ||
| 113 | } | ||
| 114 | .svg_fill_red | ||
| 91 | { | 115 | { |
| 92 | width: 28px; | 116 | fill: #dd3333; |
| 93 | background-color: #ffffffb3; | ||
| 94 | border-radius: 50%; | ||
| 95 | } | 117 | } |
| 96 | #header_social_content .action_icon | 118 | #header_social_content .action_icon |
| 97 | { | 119 | { |
diff --git a/public/css/menu.css b/public/css/menu.css index 0dfb840..aa8fde3 100644 --- a/public/css/menu.css +++ b/public/css/menu.css | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | /*-- page "Menu et chemins" uniquement --*/ | 1 | /*-- page "Menu et chemins" uniquement --*/ |
| 2 | 2 | ||
| 3 | .menu | 3 | /*.menu |
| 4 | { | 4 | {}*/ |
| 5 | padding: 0 20px; | ||
| 6 | } | ||
| 7 | .menu_edit_entry | 5 | .menu_edit_entry |
| 8 | { | 6 | { |
| 9 | margin-left: 29px; | 7 | margin-left: 29px; |
diff --git a/public/css/new_page.css b/public/css/new_page.css index 6d6fe43..80c7e1d 100644 --- a/public/css/new_page.css +++ b/public/css/new_page.css | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | /*-- page "Nouvelle page" uniquement --*/ | 1 | /*-- page "Nouvelle page" uniquement --*/ |
| 2 | .new_page | 2 | |
| 3 | { | 3 | /*.new_page |
| 4 | padding: 0 15px; | 4 | {}*/ |
| 5 | } | ||
| 6 | .new_page .form_zone | 5 | .new_page .form_zone |
| 7 | { | 6 | { |
| 8 | background-color: white; | 7 | background-color: white; |
