Skip to content

Commit fef0f43

Browse files
committed
Bonus - Older course website version
1 parent 7aef353 commit fef0f43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+8062
-0
lines changed

legacy/Omnifood - After Section 7/index.html

Lines changed: 458 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/* Big tablet to 1200px (widths smaller taht the 1140px row) */
2+
@media only screen and (max-width: 1200px) {
3+
.hero-text-box {
4+
width: 100%;
5+
padding: 0 2%;
6+
}
7+
8+
.row { padding: 0 2%; }
9+
}
10+
11+
12+
/* Small tablet to big tablet: from 768px to 1023px */
13+
@media only screen and (max-width: 1023px) {
14+
body { font-size: 18px; }
15+
section { padding: 60px 0; }
16+
17+
.long-copy {
18+
width: 80%;
19+
margin-left: 10%;
20+
}
21+
22+
.steps-box { margin-top: 10px; }
23+
.steps-box:last-child { margin-top: 10px; }
24+
.works-steps { margin-bottom: 40px; }
25+
.works-step:last-of-type { margin-bottom: 60px; }
26+
27+
.app-screen { width: 50%; }
28+
29+
.icon-small {
30+
width: 17px;
31+
margin-right: 5px;
32+
}
33+
34+
.city-feature { font-size: 90%; }
35+
36+
.plan-box {
37+
width: 100%;
38+
margin-left: 0%;
39+
}
40+
41+
.plan-price { font-size: 250%; }
42+
.contact-form { width: 80%; }
43+
}
44+
45+
46+
47+
/* Small phones to small tablets: from 481px to 767px */
48+
@media only screen and (max-width: 767px) {
49+
body { font-size: 16px; }
50+
section { padding: 30px 0; }
51+
52+
.row,
53+
.hero-text-box { padding: 0 4%; }
54+
.col {
55+
width: 100%;
56+
margin: 0 0 4% 0;
57+
}
58+
59+
60+
.main-nav { display: none; }
61+
.mobile-nav-icon {display: inline-block;}
62+
63+
.main-nav {
64+
float: left;
65+
margin-top: 30px;
66+
margin-left: 25px;
67+
}
68+
69+
.main-nav li {
70+
display: block;
71+
}
72+
73+
.main-nav li a:link,
74+
.main-nav li a:visited {
75+
display: block;
76+
border: 0;
77+
padding: 10px 0;
78+
font-size: 100%;
79+
}
80+
81+
.sticky .main-nav { margin-top: 10px; }
82+
83+
.sticky .main-nav li a:link,
84+
.sticky .main-nav li a:visited { padding: 10px 0; }
85+
.sticky .mobile-nav-icon { margin-top: 10px; }
86+
.sticky .mobile-nav-icon i { color: #555; }
87+
88+
89+
90+
h1 { font-size: 180%; }
91+
h2 { font-size: 150%; }
92+
93+
.long-copy {
94+
width: 100%;
95+
margin-left: 0%;
96+
}
97+
98+
.app-screen { width: 40%; }
99+
.steps-box:first-child { text-align: center; }
100+
101+
.works-step div {
102+
height: 40px;
103+
width: 40px;
104+
margin-right: 15px;
105+
padding: 4px;
106+
font-size: 120%;
107+
}
108+
109+
.works-step { margin-bottom: 20px; }
110+
.works-step:last-of-type { margin-bottom: 20px; }
111+
112+
}
113+
114+
115+
116+
/* Small phones: from 0 to 480px */
117+
@media only screen and (max-width: 480px) {
118+
section { padding: 25px 0; }
119+
.contact-form {width: 100%; }
120+
}
121+

0 commit comments

Comments
 (0)