-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main blog page css and javascript changed
- Loading branch information
1 parent
3278abd
commit 56e6d38
Showing
20 changed files
with
186 additions
and
369 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,50 @@ | ||
.card { | ||
max-width: 100%; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
box-sizing: border-box; | ||
display: flex; | ||
flex-direction: column; | ||
border-radius: 3%; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
position: relative; | ||
margin-bottom: 24px; | ||
border-radius: 15px; | ||
overflow: hidden; | ||
border: none; | ||
border:none; | ||
} | ||
|
||
.card:hover { | ||
transform: translateY(-5px); | ||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); | ||
.card__image-container { | ||
position: relative; | ||
overflow: hidden; | ||
} | ||
|
||
.card__image { | ||
width: 100%; | ||
max-height: 360px; | ||
object-fit: cover; | ||
border-radius: 3%; | ||
margin-bottom: 2%; | ||
overflow: hidden; | ||
} | ||
|
||
.card__title { | ||
text-align: center; | ||
color: #343a40 !important; | ||
height: auto; | ||
transition: filter 0.3s ease, transform 0.3s ease; | ||
border: none; | ||
} | ||
|
||
.card__date::before { | ||
content: "📅"; | ||
display: inline-block; | ||
.card__image-container:hover .card__image { | ||
filter: grayscale(100%) brightness(80%); | ||
opacity: 0.7; | ||
} | ||
|
||
.card__date { | ||
.card__overlay { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
text-align: center; | ||
display: block; | ||
font-size: 12px; | ||
text-transform: uppercase; | ||
color: #343a40; | ||
margin: 2% 0; | ||
} | ||
|
||
.card__content { | ||
color: #343a40; | ||
padding: 4%; | ||
flex-grow: 1; | ||
} | ||
|
||
.card a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
#blog_content_area { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
#blog_content_area.page-updated { | ||
transition: all 0.3s ease-in-out; | ||
} | ||
|
||
#blog_content_area.page-updated .card { | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
.fade-out { | ||
background-color: rgba(0, 0, 0, 0.5); | ||
padding: 10px; | ||
border-radius: 5px; | ||
opacity: 0; | ||
transition: opacity 0.3s ease-in-out; | ||
transition: opacity 0.3s ease; | ||
} | ||
|
||
.fade-in { | ||
.card__image-container:hover .card__overlay { | ||
opacity: 1; | ||
transition: opacity 0.3s ease-in-out; | ||
} | ||
|
||
.card__title { | ||
font-size: 18px; | ||
color: white; | ||
} | ||
|
||
.col-lg-6 { | ||
margin-bottom: 3%; | ||
display: flex; | ||
.card__date { | ||
color: white; | ||
} |
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
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
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
Oops, something went wrong.