-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (77 loc) · 1.71 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
max-width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #3498db, #2ecc71);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.calculatrice {
background-color: #333;
padding: 20px;
border-radius: 20px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
width: 320px;
height: 500px;
justify-content: space-between;
}
.ecran {
width: 100%;
height: 80px;
background-color: #1c1c1c;
color: #ffffff;
border-radius: 15px;
margin-bottom: 20px;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 15px;
font-size: 36px;
overflow-x: auto;
white-space: nowrap;
box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.5);
}
.touches {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
.button {
background-color: #444;
border: none;
border-radius: 10px;
font-size: 24px;
color: #ffffff;
cursor: pointer;
padding: 15px;
transition: background-color 0.2s ease;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}
.button:hover {
background-color: #555;
}
.button:active {
background-color: #666;
box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
}
.button:focus {
outline: none;
}
.button.c {
background-color: #e67e22;
color: #ffffff;
}
.button.c:hover {
background-color: #d35400;
}
.button.c:active {
background-color: #e74c3c;
}