File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 185
185
samp {
186
186
display : inline-block ;
187
187
align-items : center ;
188
- background-color : var (--clr-black );
188
+ background-color : hsl ( var (--_hs ) 10 % );
189
189
color : var (--clr-white );
190
190
padding : 0.2em 0.4em ;
191
191
border-radius : 0.3em ;
192
192
}
193
193
194
+ pre {
195
+ @include mix .breakpoint-down (" small" ) {
196
+ & ::after {
197
+ content : " " ;
198
+ position : absolute ;
199
+ right : 0 ;
200
+ top : 0 ;
201
+ bottom : 0 ;
202
+ background : linear-gradient (90deg , transparent , hsl (var (--_hs ) 6% ));
203
+ width : 2em ;
204
+ }
205
+ }
206
+ }
207
+
194
208
a {
195
209
--_normal-color : var (--clr-accent-light );
196
210
--_hover-color : var (--clr-white );
236
250
237
251
pre {
238
252
border : 0.1rem solid var (--_background );
239
- background-color : hsl (0 , 3 % , 12 % );
253
+ background-color : hsl (var ( --_hs ) 10 % );
240
254
border-radius : 0.5rem ;
241
255
padding : 1rem ;
242
256
white-space : pre ;
319
333
code {
320
334
color : var (--clr-white );
321
335
box-shadow : none ;
322
- background-color : transparent ;
336
+ width : 100 % ;
323
337
324
338
.hljs-comment ,
325
339
.hljs-meta {
326
340
color : hsl (230 , 100% , 89% , 0.9 )
327
341
}
342
+
343
+ @include mix .breakpoint-down (' small' ) {
344
+ overflow-x : auto ;
345
+ }
328
346
}
329
347
}
330
348
You can’t perform that action at this time.
0 commit comments