-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
119 lines (109 loc) · 1.76 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background:black;
justify-content: center;
align-items: center;
}
.topdisplay{display: flex;
display: flex;
flex-wrap: wrap;
}
.DRG{
flex:max-content;
height: 100%;
font-size:3vmin;
color:lightgreen;
}
form input{
width:90vw;
height: 100%;
border: none;
border-radius: 12px;
font-size:4vmin;
color: #fff;
background: #000;
text-align: right;
/*pointer-events: none;*/
padding: 0.6rem;
}
.keyboard{
min-height: 10vh;
background: white;
display: flex;
justify-content: center;
/*align-items: center;*/
}
.calculator{
width: 100vmax;
height: 90vh;
box-shadow: 4px 4px 30px rgba(0,0,0,2);
border-radius: 12px;
background: #434743;
overflow: hidden;
}
small:not(.btn-2nd,.btn-2nd-active){
font-size: 2.5vh;
color:yellow;
pointer-events:none;
}
.button{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 3px;
}
button{
flex: 0 0 18%;
margin: 2px 0;
border: 1px solid #000;
width: 10vw;
height: 8vh;
font-size: 2.5vh;
font-weight: 600;
border-radius: 5px;
cursor: pointer;
}
.btn-unit{
background:blue;
color: #fff
}
.btn-unit2{
background: darkblue;
color: #fff
}
.btn-2nd{
background: yellow;
color:black;
}
.btn-arit{
background: rgb(36, 129, 141);
color: #fff
}
.btn-grey{
background: rgb(131, 131, 131);
color: #fff
}
.btn-equal{
background: green;
color: #fff
}
.btn-fn{
background: black;
color: #fff
}
.btn-hyp{
background: black;
color: #fff
}
.btn-hyp-active{
background: #fff;
color:black;
}
.btn-red{
background: red;
color: #fff
}