File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
scaladoc/resources/dotty_res/styles/theme Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 16
16
.snippet pre {
17
17
margin : 0 ;
18
18
line-height : 20px ;
19
+ font-family : "FiraCode-Regular" ;
20
+ }
21
+
22
+ .snippet pre code {
23
+ padding-right : calc (2 * var (--base-spacing ));
24
+ font-family : "FiraCode-Regular" ;
19
25
}
20
26
21
27
dd .snippet {
@@ -54,12 +60,12 @@ dd .snippet {
54
60
55
61
.snippet > pre > code > span ::before {
56
62
margin-left : 0 ;
57
- /* content: attr(line-number);
63
+ content : attr (line-number);
58
64
color : var (--code-syntax-highlighting-line-number );
59
65
margin-right : calc (2 * var (--base-spacing ));
60
66
display : inline-block;
61
67
text-align : right;
62
- min-width: calc(3 * var(--base-spacing)); */
68
+ min-width : calc (3 * var (--base-spacing ));
63
69
}
64
70
65
71
.snippet-showhide-container {
Original file line number Diff line number Diff line change 220
220
color : var (--text-primary );
221
221
text-decoration : underline solid 1px ;
222
222
text-underline-offset : 2px ;
223
+ transition : text-decoration-color .2s ease-in-out;
223
224
}
224
225
225
226
# content a : hover {
226
- text-decoration : underline solid 1.5 px ;
227
+ text-decoration-color : transparent ;
227
228
}
228
229
229
230
# content .cover-header {
239
240
color : var (--code-props-content );
240
241
font-family : "FiraCode-Regular" ;
241
242
border : 1px solid var (--code-props-border );
242
- padding : 2 px 5px ;
243
+ padding : 3 px 5 px 1 px 5px ;
243
244
border-radius : 4px ;
244
245
background-color : var (--code-props-background );
245
- line-height : 24px ;
246
+ display : inline-block;
247
+ line-height : 16px ;
246
248
font-size : 13px ;
249
+ word-break : break-word;
247
250
}
248
251
249
252
# content .body-large code {
250
253
font-size : 16px ;
254
+ line-height : 24px ;
251
255
}
252
256
253
257
.breadcrumbs {
Original file line number Diff line number Diff line change 2
2
display : flex;
3
3
flex-direction : column;
4
4
align-items : center;
5
- padding : calc (3 * var (--base-spacing )) 0px ;
5
+ /* padding: calc(3 * var(--base-spacing)) 0px;*/
6
6
position : absolute;
7
7
width : calc (39 * var (--base-spacing ));
8
8
height : calc (100% - (8 * var (--base-spacing )) - (6 * var (--base-spacing )));
You can’t perform that action at this time.
0 commit comments