Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
138 lines (136 loc) · 2.71 KB
/
Copy pathstyles.css
File metadata and controls
138 lines (136 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
:root{
--color1:red;
--color2:white;
--colorActive:rgb(144, 21, 21);
--color3:#fff;
--color4:#0001;
--color5:#555;
--color12:blue;
}
body {
font-family: Arial, sans-serif;
background: #faf9f6;
margin: 0;
padding: 0;
}
@keyframes colorChange {
}
header {
background:url('image/fond.PNG');
color: var(--color2);
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 8%;
animation: colorChange 1s linear infinite;
}
.entete-gauche {
font-size: 1.7em;
font-weight: bold;
letter-spacing: 1px;
}
nav a {
color: var(--color2);
text-decoration: none;
font-size: 1.1em;
padding: 8px 14px;
border-radius: 5px;
transition: background 0.2s;
}
nav a.active,
nav a:hover {
background: var(--colorActive);
}
.welcome{
background:url('image/fond.PNG');
color: var(--color2);
}
.wel{
display: flex;
padding-bottom: 3cm;
}
.we{
margin: 3cm 2cm 1px 6cm;
font-size: 1cm;
}
.decouvrir{
text-decoration: none;
background: var(--color1);
padding: 20px;
border-radius: 10px;
color: var(--color2);
}
.nouveautes {
padding: 32px 8% 0 8%;
text-align: center;
}
.btn-nouveaute {
background: var(--color1);
border: none;
color: var(--color2);
padding: 10px 30px;
font-size: 1.1em;
border-radius: 20px;
margin-bottom: 28px;
cursor: pointer;
font-weight: bold;
}
.carte-livre:hover{
box-shadow: 0 0 20px black;
width: 250px;
}
.livres-nouveaux, .liste-livres {
display: flex;
gap: 32px;
justify-content: center;
flex-wrap: wrap;
}
.carte-livre {
background: var(--color3);
border-radius: 10px;
box-shadow: 0 2px 8px var(--color4);
width: 200px;
margin: 20px 0;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
transition: box-shadow 0.2s;
}
.carte-livre img {
width: 100%;
height: 220px;
object-fit: cover;
}
.infos-livre {
padding: 12px;
}
.infos-livre h3 {
margin: 8px 0 6px 0;
font-size: 1.09em;
color: var(--color1);
}
.infos-livre p {
margin: 0;
font-size: 0.97em;
color: var(--color5);
}
.presentation-livres {
padding: 16px 8% 32px 8%;
}
.presentation-livres h2 {
margin-bottom: 12px;
color: var(--color1);
text-align: left;
}
footer {
background: var(--color1);
color: var(--color2);
text-align: center;
padding: 14px 0;
position: relative;
bottom: 0;
width: 100%;
margin-top: 40px;
font-size: 1em;
}