-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (73 loc) · 1.58 KB
/
style.css
File metadata and controls
89 lines (73 loc) · 1.58 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
html, body{
padding: 0;
margin: 0;
}
html{
height: 100%;
}
body{
display: flex;
min-height: 90vh;
justify-content: center;
align-items: center;
background-color: #373737;
}
#cal-container {
display:grid;
width:fit-content;
grid-template-columns: 50px 50px 50px 50px;
grid-template-rows: 50px 50px 50px 50px 50px 50px;
grid-template-areas:
"display display display display"
"clear divide multipy subtract"
"7 8 9 add"
"4 5 6 add"
"1 2 3 equals"
"zero zero dot equals";
gap: 5px 6px;
background: rgb(2,0,36);
background: linear-gradient(45deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 30%, rgba(0,212,255,1) 100%);
padding:10px;
border: 1px solid #BFBFBF;
box-shadow: 1px 1px 5px #aaaaaa;
}
#cal-display-value {
grid-area: display;
font-size: 24px;
text-align:right;
}
.cal-btn {
border-radius: 25px;
background-color:#787276;
font-size: 18px;
}
.silver {
background: rgb(120,114,118);
background: linear-gradient(90deg, rgba(120,114,118,1) 0%, rgba(191,191,191,1) 50%, rgba(170,170,170,1) 100%);
/* background-color: #9dc5c3;
background-image: linear-gradient(315deg, #9dc5c3 0%, #5e5c5c 74%); */
}
.operation {
background-color: #99201c;
background-image: linear-gradient(316deg, #99201c 0%, #f56545 74%);
}
.add {
grid-area: add;
}
.equals {
grid-area: equals;
background:linear-gradient(45deg, #074C00, #42A341);
}
.zero {
grid-area: zero;
}
.dot {
grid-area: dot;
}
.clear {
background-color: #861657;
background-image: linear-gradient(326deg, #861657 0%, #ffa69e 74%);
}
input {
pointer-events:none
}