-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (109 loc) · 1.86 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
* {
box-sizing: border-box;
}
.nav {
background: gray;
display: flex;
align-items: center;
gap: 10px;
}
.nav-text {
margin: 0;
padding: 0;
font-size: 50px;
}
.flex-row {
display: flex;
flex-direction: row;
}
.sidebar {
flex: 1;
height: 100vh;
border-right: 1px solid black;
overflow-x: scroll;
}
main {
flex: 3;
display: flex;
flex-direction: column;
gap: 20px;
padding: 15px;
}
/* update to nesting when its fully supported */
.lua-pattern {
background-color: white;
width: 100%;
position: relative;
}
.lua-pattern label {
background-color: inherit;
font-size: 15px;
position: absolute;
padding: 0 2px;
left: 14px;
top: calc(100% - 0.7em);
}
.lua-pattern input {
width: inherit;
padding: 8px 13px;
border: 2px solid black;
border-radius: 10px;
}
.lua-text{
background-color: white;
width: 100%;
position: relative;
}
.lua-text label {
background-color: white;
font-size: 15px;
position: absolute;
padding: 0 2px;
left: 14px;
top: calc(0% - 0.5em);
}
.lua-text-highlighted {
position: relative;
width: inherit;
border: 2px solid black;
border-radius: 10px;
}
.lua-text-highlighted textarea, section {
font-size: 15px;
font-family: sans-serif;
padding: 10px 10px;
margin: 0;
border: 0;
}
.lua-text-highlighted textarea {
width:inherit;
min-height: 350px;
resize: vertical;
border-radius: inherit;
opacity: 20%;
caret-color: black;
background-color: transparent;
z-index: 2;
}
.lua-text-highlighted section {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0;
z-index: 0;
overflow: scroll;
word-wrap: break-word;
white-space: pre-wrap;
user-select: none;
}
.highlight-primary {
background-color: #00FFFF40;
}
.highlight-secondary {
text-decoration: underline dotted orange 2px;
background-color: transparent;
}
.highlight-error {
color: red;
}