Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a5fb25
commit 23f0744
Showing
216 changed files
with
6,288 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Defaults from lesson01 - step-10. | ||
|
||
Georgia font-family added to paragraphs. |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.button { | ||
display: inline-block; | ||
|
||
padding: 10px; | ||
margin-top: 15px; | ||
|
||
border-radius: 30px; | ||
|
||
font-size: 16px; | ||
line-height: 16px; | ||
|
||
text-decoration: none; | ||
|
||
transition: all .5s; | ||
} | ||
|
||
.button:hover { | ||
box-shadow: 2px 2px 5px #888888; | ||
} | ||
|
||
@media all and (max-width: 599px) { | ||
.button { | ||
display: block; | ||
margin: 30px 50px; | ||
padding: 20px; | ||
|
||
text-align: center; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
body { | ||
background-color: #F4F4F4; | ||
} | ||
|
||
.bg-white { | ||
background-color: #FFFFFF; | ||
color: #58585A; | ||
} | ||
|
||
.bg-brown { | ||
background-color: #F8F7F0; | ||
color: #58585A; | ||
} | ||
|
||
.bg-gray { | ||
background-color: #58585A; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-red { | ||
background-color: #C92C1E; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-blue { | ||
background-color: #2879CB; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-dark-brown { | ||
background-color: #E8E3CE; | ||
color: #58585A; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
html, body, div, p, ul, ol, li, h1, h2, h3, h4, h5, h6 { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-size:10px; | ||
line-height:10px; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-family: "Roboto", sans-serif; | ||
} | ||
|
||
|
||
h1 { | ||
font-size: 28px; | ||
line-height: 32px; | ||
|
||
margin-bottom: 24px; | ||
} | ||
|
||
h2 { | ||
font-size: 24px; | ||
line-height: 28px; | ||
|
||
margin-bottom: 20px; | ||
} | ||
|
||
h3 { | ||
font-size: 20px; | ||
line-height: 24px; | ||
|
||
margin-bottom: 16px; | ||
} | ||
|
||
p { | ||
font-size: 16px; | ||
line-height: 20px; | ||
|
||
font-family: Georgia, Arial, sans-serif; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
img { | ||
width: 100%; | ||
height: auto; | ||
|
||
display: block; | ||
|
||
margin: 0; | ||
} | ||
|
||
.w200 { | ||
max-width: 200px; | ||
} | ||
|
||
@media all and (max-width: 599px) { | ||
.w200 { | ||
margin-bottom: 20px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
} |
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.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Simple page layout</title> | ||
|
||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
|
||
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" /> | ||
|
||
<link rel="stylesheet" href="defaults.css" /> | ||
<link rel="stylesheet" href="colors.css" /> | ||
<link rel="stylesheet" href="layout.css" /> | ||
<link rel="stylesheet" href="button.css" /> | ||
<link rel="stylesheet" href="images.css" /> | ||
</head> | ||
<body> | ||
Content | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.container600 { | ||
width: 600px; | ||
margin: 0 auto; | ||
} | ||
|
||
.cols .w33p { | ||
width: 33.33%; | ||
float: left; | ||
} | ||
|
||
.cols .w66p { | ||
width: 66.66%; | ||
float: left; | ||
} | ||
|
||
.clr { | ||
clear: both; | ||
} | ||
|
||
.marginTop100 { | ||
margin-top: 100px; | ||
} | ||
|
||
.padding30 { | ||
padding: 30px; | ||
} | ||
|
||
.paddingLeft10 { | ||
padding-left: 10px; | ||
} | ||
|
||
.center { | ||
text-align: center; | ||
} | ||
|
||
@media all and (max-width: 599px) { | ||
.container600 { | ||
width: 100%; | ||
} | ||
|
||
.reorder .w33p { | ||
width: 100%; | ||
} | ||
|
||
.reorder .w66p { | ||
width: 100%; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Adding new container: .container800 |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.button { | ||
display: inline-block; | ||
|
||
padding: 10px; | ||
margin-top: 15px; | ||
|
||
border-radius: 30px; | ||
|
||
font-size: 16px; | ||
line-height: 16px; | ||
|
||
text-decoration: none; | ||
|
||
transition: all .5s; | ||
} | ||
|
||
.button:hover { | ||
box-shadow: 2px 2px 5px #888888; | ||
} | ||
|
||
@media all and (max-width: 599px) { | ||
.button { | ||
display: block; | ||
margin: 30px 50px; | ||
padding: 20px; | ||
|
||
text-align: center; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
body { | ||
background-color: #F4F4F4; | ||
} | ||
|
||
.bg-white { | ||
background-color: #FFFFFF; | ||
color: #58585A; | ||
} | ||
|
||
.bg-brown { | ||
background-color: #F8F7F0; | ||
color: #58585A; | ||
} | ||
|
||
.bg-gray { | ||
background-color: #58585A; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-red { | ||
background-color: #C92C1E; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-blue { | ||
background-color: #2879CB; | ||
color: #FFFFFF; | ||
} | ||
|
||
.bg-dark-brown { | ||
background-color: #E8E3CE; | ||
color: #58585A; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
html, body, div, p, ul, ol, li, h1, h2, h3, h4, h5, h6 { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-size:10px; | ||
line-height:10px; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-family: "Roboto", sans-serif; | ||
} | ||
|
||
|
||
h1 { | ||
font-size: 28px; | ||
line-height: 32px; | ||
|
||
margin-bottom: 24px; | ||
} | ||
|
||
h2 { | ||
font-size: 24px; | ||
line-height: 28px; | ||
|
||
margin-bottom: 20px; | ||
} | ||
|
||
h3 { | ||
font-size: 20px; | ||
line-height: 24px; | ||
|
||
margin-bottom: 16px; | ||
} | ||
|
||
p { | ||
font-size: 16px; | ||
line-height: 20px; | ||
|
||
font-family: Georgia, Arial, sans-serif; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
img { | ||
width: 100%; | ||
height: auto; | ||
|
||
display: block; | ||
|
||
margin: 0; | ||
} | ||
|
||
.w200 { | ||
max-width: 200px; | ||
} | ||
|
||
@media all and (max-width: 599px) { | ||
.w200 { | ||
margin-bottom: 20px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
} |
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.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Simple full-width stripes layout</title> | ||
|
||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
|
||
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" /> | ||
|
||
<link rel="stylesheet" href="defaults.css" /> | ||
<link rel="stylesheet" href="colors.css" /> | ||
<link rel="stylesheet" href="layout.css" /> | ||
<link rel="stylesheet" href="button.css" /> | ||
<link rel="stylesheet" href="images.css" /> | ||
</head> | ||
<body class="bg-gray"> | ||
<div class="container800 bg-white"> | ||
wide container | ||
</div> | ||
<div class="container600 bg-blue"> | ||
narrow container | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.