Skip to content

Commit aece1fa

Browse files
committed
css fixes
1 parent d60b25e commit aece1fa

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

styles/courses.css

+10-4
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,10 @@ blockquote > *:last-child {
337337
margin-bottom: 0;
338338
}
339339

340+
blockquote > *:first-child {
341+
margin-top: 0;
342+
}
343+
340344
.lesson-content img {
341345
max-width: 100%;
342346
}
@@ -467,8 +471,8 @@ ol.sections-name .lesson-details {
467471
}
468472

469473
ol.sections-name .lesson-preface {
470-
font-size:60px
471-
}
474+
font-size: 60px;
475+
}
472476
}
473477

474478
.lesson-details h3 {
@@ -517,7 +521,7 @@ ol.sections-name .lesson-details {
517521

518522
code,
519523
pre code {
520-
padding: .5rem;
524+
padding: 0.5rem;
521525
text-wrap: wrap;
522526
}
523527

@@ -530,8 +534,10 @@ pre code.hljs {
530534

531535
pre code,
532536
pre code.hljs {
537+
background-color: white;
538+
border: 2px solid var(--emphasized-border);
533539
display: block;
534540
padding: 1rem;
535541
overflow-x: auto;
536542
border-radius: 5px;
537-
}
543+
}

0 commit comments

Comments
 (0)