-
Notifications
You must be signed in to change notification settings - Fork 12
task 1 #6
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
notnotzero
wants to merge
11
commits into
epam-js-jun-2019:master
Choose a base branch
from
notnotzero: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
task 1 #6
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2a64b88
first task
b76fc9d
- width and height for grid
68d625d
css styles
c9d95f9
pixel perfect 80% done
76a07d7
pag dots added
7fcd1a5
gradient added
5cccdeb
~~~
7444b4d
completed
bcca642
stylesheet link repair
68a2eb2
css code refactor
6b70313
mistakes correction
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,66 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
| <link rel="stylesheet" href="../node_modules/normalize.css/normalize.css" /> | ||
| <link rel="stylesheet" href="style.css" /> | ||
| <title>New Jersey</title> | ||
| <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" rel="stylesheet" /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="grid"> | ||
| <div class="wheather-widget"> | ||
| <div class="refresh-icon"> | ||
| <img src="refresh.png" alt="" /> | ||
| </div> | ||
| <div class="wheather-image"> | ||
| <img src="cloud_icon.png" alt="" /> | ||
| </div> | ||
| <div class="info-block"> | ||
| <div class="temp-info-left">79°</div> | ||
| <div class="info-text"> | ||
| <span class="info-text-top">Cloudy Skies</span> | ||
| <span class="info-text-bottom">Sicklerville, New Jersey</span> | ||
| </div> | ||
| <div class="day-info"> | ||
| <span class="topDayText">May</span> | ||
| <span class="bottomDayText">21</span> | ||
| </div> | ||
| </div> | ||
| <div class="stats"> | ||
| <div class="first-page"> | ||
| <div class="wind"> | ||
| <img src="wind.png" alt="" /> | ||
| <span>2 MPH</span> | ||
| </div> | ||
| <div class="humidity"> | ||
| <img src="waterdrop.png" alt="" /> | ||
| <span>33%</span> | ||
| </div> | ||
| <div class="sun"> | ||
| <img src="sun.png" alt="" /> | ||
| <span>83%</span> | ||
| </div> | ||
| </div> | ||
|
|
||
| <ul class="pagination"> | ||
| <li> | ||
| <img src="dot1.png" alt="" /> | ||
| </li> | ||
| <li> | ||
| <img src="dot2.png" alt="" /> | ||
| </li> | ||
| <li> | ||
| <img src="dot3.png" alt="" /> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,135 @@ | ||
| body { | ||
| background-color: #515c65; | ||
| background-image: linear-gradient(to right, #33383c, #77828a, #33383c); | ||
| } | ||
| ul { | ||
| padding : 0; | ||
| margin : 0; | ||
|
|
||
| list-style-type: none; | ||
| list-style-image: none; | ||
| } | ||
| .pagination li{ | ||
| display: inline; | ||
| } | ||
| .grid { | ||
| display: grid; | ||
| grid-template: 24.2% 1fr 24.1% / 40.15% 1fr 39.6%; | ||
|
|
||
| height: 95vh; | ||
| } | ||
| .wheather-widget { | ||
| grid-column-start: 2; | ||
| grid-row-start: 2; | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| background-color: #f1f8f9; | ||
| border-radius: 10px; | ||
| } | ||
| .refresh-icon { | ||
| width: 100%; | ||
| height: 20px; | ||
| padding: 0px 15px 15px 15px; | ||
| margin-top: 16px; | ||
| margin-left: 351px; | ||
| } | ||
| .wheather-image { | ||
| display: flex; | ||
| align-items: center; | ||
|
|
||
| margin: 32px 0px 53px 126px; | ||
| } | ||
| .info-block { | ||
| display: flex; | ||
| } | ||
| .temp-info-left{ | ||
| padding : 10px 0px 0px 15px; | ||
|
|
||
| font-size : 40px; | ||
| color : #a2a9ad; | ||
| font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif | ||
| } | ||
| .info-text { | ||
| padding: 11px 0px 14px 14px; | ||
|
|
||
| font-family: "Times New Roman", Times, serif; | ||
| letter-spacing: 1px; | ||
| color: #a2a9ad; | ||
| } | ||
| .info-text-top { | ||
| font-size: 22px; | ||
| font-weight: 200; | ||
| } | ||
| .info-text-bottom { | ||
| font-weight: 900; | ||
| font-size: 14px; | ||
| } | ||
| .day-info { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: center; | ||
|
|
||
| height: 67px; | ||
| margin-left: auto; | ||
| padding : 2px 13px 0px 19px; | ||
|
|
||
| background-color: #54bae6; | ||
|
|
||
| font-family: "Open Sans", sans-serif; | ||
| font-weight: 600; | ||
| letter-spacing: 1px; | ||
| color: white; | ||
| text-transform: uppercase | ||
| } | ||
| .top-day-text { | ||
| margin-top: 3px; | ||
| margin-bottom: 5px; | ||
|
|
||
| font-size: 14px; | ||
| } | ||
| .bottom-day-text { | ||
| font-size: 18px; | ||
| } | ||
| .stats { | ||
| height: 100%; | ||
| margin-top: 11px; | ||
| padding: 0px 45px 0px 45px; | ||
|
|
||
| border-bottom-left-radius: 10px; | ||
| border-bottom-right-radius: 10px; | ||
| background-color: #2e3335; | ||
|
|
||
| font-family: "Kanit", sans-serif; | ||
| font-size: 14px; | ||
| font-weight: 500; | ||
| color: white; | ||
| } | ||
| .stats img { | ||
| margin-right: 16px; | ||
| } | ||
| .first-page { | ||
| display: flex; | ||
| justify-content: space-between; | ||
|
|
||
| margin-top: 44px; | ||
|
|
||
| } | ||
| .wind, | ||
| .sun, | ||
| .humidity { | ||
| display: flex; | ||
| align-items: center; | ||
|
|
||
| margin-right : 10px; | ||
|
|
||
| font-weight: bold; | ||
| } | ||
| .pagination { | ||
| margin-left: 123px; | ||
| margin-top: 40px; | ||
| } | ||
| .pagination img { | ||
| margin-right: 3px; | ||
| } | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Try to keep in mind order of properties, group them by type
1 - layout (position, display)
2 - anything related to box model (width/height/margin/padding)
3 - styling for element (color, background, box-shadow)
4 - anything related to font
5 - other stuff, it also includes overflow, z-index