-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (117 loc) · 1.55 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
* {
box-sizing: border-box;
}
html,
body {
height: 100%;
}
body {
margin: 0;
background: #0A3190;
color: #949B93;
font-family: monospace;
line-height: 1.65em;
}
.layout {
display: grid;
grid-template-rows: 1fr auto;
height: 100%;
}
.calculator {
display: grid;
grid-template-columns: 1fr 30%;
max-height: 100%;
overflow: auto;
}
.input {
position: relative;
margin: 0 1em;
min-height: 100%;
cursor: text;
}
.content-editable {
color: transparent;
caret-color: #949B93;
}
.view {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.content-editable,
.view {
display: inline-block;
padding: 1em 0;
width: 100%;
height: 100%;
outline: none;
white-space: nowrap;
}
.results {
padding: 1em;
min-height: 100%;
background: #FFF;
white-space: nowrap;
overflow-x: auto;
}
.variable {
color: #FFA800;
}
.comment {
opacity: .5;
}
.footer {
display: flex;
padding: .5em;
background: #949B93;
color: #fff;
}
button {
font-size: 1em;
}
.button-wrap {
width: 100%;
}
.total-label {
margin-left: auto;
margin-right: 1em;
}
.total {
width: 30%;
}
.placeholder {
opacity: .5;
}
.modal {
position: absolute;
z-index: 1;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
padding: 0 1em;
background: #fff;
width: 100vw;
height: 100vh;
overflow: auto;
}
.modal b {
color: #000;
}
code {
background: #ccc;
color: #000;
border-radius: 4px;
padding: .2em .4em;
}
table td {
padding: .5em;
}
.operator-table tbody tr td:first-child{
text-align: right;
}
.help {
margin: 0 .5em;
}