Skip to content

Commit a1d7912

Browse files
committed
fix one more report
1 parent a337426 commit a1d7912

4 files changed

Lines changed: 22 additions & 14 deletions

File tree

assets/styles/base/_variables.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
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);

assets/styles/components/_card.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66
border-radius: 1.25rem;
77

88
background-color: $white;
9-
box-shadow: 0px 25px 25px 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: 10px;
16+
border-radius: 0.625rem;
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
}
@@ -30,7 +30,7 @@
3030
&__title {
3131
font-size: $fs-md;
3232
font-weight: 700;
33-
line-height: 1.75rem;
33+
line-height: 1.75;
3434
color: $dark-blue;
3535
}
3636

@@ -41,8 +41,8 @@
4141

4242
font-size: $fs-sm;
4343
font-weight: 400;
44-
letter-spacing: 0.1875px;
45-
line-height: 1.1875rem;
44+
line-height: 1.1875;
45+
letter-spacing: 0.0125em;
4646

4747
color: $grayish-blue;
4848
}

assets/styles/styles.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
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
@@ -66,7 +69,7 @@ main {
6669
max-width: 20rem;
6770
border-radius: 1.25rem;
6871
background-color: var(--white);
69-
box-shadow: 0px 25px 25px 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: 10px;
85+
border-radius: 0.625rem;
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.75rem;
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.1875px;
101-
line-height: 1.1875rem;
103+
line-height: 1.1875;
104+
letter-spacing: 0.0125em;
102105
color: var(--grayish-blue);
103106
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>

0 commit comments

Comments
 (0)