-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
73 lines (68 loc) · 1.5 KB
/
main.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
/*remove default browser margin settings*/
body{
background-color: rgb(35, 44, 35);
margin: 0;
}
/*Container for the whole calculator layout*/
#container{
background-color: rgb(106, 160, 160);
height: 450px;
width: 300px;
box-shadow: 2px 2px 8px rgb(36, 23, 23),
-2px -2px 8px rgb(36, 23, 23);
border-radius: 24px;
position: relative;
top: 10px;
/* left: 40%;*/
}
/*The screen which will show the inputs the user as given as well as the
*of the calculation */
.screen{
background-color: #FFFF99;
width: 270px;
height: 60px;
border-radius: 8px;
position: relative;
top: 26PX;
/*left: 15px;*/
}
.screen input{
position: relative;
height: 56px;
width: 266px;
color: black;
background-color: #e5dfa0;
font-size: 25px;
text-align: right;
border-radius: 8px;
border: solid rgb(133, 133, 133) 2px;
}
.btns{
position: relative;
top: 30px;
/*left: 3px;*/
}
.button{
width: 44px;
height: 30px;
border: none;
border-radius: 7px;
margin-left: 10px;
cursor: pointer;
}
.button.black{
color: #fff;
background-color: black;
border-bottom: 2px solid #647489;
border-top: 2px solid black;
}
.button.silver{
color: #fff;
background-color: #515c6b;
border-bottom: 2px solid black;
}
.button.red{
color: #FFF;
background-color: rgb(236, 34, 8);
border-bottom: 2px solid black;
}