-
-
Notifications
You must be signed in to change notification settings - Fork 620
London9-OlehPysmenko-Week1 #491
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
Open
tiritaki
wants to merge
18
commits into
CodeYourFuture:master
Choose a base branch
from
tiritaki:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
25ba14f
feat: creating header, nav
e9c28b2
feat: introducing karma
a88ae34
feat: heading underline
41571b1
feat: social
4bc21df
feat: adding live link
32a73d3
feat: changing font waight for link in nav
803f2a0
feat: fixing backgound image
5dd23f2
feat: adding connection section
4787070
feat: creating store page
b5eca63
feat: fixing links between pages
9576eed
feat: adding form to shop
ff37fbd
feat: adding form
a05d29f
feat" fixing radio button block
f455a4b
feat: fixing issues with checkbox
b9dd681
feat: fixing checkbox
dd30842
feat: fixing checkbox label aligment
1705abf
feat: fixing background image
0896c6e
feat: adding changes to background image
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 |
|---|---|---|
| @@ -0,0 +1,227 @@ | ||
|
|
||
| /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ | ||
|
|
||
| body { | ||
| font-family: 'Roboto', sans-serif; | ||
| -webkit-font-smoothing: antialiased; | ||
| } | ||
|
|
||
| /** | ||
| * Add your custom styles below | ||
| * | ||
| * Remember: | ||
| * - Be organised, use comments and separate your styles into meaningful chunks | ||
| * for example: General styles, Navigation styles, Hero styles, Footer etc. | ||
| * | ||
| * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' | ||
| */ | ||
|
|
||
| body { | ||
| margin: 0; | ||
| } | ||
|
|
||
| body, | ||
| button { | ||
| color: var(--grey-dark); | ||
| font-size: 1rem; | ||
| } | ||
|
|
||
| h1,h2,h3,h4,h5,h6 { | ||
| margin-top: 0; | ||
| margin-bottom: 0; | ||
| } | ||
|
|
||
| p { | ||
| margin-top: 0; | ||
| margin-bottom: 0; | ||
| } | ||
|
|
||
| .header, | ||
| .content, | ||
| .footer { | ||
| padding: 0 1.5rem; | ||
| margin: 0 auto; | ||
| } | ||
| /* Header */ | ||
| .header { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-around; | ||
| height: 5rem; | ||
| margin-bottom: 1rem; | ||
| padding-top: 1rem; | ||
| } | ||
|
|
||
| .header__logo { | ||
| max-height: 40px; | ||
| width: 40px; | ||
| } | ||
|
|
||
| /* Navigation */ | ||
|
|
||
| .navigation__list { | ||
| display: flex; | ||
| list-style: none; | ||
| gap: 20px; | ||
| } | ||
|
|
||
| .navigation__item { | ||
| padding: 0.5rem 0; | ||
| } | ||
|
|
||
| .navigation__link { | ||
| color: var(--grey-dark); | ||
| font-weight: 300; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .navigation__link:hover { | ||
| color: #c05326; | ||
| } | ||
|
|
||
| /* karma-store */ | ||
| .content-store { | ||
| display: flex; | ||
| justify-content: space-evenly; | ||
| } | ||
|
|
||
| .article__summary { | ||
| font-size: 50px; | ||
| font-weight: 500; | ||
| color: #c05326; | ||
| } | ||
| /* contact-form */ | ||
| .orderForm{ | ||
| display : flex; | ||
| flex-direction : column; | ||
| width: 501px; | ||
| height: 1200px; | ||
| left: 122px; | ||
| /* background-color: aquamarine; */ | ||
| } | ||
|
|
||
| .orderForm h2 { | ||
| justify-content: center; | ||
| margin-top: 117px; | ||
| } | ||
| .Line { | ||
| margin-top: 60px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| } | ||
| input { | ||
| width: 100%; | ||
| padding: 12px 20px; | ||
| margin: 8px 0px; | ||
| display: block; | ||
| border-radius: 4px; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| input:checked { | ||
| border: 1px solid black; | ||
| } | ||
| .address { | ||
| width: 100%; | ||
| } | ||
|
|
||
| select { | ||
| width: 170%; | ||
| padding: 12px 20px; | ||
| margin: 8px 0px; | ||
| display: block; | ||
| border: 1px solid black; | ||
| border-radius: 4px; | ||
| box-sizing: border-box; | ||
| } | ||
| legend { | ||
| font-size: 21px; | ||
| font-weight: 500; | ||
| } | ||
| fieldset { | ||
| margin-top: 60px; | ||
| border: 0px; | ||
| } | ||
| .radio { | ||
| display: flex; | ||
| gap: 10px; | ||
| margin-top: 10px; | ||
| } | ||
|
|
||
| #orange { | ||
| width: 30px; | ||
| accent-color: #c05326; | ||
|
|
||
| } | ||
| #grey { | ||
| width: 30px; | ||
| accent-color: #c05326; | ||
| } | ||
| .label { | ||
| font-size: 21px; | ||
| font-weight: 400; | ||
| } | ||
| .get_karma { | ||
| background-color: #c05326; | ||
| border-radius: 3px; | ||
| border: none; | ||
| margin-top: 20px; | ||
| padding: 15px; | ||
| color: white; | ||
| font-size: 22px; | ||
| font-weight: 500; | ||
| width: 200px; | ||
| } | ||
| .checkbox { | ||
| accent-color: #c05326; | ||
| margin-top: 60px; | ||
| width: 100%; | ||
| display: flex; | ||
| } | ||
|
|
||
| .checkbox-line{ | ||
| margin-left: 10px; | ||
| font-size: 18px; | ||
| font-weight: 400; | ||
| display: block; | ||
| } | ||
|
|
||
| .checkbox-input { | ||
| height: 20px; | ||
| width: 20px; | ||
| background-color: #eee; | ||
| } | ||
| /* Footer */ | ||
|
|
||
| .footer { | ||
| margin-top: 2rem; | ||
| } | ||
|
|
||
| .footer__content { | ||
| border-top: 2px solid lightgray; | ||
| padding-top: 0; | ||
| padding-bottom: 1rem; | ||
| } | ||
|
|
||
| .footer p { | ||
| padding-bottom: 1rem; | ||
| text-align: center; | ||
| font-size: 0.85rem; | ||
| } | ||
| .social { | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 20px; | ||
| } | ||
| .social-icons { | ||
| max-height: 30px; | ||
| width: 30px; | ||
| border: solid 1px lightgray; | ||
| border-radius: 50%; | ||
| } | ||
|
|
||
| .footer__content p { | ||
| padding-top: 20px; | ||
| font-size: 1rem; | ||
| font-weight: 300; | ||
| } | ||
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.
https://www.freecodecamp.org/news/css-naming-conventions-that-will-save-you-hours-of-debugging-35cea737d849/
this is a good reading about class naming convention. I was discovering myself as well while sending it 😄