-
Notifications
You must be signed in to change notification settings - Fork 8
Homepage HTML & CSS #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b4f8e29
Added navbar HTML + CSS
NoobSlayer28 9947f1e
Homepage HTML & CSS
NoobSlayer28 256f322
Merge branch 'main' into main
LearnPRG-py 2aa4c5e
.html - Replaced dummy text with commented text (with formatting), .c…
NoobSlayer28 c138109
Merge branch 'LearnPRG-py:main' into main
NoobSlayer28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,15 +1,219 @@ | ||
| /* Cooper Hewitt Font Family */ | ||
| @import url(Common/styles.css); | ||
| /* Color Scheme Media Specifications */ | ||
| :root { | ||
| --dark-blue: #131c4e; | ||
| --mid-blue: #5b86b6; | ||
| --light-blue: #bbdbff; | ||
|
|
||
| --smoky-black: #0e0e0e; | ||
| } | ||
|
|
||
| /* Cooper Hewitt Font Family | ||
| Link: https://fontsource.org/fonts/cooper-hewitt/cdn */ | ||
| @font-face { | ||
| font-family: 'Cooper Hewitt'; | ||
| font-style: normal; | ||
| font-display: swap; | ||
| font-weight: 400; /* Body text */ | ||
| src: | ||
| url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-normal.woff2) format('woff2'), | ||
| url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-normal.woff) format('woff'); | ||
| } | ||
|
|
||
| @font-face { | ||
| font-family: cooper-hewitt; | ||
| src: url("C:\Users\DELL\Downloads\cooper-hewitt.zip") | ||
| font-family: 'Cooper Hewitt'; | ||
| font-style: normal; | ||
| font-display: swap; | ||
| font-weight: 600; /* Semi-Bold / Demi-Bold thickness */ | ||
| src: | ||
| url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-600-normal.woff2) format('woff2'), | ||
| url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-600-normal.woff) format('woff'); | ||
| } | ||
|
|
||
| body { | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cut the commenting to inflate lines added. |
||
| font-family: cooper-hewitt; | ||
| background-color: var(--bg-color); | ||
| margin: 0; | ||
| padding: 0; | ||
| font-family: 'Cooper Hewitt'; | ||
| color: #f8f8ff; | ||
| } | ||
|
|
||
| /* Navigation Bar */ | ||
| nav { | ||
|
LearnPRG-py marked this conversation as resolved.
|
||
| background-color: #1a1a1a; | ||
| position: fixed; | ||
| width: 100%; | ||
| top: 0; | ||
| left: 0; | ||
| z-index: 100; | ||
|
|
||
| display: flex; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .logo { | ||
| font-size: 20px; | ||
| padding-left: 50px; | ||
| } | ||
|
|
||
| nav ul { | ||
| list-style-type: none; | ||
| margin: 0; | ||
| padding: 0; | ||
|
|
||
| display: flex; | ||
| align-items: center; | ||
| gap: 25px; | ||
| margin-left: auto; | ||
| margin-right: 50px; | ||
| } | ||
|
|
||
| nav ul li a { | ||
| display: block; | ||
| padding: 20px 0; | ||
| text-decoration: none; | ||
| transition: color 0.3s ease; | ||
| } | ||
|
|
||
| nav ul li a:hover { | ||
| color: var(--light-blue); | ||
| } | ||
|
|
||
| .btn { | ||
| padding: 8px 14px; | ||
| background-color: var(--mid-blue); | ||
| border-radius: 5px; | ||
| } | ||
|
|
||
| /* Hero Section */ | ||
| .hero { | ||
| height: 100vh; | ||
| width: 100%; | ||
| /* Placeholder background until the Art & Design members of the Marketing Department create a graphic image for the Hero Section */ | ||
| background: linear-gradient(to bottom right, var(--smoky-black), var(--dark-blue)); | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .hero h1 { | ||
| font-size: 64px; | ||
| margin-bottom: 15px; | ||
| } | ||
|
|
||
| .hero p { | ||
| font-size: 20px; | ||
| color: var(--light-blue); | ||
| margin-bottom: 30px; | ||
| } | ||
|
|
||
| .hero-btn { | ||
| display: inline-block; | ||
| padding: 12px 28px; | ||
| background-color: var(--mid-blue); | ||
| border-radius: 10px; | ||
| cursor: pointer; | ||
| transition: transform 0.3s ease, background 0.3s ease; | ||
| } | ||
|
|
||
| .hero-btn:hover { | ||
| transform: scale(1.05); | ||
| background-color: var(--light-blue); | ||
| color: #000; | ||
| } | ||
|
|
||
| /* Sections */ | ||
| .content { | ||
| padding: 50px 20%; | ||
| background-color: var(--smoky-black); | ||
| } | ||
|
|
||
| .content h2, | ||
| .content h3 { | ||
| color: var(--light-blue); | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .content h3 { | ||
| font-size: 20px; | ||
| } | ||
|
|
||
| /* The Exigency Section */ | ||
| .hook { | ||
| font-size: 1.25rem; | ||
| font-weight: 600; | ||
| } | ||
|
|
||
| /* Link styling */ | ||
| .link { | ||
| color: var(--light-blue); | ||
| text-decoration: none; | ||
| font-weight: 600; | ||
| border-bottom: 1px solid transparent; | ||
| transition: color 0.25s ease, border-bottom 0.25s ease; | ||
| } | ||
|
|
||
| .link:hover { | ||
| color: var(--mid-blue); | ||
| border-bottom: 1px solid var(--mid-blue); | ||
| } | ||
|
|
||
| /* Strong emphasis text */ | ||
| strong { | ||
| color: var(--light-blue); | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| /* Our Mission & Vision Section */ | ||
| .container { | ||
| display: flex; | ||
| gap: 20px; | ||
| } | ||
|
|
||
| .box { | ||
| flex: 1; | ||
| padding: 20px; | ||
| border: thick solid var(--light-blue); | ||
| border-radius: 10px; | ||
| transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
| } | ||
|
|
||
| /* Levitation effect on hover */ | ||
| .box:hover { | ||
| transform: translateY(-5px); | ||
| box-shadow: 0 0 20px var(--light-blue); | ||
| } | ||
|
|
||
| /* Responsive web design */ | ||
|
LearnPRG-py marked this conversation as resolved.
|
||
| @media (max-width: 768px) { | ||
| .container { | ||
| flex-direction: column; | ||
| } | ||
| } | ||
|
|
||
| /* Footer */ | ||
| footer p { | ||
| text-align: center; | ||
| } | ||
|
|
||
| /* Animations */ | ||
| .fade-in { | ||
| opacity: 0; /* Invisible */ | ||
| animation: fadeIn 1.2s forwards; | ||
| } | ||
|
|
||
| .fade-in-delay { | ||
| opacity: 0; | ||
| animation: fadeIn 1.2s forwards; | ||
| animation-delay: 0.5s; /* Appears after h1 */ | ||
| } | ||
|
|
||
| @keyframes fadeIn { | ||
| to { | ||
| opacity: 1; /* Visible */ | ||
| } | ||
| } | ||
|
|
||
| /* Progress Updates Section - Update Cards */ | ||
| #updates-section, | ||
| .updates-dark { | ||
| width: 100vw; | ||
|
|
@@ -198,4 +402,4 @@ body { | |
| .left-shadow, | ||
| .right-shadow { | ||
| display: none !important; | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.