File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
adev/shared-docs/styles/docs Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 10
10
border-style : solid ;
11
11
margin-block : 1.5rem ;
12
12
border-image : var (--callout-theme ) 1 ;
13
- position : relative ;
14
13
15
14
// Removes bottom line if followed by another callout
16
15
// Prevents too many lines/visual noise
21
20
& ::before {
22
21
font-family : var (--icons );
23
22
// content: icon is defined in each docs-alert class below...
24
- position : absolute ;
25
- right : 0 ;
23
+ float : right ;
26
24
margin-top : 1.35rem ;
27
25
color : var (--alert-accent );
28
26
font-size : 1.3rem ;
41
39
max-width : fit-content ;
42
40
}
43
41
}
42
+
44
43
.docs-viewer .docs-callout h3 {
45
44
font-size : 0.875rem ;
46
45
margin-block : 1.6rem ;
47
46
}
48
47
49
48
.docs-callout-helpful {
50
49
--callout-theme : var (--purple-to-blue-horizontal-gradient );
50
+
51
51
& ::before {
52
52
content : ' check_circle' ;
53
53
color : var (--bright-blue );
56
56
57
57
.docs-callout-critical {
58
58
--callout-theme : var (--red-to-orange-horizontal-gradient );
59
+
59
60
& ::before {
60
61
content : ' warning' ;
61
62
color : var (--orange-red );
64
65
65
66
.docs-callout-important {
66
67
--callout-theme : var (--pink-to-purple-horizontal-gradient );
68
+
67
69
& ::before {
68
70
content : ' priority_high' ;
69
71
color : var (--electric-violet );
70
72
}
71
73
}
72
- }
74
+ }
You can’t perform that action at this time.
0 commit comments