-
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.
- Loading branch information
1 parent
15e0100
commit 75ebbc2
Showing
2 changed files
with
122 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* Global Styles */ | ||
body { | ||
margin: 0; | ||
font-family: 'Arial', sans-serif; | ||
background: linear-gradient(to bottom, #87CEEB, #4682B4); /* Sky gradient */ | ||
color: #fff; | ||
text-align: center; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
/* Header */ | ||
.header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 10px 20px; | ||
background: rgba(0, 0, 0, 0.6); | ||
position: fixed; | ||
width: 100%; | ||
top: 0; | ||
z-index: 1000; | ||
} | ||
|
||
.logo h1 { | ||
margin: 0; | ||
font-size: 1.8rem; | ||
font-weight: bold; | ||
} | ||
|
||
.nav a { | ||
margin: 0 15px; | ||
font-size: 1rem; | ||
} | ||
|
||
/* Main Section */ | ||
.main { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background: url('background-image.jpg') no-repeat center center/cover; /* Replace with actual image */ | ||
padding-top: 60px; /* To offset the fixed header */ | ||
} | ||
|
||
.content h2 { | ||
font-size: 2.5rem; | ||
margin: 10px 0; | ||
} | ||
|
||
.content p { | ||
font-size: 1.2rem; | ||
} | ||
|
||
/* Footer */ | ||
.footer { | ||
background: rgba(0, 0, 0, 0.8); | ||
padding: 10px; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
|
||
/* Responsive Design */ | ||
@media (max-width: 768px) { | ||
.nav a { | ||
margin: 0 10px; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.content h2 { | ||
font-size: 2rem; | ||
} | ||
|
||
.content p { | ||
font-size: 1rem; | ||
} | ||
} | ||
|