-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into navbarmodify
- Loading branch information
Showing
9 changed files
with
675 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
body { | ||
font-family: 'Arial', sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #f4f4f4; | ||
color: #333; | ||
} | ||
|
||
.container { | ||
width: 80%; | ||
margin: 20px auto; | ||
padding: 20px; | ||
background: white; | ||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
|
||
h1, | ||
h2 { | ||
text-align: center; | ||
color: #2C3E50; | ||
} | ||
|
||
p { | ||
line-height: 1.6; | ||
margin-bottom: 20px; | ||
text-align: justify; | ||
} | ||
|
||
.banner { | ||
background-color: #7ab7df; | ||
color: white; | ||
padding: 10px 0; | ||
margin-bottom: 20px; | ||
text-align: center; | ||
border-radius: 8px 8px 0 0; | ||
} | ||
|
||
.banner h1 { | ||
margin: 0; | ||
font-size: 2em; | ||
} | ||
|
||
.section { | ||
margin: 20px 0; | ||
} | ||
|
||
/* Style for the cards */ | ||
.cards { | ||
display: flex; | ||
justify-content: space-around; | ||
margin-top: 20px; | ||
} | ||
|
||
.card { | ||
background: #f9f9f9; | ||
border: 1px solid #ddd; | ||
border-radius: 10px; | ||
padding: 20px; | ||
width: 30%; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
text-align: center; | ||
margin: 0 10px; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
.card:hover { | ||
transform: translateY(-10px); | ||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
|
||
.card h3 { | ||
color: #2C3E50; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.card p { | ||
color: #555; | ||
font-size: 1em; | ||
} | ||
|
||
/* Responsive design for smaller screens */ | ||
@media (max-width: 768px) { | ||
.cards { | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.card { | ||
width: 80%; | ||
margin-bottom: 20px; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
|
||
.navbar { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 10px 20px; | ||
background-color: #2c3e50; | ||
color: white; | ||
} | ||
|
||
.nav-links { | ||
display: flex; | ||
gap: 15px; | ||
} | ||
|
||
.nav-links a { | ||
color: white; | ||
text-decoration: none; | ||
padding: 8px 12px; | ||
border-radius: 4px; | ||
} | ||
|
||
.nav-links a.active, | ||
.nav-links a:hover { | ||
background-color: #575757; | ||
} | ||
|
||
.theme-toggle-wrapper { | ||
margin-right: 10px; | ||
} | ||
|
||
.logo img { | ||
width: 40px; | ||
} | ||
|
||
/* Hamburger Menu Styles */ | ||
.hamburger { | ||
display: none; | ||
flex-direction: column; | ||
gap: 4px; | ||
cursor: pointer; | ||
} | ||
|
||
.hamburger div { | ||
width: 25px; | ||
height: 3px; | ||
background-color: white; | ||
} | ||
|
||
/* Responsive Styles */ | ||
@media (max-width: 768px) { | ||
.nav-links { | ||
display: none; | ||
flex-direction: column; | ||
gap: 10px; | ||
position: absolute; | ||
top: 60px; | ||
left: 20px; | ||
background-color: #333; | ||
padding: 10px; | ||
border-radius: 8px; | ||
} | ||
|
||
.navbar { | ||
position: relative; | ||
} | ||
|
||
.hamburger { | ||
display: flex; | ||
} | ||
|
||
.nav-links.show { | ||
display: flex; | ||
} | ||
} |
Oops, something went wrong.