generated from Real-Dev-Squad/website-template
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
Rucha1499
merged 9 commits into
Real-Dev-Squad:develop
from
ghosharnab969:feat/login-header
Aug 29, 2021
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6ea498a
re-designed header and nav bar
ghosharnab969 ba1f211
final changes for header and navbar made
ghosharnab969 3ca51d8
requested changes made
ghosharnab969 62887eb
made requested changes to he code
ghosharnab969 6abed25
commented code removed
ghosharnab969 7044079
navbar contens styling enhanced
ghosharnab969 1cb4267
hover effect given to nav contents
ghosharnab969 32486c3
unwanted file removed
ghosharnab969 0a20895
added link to new-feeds container
ghosharnab969 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,61 +2,195 @@ | |
box-sizing: border-box; | ||
} | ||
|
||
.container { | ||
width: 750px; | ||
text-align: center; | ||
font-size: 1.5rem; | ||
body { | ||
margin: 0; | ||
} | ||
|
||
.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; | ||
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. 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; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
There was a problem hiding this comment.
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! 😃
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have corrected the code.