-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
60 lines (51 loc) · 998 Bytes
/
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
* {
font-family: 'Open Sans', sans-serif;
}
body {
background-color: #d1d4d6;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0 10px;
}
.calculator {
width: 100%;
max-width: 300px;
padding: 30px;
border-radius: 5px;
background-color: white;
box-shadow: 5px 5px 10px grey;
}
#output input {
background-color: #9c9a9ade;
display: block;
width: 100%;
height: 78px;
color: white;
font-size: 40px;
text-align: right;
border: 0;
}
.calculator .buttons {
margin-top: 25px;
display: grid;
grid-template-columns: repeat(4,1fr);
grid-gap: 20px;
}
.calculator .buttons button {
font-size: 20px;
background-color: #efefef;
border: 1px solid #d4d2d2;
cursor: pointer;
height: 50px;
}
.calculator .buttons button:active{
background-color: #aaa9a9;
}
.calculator .buttons button:focus{
outline: 0;
}
.span-tow {
grid-column: span 2;
}