-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,342 additions
and
175 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,352 @@ | ||
:root { | ||
--primary-color: #ffffff; | ||
--secondary-color: #f39c12; | ||
--text-color: #f8f8f8; | ||
--light-text-color: #cccccc; | ||
--background-color: rgba(0, 0, 0, 0.7); | ||
--transparent-bg: rgba(0, 0, 0, 0.6); | ||
--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Outfit', sans-serif; | ||
line-height: 1.6; | ||
color: var(--text-color); | ||
height: 100%; | ||
overflow-x: hidden; | ||
} | ||
.home-button { | ||
position: fixed; | ||
top: 20px; | ||
left: 20px; | ||
background-color: rgba(255, 255, 255, 0.8); | ||
color: #333; | ||
padding: 10px 20px; | ||
border-radius: 30px; | ||
text-decoration: none; | ||
font-family: 'Outfit', sans-serif; | ||
font-weight: 600; | ||
font-size: 16px; | ||
transition: all 0.3s ease; | ||
z-index: 1000; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.home-button:hover { | ||
background-color: rgba(255, 255, 255, 1); | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.home-button i { | ||
margin-right: 5px; | ||
} | ||
|
||
#background-video { | ||
position: fixed; | ||
right: 0; | ||
bottom: 0; | ||
min-width: 100%; | ||
min-height: 100%; | ||
width: auto; | ||
height: auto; | ||
z-index: -1000; | ||
object-fit: cover; | ||
background-size: cover; | ||
} | ||
|
||
.video-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
z-index: -999; | ||
} | ||
|
||
.hero { | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
color: var(--text-color); | ||
transition: all 0.5s ease; | ||
} | ||
|
||
.hero-content { | ||
background-color: transparent; | ||
padding: 2rem; | ||
border-radius: 10px; | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 4rem; | ||
margin-bottom: 1rem; | ||
text-shadow: 2px 2px 4px rgba(0,0,0,0.7); | ||
} | ||
|
||
.hero p { | ||
font-size: 1.5rem; | ||
text-shadow: 1px 1px 2px rgba(0,0,0,0.7); | ||
} | ||
|
||
.content-wrapper { | ||
position: relative; | ||
z-index: 1; | ||
padding: 2rem; | ||
margin-top: 10vh; | ||
} | ||
|
||
main { | ||
display: flex; | ||
gap: 2rem; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
} | ||
|
||
#blog-posts { | ||
flex: 2; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
} | ||
|
||
.blog-post { | ||
display: flex; | ||
gap: 1rem; | ||
background-color: var(--background-color); | ||
border-radius: 10px; | ||
overflow: hidden; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
.blog-post:hover { | ||
transform: translateY(-5px); | ||
box-shadow: var(--box-shadow); | ||
} | ||
|
||
.blog-image { | ||
width: 300px; | ||
height: 200px; | ||
object-fit: cover; | ||
} | ||
|
||
.blog-content { | ||
flex: 1; | ||
padding: 1rem; | ||
} | ||
|
||
.blog-content h2 { | ||
margin-top: 0; | ||
font-size: 1.8rem; | ||
color: var(--secondary-color); | ||
} | ||
|
||
.post-meta { | ||
color: var(--light-text-color); | ||
font-size: 0.9rem; | ||
margin-bottom: 1rem; | ||
display: flex; | ||
align-items: center; | ||
gap: 1rem; | ||
} | ||
|
||
.post-meta i { | ||
color: var(--secondary-color); | ||
} | ||
|
||
.tags { | ||
display: flex; | ||
gap: 0.5rem; | ||
margin-bottom: 1rem; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.tag { | ||
background-color: var(--secondary-color); | ||
color: var(--text-color); | ||
padding: 0.2rem 0.5rem; | ||
border-radius: 20px; | ||
font-size: 0.8rem; | ||
text-decoration: none; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.tag:hover { | ||
background-color: var(--primary-color); | ||
} | ||
|
||
.read-more { | ||
display: inline-block; | ||
margin-top: 1rem; | ||
color: var(--secondary-color); | ||
text-decoration: none; | ||
font-weight: bold; | ||
transition: color 0.3s ease; | ||
} | ||
|
||
.read-more:hover { | ||
color: var(--primary-color); | ||
} | ||
|
||
aside { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
} | ||
|
||
.transparent-box { | ||
background-color: var(--transparent-bg); | ||
border-radius: 10px; | ||
padding: 1.5rem; | ||
box-shadow: var(--box-shadow); | ||
} | ||
|
||
.widget h3 { | ||
margin-top: 0; | ||
color: var(--secondary-color); | ||
border-bottom: 2px solid var(--primary-color); | ||
padding-bottom: 0.5rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.widget ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.widget li { | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.widget a { | ||
color: var(--text-color); | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
} | ||
|
||
.widget a:hover { | ||
color: var(--secondary-color); | ||
} | ||
|
||
.related-post { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 1rem; | ||
background-color: var(--transparent-bg); | ||
border-radius: 5px; | ||
padding: 0.5rem; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.related-post:hover { | ||
background-color: rgba(0, 0, 0, 0.7); | ||
} | ||
|
||
.related-post img { | ||
width: 60px; | ||
height: 60px; | ||
object-fit: cover; | ||
border-radius: 5px; | ||
margin-right: 1rem; | ||
} | ||
|
||
.related-post h4 { | ||
margin: 0; | ||
font-size: 1rem; | ||
color: var(--secondary-color); | ||
} | ||
|
||
.related-post p { | ||
margin: 0; | ||
font-size: 0.8rem; | ||
color: var(--light-text-color); | ||
} | ||
|
||
.newsletter-form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
} | ||
|
||
.newsletter-form input { | ||
padding: 0.5rem; | ||
border: 1px solid var(--light-text-color); | ||
border-radius: 5px; | ||
} | ||
|
||
.newsletter-form button { | ||
background-color: var(--secondary-color); | ||
color: var(--text-color); | ||
border: none; | ||
padding: 0.5rem; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.newsletter-form button:hover { | ||
background-color: var(--primary-color); | ||
} | ||
|
||
@media (max-width: 768px) { | ||
main { | ||
flex-direction: column; | ||
} | ||
|
||
.blog-post { | ||
flex-direction: column; | ||
} | ||
|
||
.blog-image { | ||
width: 100%; | ||
height: 200px; | ||
} | ||
} | ||
|
||
/* Footer Styles */ | ||
footer { | ||
background-color: var(--background-color); | ||
color: var(--primary-color); | ||
padding: 2rem 0; | ||
text-align: center; | ||
} | ||
|
||
.footer-content { | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.footer-section { | ||
flex: 1; | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.footer-section h3 { | ||
color: var(--secondary-color); | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.social-icons a { | ||
color: var(--primary-color); | ||
font-size: 1.5rem; | ||
margin-right: 1rem; | ||
} | ||
|
||
.social-icons a:hover { | ||
color: var(--secondary-color); | ||
} | ||
|
||
.footer-bottom { | ||
background-color: var(--transparent-bg); | ||
padding: 1rem 0; | ||
} |
Oops, something went wrong.