forked from cswendrowski/FoundryVTT-Custom-CSS
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustom-css.css
More file actions
114 lines (102 loc) · 2.66 KB
/
custom-css.css
File metadata and controls
114 lines (102 loc) · 2.66 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* Maple Mono NF font faces */
@font-face {
font-family: "Maple Mono NF";
src: local("Maple Mono NF"),
url("./fonts/Maple-Mono-NF-Regular.woff2") format("woff2"),
url("./fonts/Maple-Mono-NF-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Maple Mono NF";
src: local("Maple Mono NF Bold"),
url("./fonts/Maple-Mono-NF-Bold.woff2") format("woff2"),
url("./fonts/Maple-Mono-NF-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Maple Mono NF";
src: local("Maple Mono NF Italic"),
url("./fonts/Maple-Mono-NF-Italic.woff2") format("woff2"),
url("./fonts/Maple-Mono-NF-Italic.ttf") format("truetype");
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Maple Mono NF";
src: local("Maple Mono NF Bold Italic"),
url("./fonts/Maple-Mono-NF-BoldItalic.woff2") format("woff2"),
url("./fonts/Maple-Mono-NF-BoldItalic.ttf") format("truetype");
font-weight: bold;
font-style: italic;
font-display: swap;
}
.ccss-editor {
h2 {
margin: .2rem 0 0 0;
font-size: 1.25em;
}
.notes {
flex-basis: unset;
padding: 0;
}
#ccss-super-container {
display: flex;
flex-direction: column;
height: 90%;
width: 100%;
}
.stylesheet-container {
display: flex;
flex-direction: column;
height: 75%;
min-height: 5%;
width: 100%;
}
.stylesheet-editor {
width: 100%;
min-height: 10px;
* {
font-family: 'Maple Mono NF', monospace;
}
}
code-mirror {
height: 100%;
width: 100%;
* {
font-family: 'Maple Mono NF', monospace;
}
}
#ccss-top {
padding: 0;
margin: 0;
height: 100%;
}
#ccss-bottom {
height: 75%;
}
#ccss-separator {
cursor: row-resize;
width: 100%;
height: 10px;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: var(--color-pf-primary);
mask-image: linear-gradient( to right,
transparent,
transparent calc( 50% - 25px),
black calc( 50% - 25px),
black calc( 50% + 25px),
transparent calc( 50% + 25px),
transparent );
mask-size: 100% 0.3rem;
mask-position: 0% 0%;
mask-repeat: no-repeat;
margin-bottom: -0.3rem;
}
}