-
Notifications
You must be signed in to change notification settings - Fork 0
/
Artistry.css
169 lines (140 loc) · 3.2 KB
/
Artistry.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@keyframes view-line-inserted
{
from { z-index: 1; }
to { z-index: 1; }
}
.view-line
{
animation-duration: 0.0001s;
animation-name: view-line-inserted;
}
.view-line[data-comment]
{
background-repeat: no-repeat;
background-size: 100% 100%;
}
/*
NOTE: It doesn't appear that there's a
reliable way to detect when you're in
VS Light mode (only VS dark) using a simple
CSS selector, so these rules are all intended
to be overridden in the set of rules that
follow these. If adding a new declaration
here, be sure to also override it in the
.vs-dark rules.
*/
.view-line[data-block-comment]
{
background-image: linear-gradient(
hsla(215, 80%, 50%, 0.16),
hsla(215, 80%, 50%, 0.16));
}
.view-line[data-block-comment] SPAN
{
font-weight: 400;
text-shadow: 1px 1px 1px white;
}
.view-line[data-section-comment]
{
background-image: linear-gradient(
hsla(215, 55%, 45%, 0.7),
hsla(215, 55%, 45%, 0.7));
}
.view-line[data-section-comment] SPAN
{
color: rgba(255, 255, 255, 1) !important;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.view-line[data-line-comment]
{
text-shadow: 1px 1px 1px white;
background-image: linear-gradient(
hsla(215, 80%, 50%, 0.06),
hsla(215, 80%, 50%, 0.06));
}
.view-line[data-line-comment] SPAN
{
color: hsl(215, 75%, 80%) !important;
}
.view-line[data-dead-comment] SPAN
{
color: rgba(0, 0, 0, 0.5) !important;
font-style: italic;
}
.view-line[data-dead-comment] SPAN SPAN
{
text-decoration: rgba(0, 0, 0, 0.15) line-through;
}
.view-line[data-dead-comment] SPAN.mtk1:first-child
{
text-decoration: none;
}
.view-line[data-attention-comment]
{
background-image: linear-gradient(
hsla(345, 80%, 40%, 0.40),
hsla(345, 80%, 40%, 0.40));
}
.view-line[data-attention-comment] SPAN
{
color: white !important;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
/* .vs-dark rules */
BODY.vs-dark .view-line[data-block-comment]
{
background-image: linear-gradient(
hsla(215, 60%, 40%, 0.7),
hsla(215, 60%, 40%, 0.7));
}
BODY.vs-dark .view-line[data-block-comment] SPAN
{
font-weight: 900 !important;
text-shadow: 1px 1px 1px black;
}
BODY.vs-dark .view-line[data-section-comment]
{
background-image: linear-gradient(
hsla(215, 60%, 40%, 0.7),
hsla(215, 60%, 40%, 0.7));
}
BODY.vs-dark .view-line[data-section-comment] SPAN
{
color: rgba(255, 255, 255, 1) !important;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
BODY.vs-dark .view-line[data-line-comment]
{
text-shadow: 1px 1px 1px black;
background-image: linear-gradient(
hsla(215, 60%, 50%, 0.2),
hsla(215, 60%, 50%, 0.2));
}
BODY.vs-dark .view-line[data-line-comment] SPAN
{
color: hsl(215, 18%, 52%) !important;
}
BODY.vs-dark .view-line[data-dead-comment] SPAN
{
color: rgba(255, 255, 255, 0.5) !important;
font-style: italic;
}
BODY.vs-dark .view-line[data-dead-comment] SPAN SPAN
{
text-decoration: rgba(255, 255, 255, 0.15) line-through;
}
BODY.vs-dark .view-line[data-dead-comment] SPAN.mtk1:first-child
{
text-decoration: none;
}
BODY.vs-dark .view-line[data-attention-comment]
{
background-image: linear-gradient(
hsla(345, 80%, 40%, 0.40),
hsla(345, 80%, 40%, 0.40));
}
BODY.vs-dark .view-line[data-attention-comment] SPAN
{
color: white !important;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}