-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathmain.css
More file actions
118 lines (98 loc) · 1.93 KB
/
main.css
File metadata and controls
118 lines (98 loc) · 1.93 KB
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
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%;
padding: 0;
margin: 0;
overflow-x: hidden;
}
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: 550px;
width: 420px;
box-shadow: 8px 10px 4px grey;
background: black;
border-radius: 10px;
}
.output {
position: relative;
top: 20px;
text-align: center;
}
input {
text-align: end;
padding: 8px;
font-size: 25px;
}
#display {
outline: none;
width: 380px;
height: 60px;
background: #f1f1f1;
border-radius: 10px;
border-color: none;
border: none;
}
.keyboard {
width: 400px;
position: relative;
top: 40px;
margin: 10px;
text-align: center;
}
button {
font-family: sans-serif;
font-weight: bolder;
font-size: 25px;
color:"black";
background: white;
border: none;
margin:12px;
padding-top: 2px;
padding-bottom:2px;
outline: none;
border-radius: 20%;
width: 60px;
height: 50px;
box-shadow: 2px 4px 2px grey;
}
button:hover {
box-shadow: 2px 4px 2px white;
}
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(16) {
background: pink;
font-size: 25px;
}
button:nth-child(20) {
background: yellow;
}