-
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
Showing
2 changed files
with
133 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
html { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
color: black; | ||
background-color: white; | ||
} | ||
|
||
nav { | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 0.5rem; | ||
gap: 0.5rem; | ||
background-color: #eee; | ||
border-bottom: 2px solid #aaa; | ||
} | ||
|
||
nav a { | ||
display: inline-block; | ||
min-width: 8rem; | ||
padding: 0.75rem 1.5rem; | ||
border-radius: 5px; | ||
border: 1px solid transparent; | ||
text-align: center; | ||
text-decoration: none; | ||
color: #f9f9f9; | ||
background-color: #2c3e50; /* Dark blue-gray background */ | ||
transition: background-color 0.3s, border-color 0.3s; /* Smooth transition */ | ||
} | ||
|
||
nav a:hover { | ||
background-color: #1abc9c; /* Teal color on hover */ | ||
color: #fff; | ||
border-color: #16a085; /* Teal border on hover */ | ||
} | ||
|
||
nav a[aria-current='page'] { | ||
color: #fff; | ||
background-color: #16a085; /* Teal background for the current page */ | ||
} | ||
|
||
header { | ||
text-align: center; | ||
padding: 2rem 0; | ||
background: linear-gradient(135deg, #1abc9c, #16a085); /* Gradient background for the header */ | ||
color: #fff; | ||
} | ||
h1{ | ||
font-size: 2.5rem; /* Larger font size for the header */ | ||
} | ||
|
||
main { | ||
padding: 0.5rem; | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | ||
gap: 1rem; /* Adjust spacing between boxes */ | ||
justify-items: center; | ||
} | ||
|
||
h1{ | ||
text-align: center; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.box { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background: #ffffff; /* White background for the boxes */ | ||
border-radius: 10px; | ||
height: 220px; | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); | ||
transition: transform 0.3s, box-shadow 0.3s, background 0.3s; | ||
} | ||
.box:hover { | ||
transform: translateY(-5px); | ||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); | ||
background: #f9f9f9; /* Light gray background on hover */ | ||
} | ||
|
||
.folder-link { | ||
color: #fff; | ||
padding: 1rem 2rem; | ||
background: linear-gradient(135deg, #1abc9c, #16a085); /* Gradient background */ | ||
text-decoration: none; | ||
font-size: 1.2rem; | ||
border-radius: 8px; | ||
text-align: center; | ||
transition: background 0.3s, transform 0.3s; | ||
} | ||
|
||
|
||
.folder-link:hover { | ||
background: linear-gradient(135deg, #16a085, #1abc9c); /* Inverted gradient on hover */ | ||
transform: scale(1.05); /* Slight scale-up effect */ | ||
} |