Skip to content
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

Week6 authentication application #102

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
320 changes: 14 additions & 306 deletions week-1/solutions/vs-code-landing-page/index.css
Original file line number Diff line number Diff line change
@@ -1,310 +1,18 @@
/* Global Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
body{
background-color: #0d1117;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
text-decoration: none;
color: #0078d4;
}

.buttonBanner {
color: #9ba3b4;
background-color: rgba(255,255,255,0.04);
padding: 10px;
font-size: 16px;
border-radius: 32px;
border: 1px solid rgba(255,255,255,0.07);
}

.bannerLink {
padding-right: 8px;
}

.container {
display: flex;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.heroContainer {
display: flex;
justify-content: space-between;
}

.heroContainer > div {
text-align:left;
}

.flex {
display: flex;
}

.navContainer {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
}

.verticalCenter {
display: flex;
flex-direction: column;
justify-content: center;
}

.navLink {
padding-left: 20px;
color: gray;
}

.topImage {
padding-right: 12px;
}

.banner {
padding: 10px;
background-color: black;
color: gray;
font-size: 14px;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: center;
}

.navLink:hover {
color: white;
}

.searchInput {
border-radius: 5px;
border: 1px solid rgb(255, 255, 255, 0.2);
padding: 8px;
font-size: 16px;
background-color: black;
}

.downloadButton {
background-color: #0078d4;
color: white;
border: none;
padding: 7px;
padding-left: 0px;
width: 120px;
padding-right: 0px;
font-size: 16px;
border-radius: 5px;
margin-left: 10px;
}

/* Header Styles */
header {
background-color: black;
color: white;
}

section {
background-color: black;
}

header h1 {
margin: 0;
font-size: 2em;
}

nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: space-around;
}

nav li {
margin: 0 10px;
}

nav a {
color: #0078d4;
font-size: 1em;
transition: color 0.3s;
}

nav a:hover {
color: #007acc;
}

/* Hero Section Styles */
.hero {
background: linear-gradient(180deg, #0e0e0e 0%, #141414 100%);
color: white;
padding: 100px 20px;
text-align: center;
}

.hero h2 {
font-size: 3em;
margin: 0;
}

.hero p {
font-size: 1.2em;
}

.cta-button {
display: inline-block;
background: #0078d4;
color: white;
padding: 15px 30px;
font-size: 1.2em;
border-radius: 5px;
margin-top: 20px;
transition: background 0.3s;
}

.cta-button:hover {
background: #e5b800;
}

/* Features Section Styles */
.features {
color: #f4f4f4;
background: #111;
padding: 50px 20px;
}

.features .feature {
text-align: center;
margin-bottom: 20px;
}

.features h3 {
font-size: 2em;
}

.features p {
font-size: 1.1em;
}

/* Language Style */
.language {
color: white;
}

.language .container {
display: grid;
grid-template-columns: 1fr 2fr;
grid-auto-flow: dense;
grid-template-rows: auto 1fr;
column-gap: 2rem;
}

.language .container p{
font-size: 16px;
font-weight: 500;
line-height: 160%;
color:#9ba3b4;
}

.language .language_panel{
grid-column: 2 / 3;
grid-row: 1 / 3;
display: grid;
grid-template-columns: max-content 1fr max-content 1fr max-content 1fr;
align-items: center;
padding-inline: 2.5rem
}

.language_panel img {
height: 40px;
width: auto;
}
/* Footer Styles */
footer {
background: #333;
color: white;
text-align: center;
padding: 10px 20px;
}

footer p {
margin: 0;
}

/* Responsive Styles */
@media (width < 1200px) {
.heroContainer div:has(img) {
width: 66.66666667%;
padding-inline: 2.5rem;
}
.heroContainer img {
width: 100%;
}
.container {
max-width: 970px;
}
.navContainer {
max-width: 1060px;
}
.language .container {
grid-template-columns: 1fr 1fr;
}
.features h3 {
font-size: 1.5em;
}

.features p {
font-size: 1em;
}
}

@media (max-width: 768px) {
.hero {
padding-block: 40px;
}

.hero p {
font-size: 1em;
}

.features {
padding: 30px 20px;
}

.features .feature {
margin-bottom: 15px;
}
.features h3 {
font-size: 1.2em;
}

.features p {
font-size: .75em;
}
.verticalCenter > div:has(.navLink) {
display: none;
}
.navContainer {
max-width: 600px;
}
.heroContainer {
flex-direction: column;
align-items: center;
gap:40px

}
.heroContainer > div {
text-align: center
}
.heroContainer div:has(img) {
width: 100%;
}
.language .language_panel {
grid-template-columns: max-content 1fr max-content 1fr;
}
.topLink {
color: gray;
cursor: pointer;
padding-right: 20px;
transition: color 0.2s ease; /* Smooth transition for color change */

font-weight: bold;
font: 16px;
}

.topLink:hover {
color: white;
}
Loading