Skip to content
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
Binary file added IVAN-MARAKHOVSKII/cloud_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/dot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/dot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/dot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions IVAN-MARAKHOVSKII/index.html
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&deg;</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>
Binary file added IVAN-MARAKHOVSKII/refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/scroll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
135 changes: 135 additions & 0 deletions IVAN-MARAKHOVSKII/style.css
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;
Copy link

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

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;
}
Binary file added IVAN-MARAKHOVSKII/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/tempIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/waterdrop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IVAN-MARAKHOVSKII/wind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
175 changes: 175 additions & 0 deletions node_modules/normalize.css/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading