-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathcustom-envs.css
More file actions
88 lines (71 loc) · 1.46 KB
/
custom-envs.css
File metadata and controls
88 lines (71 loc) · 1.46 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
.note {
margin: 20px;
padding: 0 20px;
border-inline-start: 2px solid var(--note-border);
}
.note:before {
position: absolute;
width: 3rem;
height: 3rem;
margin-inline-start: calc(-1.5rem - 21px);
content: "ⓘ";
text-align: center;
background-color: var(--bg);
color: var(--note-border);
font-weight: bold;
font-size: 2rem;
}
blockquote .note:before {
background-color: var(--quote-bg);
}
.reco {
margin: 20px;
padding: 0 20px;
}
blockquote .reco:before {
background-color: var(--quote-bg);
}
.reco:before {
content: attr(type) " " attr(id) " - " attr(title);
font-weight: bold;
}
.examplereco {
margin: 20px;
padding: 0 20px;
}
blockquote .examplereco:before {
background-color: var(--quote-bg);
}
.examplereco:before {
content: attr(type) " " attr(id) " - " attr(title);
font-weight: bold;
}
code.should_panic {
background-color: rgba(255, 0, 0, 0.3);
}
code.bad {
background-color: rgba(255, 153, 0, 0.3);
}
code.good {
background-color: rgba(43, 255, 0, 0.3);
}
code.ub {
background-color: rgba(255, 0, 0, 1);
}
* {
--note-border: #0096cf;
--rule-border: #ff0000;
--reco-border: rgb(189, 64, 6);
}
[type="Recommendation"] {
border-inline-start: 4px solid var(--reco-border) !important;
}
[type="Rule"] {
border-inline-start: 4px solid var(--rule-border) !important;
}
[type="Recommandation"] {
border-inline-start: 4px solid var(--reco-border) !important;
}
[type="Règle"] {
border-inline-start: 4px solid var(--rule-border) !important;
}