forked from Marilane20/modification_en_fonction-heure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (110 loc) · 2.04 KB
/
style.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
123
124
125
126
127
128
129
130
131
* {
font-family: Arial, sans-serif;
box-sizing: border-box;
}
body {
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
}
.calculatrice {
background-color: #fff;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
border: 2px solid lightgray;
}
.my-text {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
.my-subtext {
font-size: 16px;
color: #666;
margin: 20px 0 0 0;
}
.my-form {
font-size: 18px;
margin-top: 15px;
}
.input-group {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.input-block-text {
width: 60px;
height: 40px;
font-size: 18px;
border: 1px solid lightgray;
border-radius: 5px;
padding: 5px;
margin-right: 10px;
}
.my-button {
background-color: #4c8baf;
color: white;
border: none;
border-radius: 5px;
margin-top: 10px;
padding: 10px 20px;
font-size: 18px;
cursor: pointer;
}
.my-button:hover {
background-color: #45a049;
}
.animation {
background-color: rgb(255, 255, 255);
border-radius: 10px;
padding: 3px;
border: 2px solid lightgray;
height: 150px;
overflow: hidden;
}
.my-anim-1 {
position: relative;
width: 100%;
animation: moveAnimation 5s linear infinite;
}
@keyframes moveAnimation {
0% { left: -100%; }
100% { left: 100%; }
}
.icon-anim-1 {
width: 12%;
height: 60;
}
.icon-anim-2 {
width: 12%;
height: 60;
transform: scaleX(-1);
}
.my-anim-2 {
position: relative;
width: 100%;
}
.rain {
background-color: transparent;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 100;
pointer-events: none;
}
.icon-anim-rain {
width: 50px; /* Ajuste la taille de l'image de pluie selon tes besoins */
height: 50px;
position: absolute;
animation: moveRainAnimation 2s linear infinite;
}
@keyframes moveRainAnimation {
0% { transform: translateY(-100%); }
100% { transform: translateY(100%); }
}