File tree Expand file tree Collapse file tree 3 files changed +28
-19
lines changed Expand file tree Collapse file tree 3 files changed +28
-19
lines changed Original file line number Diff line number Diff line change 27
27
font-family : var (--body-font-family );
28
28
line-height : var (--body-line-height );
29
29
margin : 0 ;
30
+ word-wrap : anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
30
31
}
31
32
32
33
a {
Original file line number Diff line number Diff line change 1
- .body {
2
- word-wrap : anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
3
- }
4
-
5
1
@media screen and (min-width : 1024px ) {
6
2
.body {
7
3
display : flex;
Original file line number Diff line number Diff line change 106
106
margin : 0 ;
107
107
}
108
108
109
- .doc . tableblock p {
110
- font-size : inherit;
109
+ .doc table {
110
+ word-wrap : normal; /* don't do arbitrary word breaking */
111
111
}
112
112
113
113
.doc a {
119
119
/* -webkit-text-stroke-width: 0.01em; */
120
120
}
121
121
122
+ .doc a .bare {
123
+ hyphens : none;
124
+ }
125
+
122
126
.doc a .unresolved {
123
127
color : var (--link_unresolved-font-color );
124
128
}
125
129
126
130
.doc i .fa {
131
+ hyphens : none;
127
132
font-style : normal;
128
133
}
129
134
136
141
padding : 0.125em 0.25em ;
137
142
}
138
143
144
+ .doc code ,
145
+ .doc pre {
146
+ hyphens : none;
147
+ }
148
+
139
149
.doc pre {
140
150
font-size : calc (16 / var (--rem-base ) * 1rem );
141
151
line-height : 1.5 ;
195
205
/* alternative is to wrap table in div and set overflow-x: auto on the wrapper */
196
206
/* another alternative is to set overflow-x: auto and display: block on table (but this breaks table borders) */
197
207
/* table-layout: fixed; */
198
- word-wrap : normal; /* don't do arbitrary word breaking */
199
208
/*
200
209
display: block;
201
210
overflow-x: auto;
277
286
background : var (--table-stripe-background );
278
287
}
279
288
289
+ .doc .tableblock p {
290
+ font-size : inherit;
291
+ }
292
+
280
293
.doc .halign-left {
281
294
text-align : left;
282
295
}
329
342
.doc .admonitionblock td .content {
330
343
padding : 1rem 1rem 0.75rem ;
331
344
background : var (--admonition-background );
345
+ /*
346
+ border: 1px solid var(--color-smoke-90);
347
+ */
332
348
width : 100% ;
349
+ word-wrap : anywhere;
333
350
}
334
351
335
352
.doc .admonitionblock .icon {
779
796
}
780
797
781
798
.doc b .button {
782
- white-space : nowrap;
799
+ white-space : nowrap; /* effectively ignores hyphens setting */
783
800
}
784
801
785
802
.doc b .button ::before {
801
818
box-shadow : 0 1px 0 var (--kbd-border-color ), 0 0 0 0.1em var (--body-background ) inset;
802
819
padding : 0.25em 0.5em ;
803
820
vertical-align : text-bottom;
804
- white-space : nowrap;
821
+ white-space : nowrap; /* effectively ignores hyphens setting */
805
822
}
806
823
807
824
.doc kbd ,
825
842
margin-right : 0 ;
826
843
}
827
844
845
+ .doc .menuseq ,
846
+ .doc .path {
847
+ hyphens : none;
848
+ }
849
+
828
850
.doc .menuseq i .caret ::before {
829
851
content : "\203a" ;
830
852
font-size : 1.1em ;
831
853
font-weight : var (--body-font-weight-bold );
832
854
line-height : calc (1 / 1.1 );
833
855
}
834
-
835
- .doc a .bare ,
836
- .doc b .button ,
837
- .doc code ,
838
- .doc .path ,
839
- .doc kbd ,
840
- .doc .menuseq ,
841
- .doc .icon i ::after {
842
- hyphens : none;
843
- }
You can’t perform that action at this time.
0 commit comments