-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.txt
44 lines (37 loc) · 871 Bytes
/
css.txt
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
.entities {
line-height: 2;
}
[entity] {
padding: 0.25em 0.35em;
margin: 0px 0.25em;
line-height: 1;
display: inline-block;
border-radius: 0.25em;
border: 1px solid;
}
[entity]::after {
box-sizing: border-box;
content: attr(data-entity);
font-size: 0.6em;
line-height: 1;
padding: 0.35em;
border-radius: 0.35em;
text-transform: uppercase;
display: inline-block;
vertical-align: middle;
margin: 0px 0px 0.1rem 0.5rem;
}
[entity][entity="OK"] {
background: rgba(253, 151, 32 0.2);
border-color: rgb(253, 151, 32);
}
[entity][entity="OK"]::after {
background: rgb(253, 151, 32);
}
[entity][entity="NOK"] {
background: rgba(142, 125, 255, 0.2);
border-color: rgb(142, 125, 255);
}
[entity][entity="NOK"]::after {
background: rgb(142, 125, 255);
}