-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (111 loc) · 1.79 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
* {
margin: 0;
/*border: 1px solid red;*/
box-sizing: border-box;
}
html {
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
background-color: #c6c6c6;
}
#calc-background {
height: 450px;
width: 300px;
border-radius: 15px;
background-color: black;
display: flex;
flex-wrap: wrap;
}
#calc-screen {
position: relative;
margin: 0 auto;
margin-top: 15px;
height: 70px;
width: 270px;
border-radius: 15px;
background-color: #2b3025;
}
#display {
color: white;
font-family: arial;
position: absolute;
top: 35px;
right: 10px;
font-size: 30px;
z-index: 1;
}
#calc-buttons {
position: relative;
height: 340px;
width: 270px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
.lg-buttons {
height: 60px;
width: 130px;
border-radius: 50px;
display: flex;
}
.lg-button-vert {
height: 130px;
width: 60px;
border-radius: 50px;
display: flex;
}
.sm-buttons {
height: 60px;
width: 60px;
border-radius: 50%;
display: flex;
}
.grey-buttons {
background-color: #c6c6c6;
}
.orange-buttons {
background-color: #ed9700;
}
.margin-left {
margin-left: 10px;
}
.margin-top {
margin-top: 10px;
}
#zero {
position: absolute;
top: 280px;
}
#decimal {
position: absolute;
top: 280px;
left: 130px;
}
.btn.lg-buttons p{
font-family: arial;
font-weight: bold;
font-size: 25px;
margin: auto;
}
.btn.sm-buttons p{
font-family: arial;
font-weight: bold;
font-size: 25px;
margin: auto;
}
.btn.lg-button-vert p{
font-family: arial;
font-weight: bold;
font-size: 25px;
margin: auto;
}
p {
user-select: none;
}
.btn:hover {
border: 3px solid white;
color: white;
}