File tree 3 files changed +29
-12
lines changed
app/shared/example-viewer
3 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 5
5
6
6
.docs-example-viewer-wrapper {
7
7
border-radius : 12px ;
8
- margin : 16px 0 ;
9
8
10
9
h3 {
11
10
margin-top : 10px ;
Original file line number Diff line number Diff line change 5
5
6
6
h1 {
7
7
display : inline-block ;
8
- font-size : 34 px ;
8
+ font-size : 32 px ;
9
9
font-weight : 400 ;
10
+ margin : 32px 0 16px ;
10
11
}
11
12
12
13
h2 {
13
- font-size : 24px ;
14
+ font-size : 28px ;
15
+ margin : 32px 0 16px ;
16
+ font-weight : 400 ;
14
17
}
15
18
16
19
h3 {
17
- font-size : 20 px ;
20
+ font-size : 24 px ;
18
21
font-weight : 500 ;
22
+ margin : 32px 0 16px ;
23
+ font-weight : 400 ;
19
24
}
20
25
21
- h2 , h4 {
22
- margin-top : 40px ;
26
+ h4 {
27
+ font-size : 22px ;
28
+ margin : 24px 0 12px ;
29
+ font-weight : 400 ;
23
30
}
24
31
25
32
h5 {
26
33
font-size : 18px ;
34
+ margin : 20px 0 10px ;
35
+ font-weight : 400 ;
27
36
}
28
37
29
38
p , ul , ol {
30
39
font-size : 16px ;
31
40
line-height : 28px ;
32
41
}
33
42
43
+ p {
44
+ margin : 0 0 1em ;
45
+
46
+ // In case the docs generator produces an empty paragraph.
47
+ & :empty {
48
+ display : none ;
49
+ }
50
+ }
51
+
34
52
a {
35
53
text-decoration : none ;
36
54
}
37
55
56
+ strong {
57
+ font-weight : 700 ;
58
+ }
59
+
38
60
pre {
39
61
border-radius : 5px ;
40
62
display : block ;
41
- margin : 16 px auto ;
63
+ margin : 24 px auto ;
42
64
overflow-x : auto ;
43
65
padding : 20px ;
44
66
white-space : pre-wrap ;
55
77
}
56
78
57
79
.docs-header-link {
58
- // padding to prevent the site header from headbutting the headers when navigating using fragment links
59
- padding-top : 20px ;
60
- margin-top : -20px ;
61
-
62
80
header-link {
63
81
// deduct -30px so the anchor icon will be positioned outside the content
64
82
margin-left : -30px ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const MIN_SCORES_PER_PAGE = [
54
54
minScores : {
55
55
pwa : 75 ,
56
56
performance : 25 , // Intentionally low because Ligthouse is flaky.
57
- seo : 100 ,
57
+ seo : 90 ,
58
58
'best-practices' : 90 ,
59
59
accessibility : 92 ,
60
60
} ,
You can’t perform that action at this time.
0 commit comments