-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
92 lines (79 loc) · 1.42 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
body{
background-color: rgb(230, 225, 225);
}
#container{
background-image: url("https://images.unsplash.com/photo-1518665750801-883c188a660d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=967&q=80");
background-repeat: no-repeat;
height: 600px;
width: 1000px;
margin: 100px auto;
}
#calculator{
background-color: black;
width: 280px;
height: 500px;
margin: 0 auto;
position: relative;
top: 50px;
border-radius: 30px;
}
#result{
height: 130px;
}
#keyboard{
height: 250px;
}
#history{
text-align: right;
color: white;
margin: 0 20px;
padding-top: 20px;
font-size: 15px;
}
#output{
text-align: right;
color: white;
margin: 0 20px;
padding-top: 20px;
font-size: 40px;
}
#output-value{
margin: 0;
}
#keyboard{
height: 400px;
}
button{
height: 50px;
width: 50px;
margin: 10px;
border-radius: 50%;
border-width: 0;
font-weight: bold;
font-size: 15px;
cursor: pointer;
float: left;
}
button:focus{
outline: 0;
}
button:active{
font-size: 13px;
}
button:nth-of-type(4n){
background-color: rgb(255, 151, 15);
}
button:nth-of-type(-n + 3){
background-color: rgb(150, 148, 148);
}
button:last-child{
background-color: rgb(255, 151, 15);
}
.numberZero{
width: 120px;
border-radius: 30px;
}
.number,.point{
color: white;
background-color: rgb(65, 65, 65);
}