File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 *************************/
2828 --fs-sm : 0.9375rem ;
2929 --fs-md : 1.375rem ;
30+
31+ /* || Shadow
32+ *************************/
33+ --shadow-light : 0px 25px 25px rgba (0 , 0 , 0 , 0.0476518 );
3034}
3135
3236/* || SCSS Aliases
@@ -44,4 +48,5 @@ $space-md: var(--space-md);
4448$space-lg : var (--space-lg );
4549
4650$fs-sm : var (--fs-sm );
47- $fs-md : var (--fs-md );
51+ $fs-md : var (--fs-md );
52+ $shadow-light : var (--shadow-light );
Original file line number Diff line number Diff line change 66 border-radius : 1.25rem ;
77
88 background-color : $white ;
9- box-shadow : 0 px 25 px 25 px rgba ( 0 , 0 , 0 , 0.0476518 ) ;
9+ box-shadow : $shadow-light ;
1010
1111 /* || Image
1212 *************************/
1313 & __img {
1414 width : 100% ;
1515 height : auto ;
16- border-radius : 10 px ;
16+ border-radius : 0.625 rem ;
1717 display : block ;
1818 }
1919
2020 /* || Text Content
2121 *************************/
2222 & __content {
23- margin-top : $space-md ;
23+ margin-block-start : $space-md ;
2424 padding : 0 $space-sm ;
2525 text-align : center ;
2626 }
3030 & __title {
3131 font-size : $fs-md ;
3232 font-weight : 700 ;
33- line-height : 1.75 rem ;
33+ line-height : 1.75 ;
3434 color : $dark-blue ;
3535 }
3636
4141
4242 font-size : $fs-sm ;
4343 font-weight : 400 ;
44- letter-spacing : 0.1875 px ;
45- line-height : 1.1875 rem ;
44+ line-height : 1.1875 ;
45+ letter-spacing : 0.0125 em ;
4646
4747 color : $grayish-blue ;
4848 }
Original file line number Diff line number Diff line change 2727 *************************/
2828 --fs-sm : 0.9375rem ;
2929 --fs-md : 1.375rem ;
30+ /* || Shadow
31+ *************************/
32+ --shadow-light : 0px 25px 25px rgba (0 , 0 , 0 , 0.0476518 );
3033}
3134
3235/* || SCSS Aliases
6669 max-width : 20rem ;
6770 border-radius : 1.25rem ;
6871 background-color : var (--white );
69- box-shadow : 0 px 25 px 25 px rgba ( 0 , 0 , 0 , 0.0476518 );
72+ box-shadow : var ( --shadow-light );
7073 /* || Image
7174 *************************/
7275 /* || Text Content
@@ -79,25 +82,25 @@ main {
7982.card__img {
8083 width : 100% ;
8184 height : auto;
82- border-radius : 10 px ;
85+ border-radius : 0.625 rem ;
8386 display : block;
8487}
8588.card__content {
86- margin-top : var (--space-md );
89+ margin-block-start : var (--space-md );
8790 padding : 0 var (--space-sm );
8891 text-align : center;
8992}
9093.card__title {
9194 font-size : var (--fs-md );
9295 font-weight : 700 ;
93- line-height : 1.75 rem ;
96+ line-height : 1.75 ;
9497 color : var (--dark-blue );
9598}
9699.card__description {
97100 margin-block-start : var (--space-sm );
98101 font-size : var (--fs-sm );
99102 font-weight : 400 ;
100- letter-spacing : 0.1875 px ;
101- line-height : 1.1875 rem ;
103+ line-height : 1.1875 ;
104+ letter-spacing : 0.0125 em ;
102105 color : var (--grayish-blue );
103106}
Original file line number Diff line number Diff line change 66 < link rel ="icon " type ="image/png " sizes ="32x32 " href ="./assets/images/favicon-32x32.png ">
77 < title > QR Code Component | Frontend Mentor</ title >
88 <!-- Styles -->
9- < link rel ="stylesheet " href ="./assets/styles/styles.css ">
9+ <!-- < link rel="stylesheet" href="./assets/styles/styles.css"> -- >
1010</ head >
1111< body >
1212 < main >
You can’t perform that action at this time.
0 commit comments