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

re-designed header and nav bar #175

Merged
merged 9 commits into from Aug 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
214 changes: 174 additions & 40 deletions css/pages/index.css
Expand Up @@ -2,61 +2,195 @@
box-sizing: border-box;
}

.container {
width: 750px;
text-align: center;
font-size: 1.5rem;
body {
margin: 0;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly leave one line after writing CSS for a class/id. Code will not look crowded that way! 😃

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't comment that it is our code
GitHub lens automatically mentions in whose comments these changes are committed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harshith actually we kept the old css for now we will remove it while integrating all the components of the screen

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am mentioning line 5 here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly leave one line after writing CSS for a class/id. Code will not look crowded that way! 😃

I have corrected the code.


.cards-title {
margin-bottom: 32px;
color: #e20665;
.first-screen {
background-color: #041187;
width: 100%;
}

.cards {
.first-screen header {
position: relative;
height: 30%;
display: flex;
justify-content: space-around;
flex-flow: row wrap;
justify-content: space-between;
}

#logo {
width: 5em;
height: 5em;
position: relative;
top: 1.5em;
left: 3em;
}

.card {
border: 1px solid #f3efef;
box-shadow: 0 0 15px -9px rgba(0, 0, 0, 0.65);
border-radius: 2px;
width: 30%;
padding: 18px 15px;
.main-nav {
width: 44%;
height: 1.6em;
position: relative;
top: 1.3em;
display: flex;
align-self: center;
font-family: 'roboto';
justify-content: space-between;
flex-wrap: nowrap;
}

.nav-text {
color: #fff;
text-decoration: none;
font-size: 1.08em;
}

.nav-text:hover {
color: #88d870;
}

a.nav-text.welcome {
color: #88d870;
border-bottom: 0.12em solid #88d870;
}

.sign-in-button {
width: 16em;
height: 2.5em;
text-align: center;
background-color: #041187;
color: #fff;
border: 0.2em solid #fff;
border-radius: 0.6em;
position: relative;
top: 2.8em;
right: 3em;
display: flex;
justify-content: center;
align-items: center;
font-weight: 600;
font-size: 0.8em;
text-align: center;
color: #000000;
}

.card:hover {
box-shadow: 0 0 20px -8px rgba(0, 0, 0, 0.65);
color: #000000;
#git-logo {
width: 1.5em;
height: 1.7em;
position: relative;
left: 0.5em;
border-radius: 20%;
}

.card:active {
background-color: #fff;
color: #929292;
div.heading-container {
display: inline-block;
position: relative;
top: 5em;
left: 2em;
font-family: 'raleway';
}

#first-line {
font-size: 4.3em;
width: 9em;
height: 1em;
display: inline-block;
position: relative;
top: 0.8em;
left: 0.8em;
}

#welcome-text {
color: #e30062;
}

#to-the-text {
color: #fff;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use shorthand for font here too.

font-weight: 400;
}

#real-dev-squad-text {
color: #fff;
font-weight: 700;
font-size: 2.3em;
line-height: 0.6em;
position: relative;
left: 0.8em;
top: 1.2em;
}

.handles-container {
display: flex;
justify-content: center;
align-items: center;
justify-content: space-between;
height: 2em;
width: 32em;
position: relative;
left: 5em;
top: 6.9em;
}

.social-handles {
margin: 3em 0;
font-size: 1em;
}

@media screen and (max-width: 780px) {
.container {
max-width: 95%;
font-size: 0.9rem;
}
.card {
padding: 10px;
}
.logo-img {
margin: 0;
}
font-family: 'roboto';
font-weight: 500;
margin: 0;
text-decoration: none;
color: #fff;
}

.handles-logos {
position: relative;
bottom: 3px;
left: -5px;
}

.separator {
height: 1.5em;
width: 0.2em;
position: relative;
bottom: 0.2em;
}

.welcome-image {
width: 34%;
height: 30%;
float: right;
position: relative;
left: -6em;
top: 4em;
margin-bottom: 10em;
}

.news-feeds-container {
width: 76%;
height: 3.5rem;
position: relative;
top: -2em;
left: 9em;
border-radius: 0.6em;
background-color: #fff;
display: flex;
justify-content: space-evenly;
align-items: center;
font: 1em 'poppins';
box-sizing: border-box;
}

.new-tag {
width: 5rem;
height: 2.8rem;
background: linear-gradient(130deg, #f3036b, #dc7faf, #e30062);
color: #091133;
font: 1.05rem 'poppins';
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.4em;
}

#checkout-tag {
font-size: 1.1em;
}

#arrow-icon {
position: relative;
right: 2.5rem;
height: 2em;
}
Binary file added img/re-designed images/RDS-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/arrow icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/facebook logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/github logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/instagram logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/linkedIn logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/separator icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/twitter logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/re-designed images/welcome-image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.