Repository navigation
Expand file tree
/
Copy pathcalc.css
More file actions
100 lines (85 loc) · 1.3 KB
/
Copy pathcalc.css
File metadata and controls
100 lines (85 loc) · 1.3 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
*{
font-family:sans-serif;
font-size: 20px;
box-sizing: border-box;
margin: 0;
padding: 0;
font-weight: bold;
}
.transparent{
opacity: 0.2;
}
.calc-body{
margin: 22vh auto;
display: flex;
flex-direction: column;
align-items: center;
background-color: rgb(3, 43, 3);
width:45vw;
height:55vh;
padding: 1.5vh;
row-gap: 1vh;
border-radius: 2vh;
}
.screen{
position: relative;
border-radius: 2vh 2vh 0 0;
background-color: rgb(116, 197, 116);
width: 42vw;
height: 40%;
display: flex;
padding: 1vw;
flex-direction: column;
overflow: hidden;
}
.screen .input{
display: flex;
flex-wrap:nowrap;
}
.screen .input .curr-eq{
display: inline-block;
}
.screen .input .cursor-bar{
display:inline-block;
background-color: #000;
height: 1em;
width:0.5em;
animation: fade-repeat 3s ease-out infinite;
}
.clear-button{
width:41vw;
}
.dir-buttons{
display: flex;
width: 100%;
justify-content: center;
}
.dir-buttons > *{
padding: 2vh;
width: 20.5vw;
}
.buttons{
display: grid;
grid-template-columns: 10.5vw 10.5vw 10.5vw 10vw;
}
.buttons > *{
height: 6vh;
}
.output{
position: absolute;
bottom: 0;
left: 1vw;
right: 1vw;
text-align: right;
}
@keyframes fade-repeat{
0%{
opacity:0;
}
50%{
opacity:1;
}
100%{
opacity:0;
}
}