forked from Code-Recursion/UI-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
119 lines (99 loc) · 1.94 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
html, body {
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
height: 100%;
width:100%;
}
body {
font-family: monospace;
background-image: linear-gradient(to left, lightpink, lightblue);
}
h1 {
padding: 25px;
margin: 20px;
text-align: center;
}
.container {
justify-content: center;
align-items: center;
margin: auto;
height: 410px;
width: 360px;
box-shadow: 6px 8px 2px grey;
background: white;
border-radius: 10px;
}
.output {
position: relative;
top: 20px;
text-align: center;
}
input {
text-align: end;
padding: 8px;
font-size: 25px;
}
#display {
outline: none;
width: 280px;
height: 40px;
background: #f1f1f1;
border-radius: 10px;
border-color: none;
border: none;
}
.keyboard {
width: 330px;
position: relative;
top: 40px;
margin: 10px;
text-align: center;
}
button {
font-family: sans-serif;
font-weight: bolder;
font-size: 22px;
color"black";
background: white;
border: none;
margin: 6px;
padding: 12px;
outline: none;
border-radius: 50%;
width: 49px;
height: 45px;
}
button:nth-child(1) {
background: lightgrey;
}
button:nth-child(2) {
font-weight: 550;
background: lightgrey;
}
button:nth-child(3) {
background: lightgrey;
}
button:nth-child(4) {
background: lightgreen;
}
button:nth-child(8) {
background: aqua;
}
button:nth-child(12) {
padding: 0px;
font-size: 30px;
font-family: monospace;
background: orange;
}
button:nth-child(16) {
background: pink;
font-size: 25px;
}
button:nth-child(20) {
background: yellow;
}
button:hover {
background: rgba(230, 108, 230, 0.616);
}