File tree Expand file tree Collapse file tree 4 files changed +16
-19
lines changed
Expand file tree Collapse file tree 4 files changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,11 @@ blockquote {
134134 & [class ^= " prompt-" ] {
135135 display : flex ;
136136 border-left : 0 ;
137- border-radius : 6px ;
138137 padding : 1rem ;
139138 color : var (--prompt-text-color );
140139
140+ @extend %rounded ;
141+
141142 & ::before {
142143 text-align : center ;
143144 width : 1.25rem ;
@@ -543,11 +544,13 @@ i { /* fontawesome icons */
543544 }
544545}
545546
547+ .rounded-10 {
548+ border-radius : 10px !important ;
549+ }
550+
546551.img-link {
547552 color : transparent ;
548553 display : inline-flex ;
549-
550- @extend %img-rounded ;
551554}
552555
553556.shimmer {
@@ -579,9 +582,10 @@ i { /* fontawesome icons */
579582.embed-video {
580583 width : 100% ;
581584 height : 100% ;
582- border-radius : 4px ;
583585 margin-bottom : 1rem ;
584586
587+ @extend %rounded ;
588+
585589 & .youtube {
586590 aspect-ratio : 16 / 9 ;
587591 }
Original file line number Diff line number Diff line change 9090 font-style : normal ;
9191}
9292
93- %img- rounded {
94- border-radius : 10 px ;
93+ %rounded {
94+ border-radius : 6 px ;
9595}
9696
9797%img-caption {
Original file line number Diff line number Diff line change @@ -29,34 +29,28 @@ html {
2929 }
3030}
3131
32- /* -- Codes Snippet -- */
33-
34- $code-radius : 6px ;
32+ /* -- code snippets -- */
3533
3634%code-snippet-bg {
3735 background : var (--highlight-bg-color );
3836}
3937
40- %code-snippet-radius {
41- border-radius : $code-radius ;
42- }
43-
4438%code-snippet-padding {
4539 padding-left : 1rem ;
4640 padding-right : 1.5rem ;
4741}
4842
4943.highlighter-rouge {
5044 @extend %code-snippet-bg ;
51- @extend %code-snippet-radius ;
45+ @extend %rounded ;
5246
5347 color : var (--highlighter-rouge-color );
5448 margin-top : 0.5rem ;
5549 margin-bottom : 1.2em ; /* Override BS Inline-code style */
5650}
5751
5852.highlight {
59- @extend %code-snippet-radius ;
53+ @extend %rounded ;
6054 @extend %code-snippet-bg ;
6155
6256 @at-root figure #{&} {
@@ -173,8 +167,6 @@ div {
173167
174168 $code-header-height : 2.25rem ;
175169
176- border-top-left-radius : $code-radius ;
177- border-top-right-radius : $code-radius ;
178170 display : flex ;
179171 justify-content : space-between ;
180172 align-items : center ;
@@ -226,9 +218,9 @@ div {
226218 /* clipboard */
227219 button {
228220 @extend %cursor-pointer ;
221+ @extend %rounded ;
229222
230223 border : 1px solid transparent ;
231- border-radius : $code-radius ;
232224 height : $code-header-height ;
233225 width : $code-header-height ;
234226 padding : 0 ;
Original file line number Diff line number Diff line change 3333.preview-img {
3434 @include align-center ;
3535 @extend %preview-margin ;
36+ @extend %rounded ;
3637
3738 max-width : 100% ;
3839
4849 object-fit : cover ;
4950
5051 @extend %preview-margin ;
51- @extend %img- rounded ;
52+ @extend %rounded ;
5253 }
5354}
5455
You can’t perform that action at this time.
0 commit comments