diff options
author | polo-pc-greta <ordipolo@gmx.fr> | 2025-03-27 10:13:03 +0100 |
---|---|---|
committer | polo-pc-greta <ordipolo@gmx.fr> | 2025-03-27 10:13:03 +0100 |
commit | df3612ed7e6691530503f79483d2fdbc032d01b8 (patch) | |
tree | 56d1c68fdc8625f5dad1937a654299d45142c79a /public/css/head.css | |
download | cms-df3612ed7e6691530503f79483d2fdbc032d01b8.zip |
mise en ligne github
Diffstat (limited to 'public/css/head.css')
-rw-r--r-- | public/css/head.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/public/css/head.css b/public/css/head.css new file mode 100644 index 0000000..b8d4c93 --- /dev/null +++ b/public/css/head.css | |||
@@ -0,0 +1,59 @@ | |||
1 | header | ||
2 | { | ||
3 | text-align: center; | ||
4 | /*padding-top: 5px;*/ | ||
5 | /*padding-bottom: 10px;*/ | ||
6 | background-image: url('../assets/fond-piscine.jpg'); | ||
7 | background-size: cover; /* largeur du bloc_page */ | ||
8 | } | ||
9 | header > div | ||
10 | { | ||
11 | /*margin: auto;*/ | ||
12 | /*max-width: 1200px;*/ | ||
13 | display: flex; | ||
14 | /*align-items: center;*/ /* conflit possible avec .social align-self */ | ||
15 | justify-content: space-around; | ||
16 | } | ||
17 | .header-content | ||
18 | { | ||
19 | padding: 20px 0; | ||
20 | } | ||
21 | .site_title | ||
22 | { | ||
23 | background-color: #ffffff7f; | ||
24 | border-radius: 10px; | ||
25 | } | ||
26 | header h1 | ||
27 | { | ||
28 | font-size: x-large; | ||
29 | margin: 10px; | ||
30 | } | ||
31 | header h2 | ||
32 | { | ||
33 | font-size: medium; /* défaut = x-large */ | ||
34 | margin: 10px; | ||
35 | } | ||
36 | header img | ||
37 | { | ||
38 | vertical-align: bottom; /* supprime espace sous l'image */ | ||
39 | } | ||
40 | header a | ||
41 | { | ||
42 | color: unset; /* ne plus hériter */ | ||
43 | text-decoration: none; | ||
44 | } | ||
45 | .social | ||
46 | { | ||
47 | align-self: end; | ||
48 | } | ||
49 | .social img | ||
50 | { | ||
51 | width: 25px; | ||
52 | background-color: #ffffffb3; | ||
53 | border-radius: 10px; | ||
54 | } | ||
55 | |||
56 | .social img:hover | ||
57 | { | ||
58 | background-color: #ffff00; | ||
59 | } | ||