-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (62 loc) · 1.23 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
max-width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: serif;
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}
.calcul{
background-color: #212123;
display: flex;
flex-direction: column;
padding: 15px;
border-radius: 5px;
box-shadow: 0 5px #212123;
}
.ecran{
width: 100%;
height: 100px;
background-color: #e4e3e1;
margin-bottom: 10px;
margin-top: 7px;
border-radius: 5px;
display: flex;
justify-content: flex-end;
align-items: flex-end;
padding: 5px;
font-size: 25px;
}
.buttons{
display: grid;
grid-template-columns: repeat(4 , 50px);
grid-template-rows: repeat(5, 50px);
grid-gap: 7px;
}
.btn{
border: none;
outline: none;
border-radius: 5px;
background-color: #e4e3e1 ;
box-shadow: 0 3px #5e5b60 ;
font-size: 18px;
}
.btn:active{
box-shadow: 0 1px #e4e3e1;
transform: rotateY(2px);
}
.btn[data-key="8"]{
background-color: #bc4558;
font-weight: bold;
color: #d7d2cc ;
}
.btn[data-key="13"]{
grid-column: span 2;
background-color: #aec086;
}