-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecesary mixin in blog and blog-post
- Loading branch information
1 parent
650c530
commit 073e3c2
Showing
5 changed files
with
44 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
@import 'main'; | ||
|
||
.column.right { | ||
.blog-cards { | ||
@include blog-cards-and-blog-post-styles(); | ||
.blog-cards { | ||
max-width: 700px; | ||
padding-top: 1.5rem; | ||
margin: 0 auto; | ||
|
||
a.blog-card { | ||
display: block; | ||
background-color: $color-bg-secondary; | ||
padding: 1rem; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
transition: transform 0.3s, box-shadow 0.3s; | ||
margin-bottom: 2rem; | ||
a.blog-card { | ||
display: block; | ||
background-color: $color-bg-secondary; | ||
padding: 1rem; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
transition: transform 0.3s, box-shadow 0.3s; | ||
margin-bottom: 2rem; | ||
|
||
&:hover { | ||
transform: translateY(20px); | ||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); | ||
} | ||
&:hover { | ||
transform: translateY(20px); | ||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.blog-title { | ||
color: $color-fg-secondary; | ||
font-family: Andika; | ||
font-size: clamp(1.2rem, 3.8vw, 1.7rem); | ||
margin-bottom: 1rem; | ||
.blog-title { | ||
color: $color-fg-secondary; | ||
font-family: Andika; | ||
font-size: clamp(1.2rem, 3.8vw, 1.7rem); | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.blog-card-details { | ||
display: flex; | ||
justify-content: space-between; | ||
gap: clamp(1rem, 4.4vw, 2rem); | ||
|
||
.card-description { | ||
color: $color-fg; | ||
opacity: 0.9; | ||
font-weight: light; | ||
font-size: clamp(0.7rem, 2.2vw, 1rem); | ||
} | ||
|
||
.blog-card-details { | ||
display: flex; | ||
justify-content: space-between; | ||
gap: clamp(1rem, 4.4vw, 2rem); | ||
|
||
.card-description { | ||
color: $color-fg; | ||
opacity: 0.9; | ||
font-weight: light; | ||
font-size: clamp(0.7rem, 2.2vw, 1rem); | ||
} | ||
|
||
.card-date { | ||
color: $color-fg-secondary; | ||
min-width: fit-content; | ||
font-family: Andika; | ||
font-size: clamp(0.6rem, 2vw, 0.9rem);; | ||
} | ||
.card-date { | ||
color: $color-fg-secondary; | ||
min-width: fit-content; | ||
font-family: Andika; | ||
font-size: clamp(0.6rem, 2vw, 0.9rem);; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters