File tree Expand file tree Collapse file tree 6 files changed +25
-25
lines changed
Expand file tree Collapse file tree 6 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 9292}
9393
9494%rounded {
95- border-radius : 6 px ;
95+ border-radius : $base-radius ;
9696}
9797
9898%img-caption {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $footer-height: 5rem !default;
2323$footer-height-mobile : 6rem !default ; /* screen width: <= 576px */
2424$main-content-max-width : 1250px !default ;
2525$bottom-min-height : 35rem !default ;
26- $card -radius : 0.5rem ;
26+ $base -radius : 0.5rem ;
2727
2828/* syntax highlight */
2929
Original file line number Diff line number Diff line change 66 * MIT Licensed
77 */
88
9- @import
10- " colors/light-typography" ,
11- " colors/dark-typography" ,
12-
13- " addon/variables" ,
14- " variables-hook" ,
15- " addon/module" ,
16- " addon/syntax" ,
17- " addon/commons" ,
18-
19- " layout/home" ,
20- " layout/post" ,
21- " layout/tags" ,
22- " layout/archives" ,
23- " layout/categories" ,
24- " layout/category-tag" ;
9+ @import ' colors/light-typography' ;
10+ @import ' colors/dark-typography' ;
11+ @import ' addon/variables' ;
12+ @import ' variables-hook' ;
13+ @import ' addon/module' ;
14+ @import ' addon/syntax' ;
15+ @import ' addon/commons' ;
16+ @import ' layout/home' ;
17+ @import ' layout/post' ;
18+ @import ' layout/tags' ;
19+ @import ' layout/archives' ;
20+ @import ' layout/categories' ;
21+ @import ' layout/category-tag' ;
Original file line number Diff line number Diff line change 99.categories {
1010 margin-bottom : 2rem ;
1111
12+ & .card ,
13+ .list-group {
14+ @extend %rounded ;
15+ }
16+
1217 .card-header {
1318 padding-right : 12px ;
19+ border-radius : $base-radius $base-radius 0 0 ;
1420 }
1521
1622 i {
4248 position : relative ;
4349 height : 0.7rem ;
4450 width : 1rem ;
45- transition : -webkit-transform 300ms ease ;
4651 transition : transform 300ms ease ;
47- transition : transform 300ms ease , -webkit-transform 300ms ease ;
4852 }
4953
5054 & :hover {
6266}
6367
6468.rotate {
65- -webkit-transform : rotate (-90deg );
6669 transform : rotate (-90deg );
6770}
Original file line number Diff line number Diff line change 1919
2020 .card {
2121 %img-radius {
22- border-radius : $card -radius $card -radius 0 0 ;
22+ border-radius : $base -radius $base -radius 0 0 ;
2323 }
2424
2525 .preview-img {
146146@media all and (min-width : 768px ) {
147147 #post-list {
148148 %img-radius {
149- border-radius : 0 $card -radius $card -radius 0 ;
149+ border-radius : 0 $base -radius $base -radius 0 ;
150150 }
151151
152152 .card {
Original file line number Diff line number Diff line change @@ -205,12 +205,12 @@ h1 + .post-meta {
205205 }
206206
207207 & :first-child {
208- border-radius : $card -radius 0 0 $card -radius ;
208+ border-radius : $base -radius 0 0 $base -radius ;
209209 left : 0.5px ;
210210 }
211211
212212 & :last-child {
213- border-radius : 0 $card -radius $card -radius 0 ;
213+ border-radius : 0 $base -radius $base -radius 0 ;
214214 right : 0.5px ;
215215 }
216216 }
You can’t perform that action at this time.
0 commit comments