-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (72 loc) · 1.05 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
* {
font-family: Roboto, sans-serif;
}
body {
background-color: #e4e4e4;
}
.calculator {
width: 300px;
height: auto;
margin: 70px auto;
background-color: whitesmoke;
border-radius: 25px;
box-shadow: 5px 5px 30px #d5d5d5;
}
.screen {
height: 150px;
display: flex;
flex-direction: row-reverse;
align-items: flex-end;
}
p {
font-size: 54px;
margin: 0px 15px 5px 0px;
}
.keyboard {
display: flex;
flex-direction: column;
}
.row {
display: flex;
}
input {
flex-grow: 1;
width: 75px;
height: 70px;
border-style: none;
font-size: 16px;
}
input[value="AC"] {
border-top-left-radius: 25px;
}
input[value="÷"] {
border-top-right-radius: 25px;
}
input[value="0"] {
border-bottom-left-radius: 25px;
}
input[value="="] {
border-bottom-right-radius: 25px;
}
.operators,
.equal {
font-size: 20px;
color: #f25f5c;
}
.topRow {
color: #52b788;
}
#zero {
width: 150px;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
font-size: 14px;
padding-bottom: 5px;
}
a {
color: black;
}