-
Notifications
You must be signed in to change notification settings - Fork 0
/
loisirs.css
122 lines (100 loc) · 1.79 KB
/
loisirs.css
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
@keyframes rotation {
from { transform: rotateX(0deg);}
to{transform: rotateX(360deg);}
}
@keyframes bounce{
0%{
opacity: 0;
transform: scale(0.3) translate3d(0,0,0);
}
50%{
opacity: 0.9;
transform: scale(1.1);
}
80%{
opacity: 1;
transform: scale(0.89);
}
100%{
opacity: 1;
transform: scale(1) translate3d(0,0,0);
}
}
body {
background: url(back_loisirs.jpg) no-repeat;
background-size: cover;
background-attachment: fixed;
}
header {
background-image: url(banniere_loisirs.jpg);
height: 400px;
background-repeat: no-repeat;
background-position: center;
width: 800px;
margin: auto;
border-radius: 20px;
}
* {
text-align: center;
}
h1 {
font-family: 'Gochi Hand', cursive;
font-size: 50px;
color: #5EB6DD;
}
.contenue_loisirs p {
font-family: 'Graduate', cursive;
color: #E1E6FA;
font-size: 25px;
font-weight: bold;
}
button {
background-color: blue;
border-radius: 10px;
height: 45px;
font-size: 25px;
font-weight: bold;
margin-right: 20px;
color: white;
}
button:hover {
background-color: black;
color: white;
}
li {
float: left;
}
.liste {
list-style: none;
font-size: 25px;
}
footer {
width: 80%;
margin-left: auto;
margin-right: auto;
animation-name: bounce;
animation-duration: 450ms;
animation-timing-function: linear;
animation-fill-mode: forwards;
padding-bottom: 70px;
}
.stats img {
width: 80px;
height: 80px;
margin-left: 20px;
animation-name: bounce;
animation-duration: 450ms;
animation-timing-function: linear;
animation-fill-mode: forwards;
}
.stats h2 {
font-family: 'Gochi Hand', cursive;
font-size: 50px;
color: #5EB6DD;
}
button:hover {transform:scale(1.2);}
button:focus {
animation-name: rotation;
animation-duration: 0.8s;
animation-iteration-count: infinite;
}