Skip to content

Commit 3089b86

Browse files
committed
more omnifood
1 parent 4b59c03 commit 3089b86

File tree

3 files changed

+480
-43
lines changed

3 files changed

+480
-43
lines changed
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
/*
2+
3+
--- 01 Typography system
4+
5+
- Font sizes (px)
6+
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
7+
8+
- Font weights
9+
Default: 400
10+
Medium: 500
11+
Semi-bold: 600
12+
Bold: 700
13+
14+
15+
- Line heights
16+
Default: 1
17+
Small: 1.05
18+
Medium: 1.2
19+
Paragraph default: 1.6
20+
21+
- Letter spacing
22+
-0.5px
23+
-0.75px
24+
25+
--- 02 Colors
26+
27+
- Primary: #e67e22
28+
- Tints:
29+
#fdf2e9
30+
#fae5d3
31+
- Shades: #cf711f
32+
- Accents:
33+
- Greys:
34+
#555
35+
#333
36+
37+
38+
--- 05 Shadows
39+
40+
41+
--- 06 Border radius
42+
43+
Default: 9px
44+
45+
46+
--- 07 Whitespace
47+
48+
- Spacing (px)
49+
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
50+
51+
52+
53+
54+
*/
55+
56+
* {
57+
padding: 0;
58+
margin: 0;
59+
box-sizing: border-box;
60+
}
61+
62+
html {
63+
/* font-size: 10px; */
64+
font-size: 62.5%;
65+
}
66+
67+
body {
68+
font-family: Rubik, sans-serif;
69+
line-height: 1;
70+
font-weight: 400;
71+
color: #555;
72+
}
73+
74+
/***********************************/
75+
/* General components */
76+
/***********************************/
77+
78+
.container {
79+
max-width: 120rem;
80+
margin: 0 auto;
81+
padding: 0 3.2rem;
82+
}
83+
84+
.grid {
85+
display: grid;
86+
gap: 9.6rem 6.4rem;
87+
}
88+
89+
.grid--2-cols {
90+
grid-template-columns: repeat(2, 1fr);
91+
}
92+
93+
.grid--3-cols {
94+
grid-template-columns: repeat(3, 1fr);
95+
}
96+
97+
.grid--4-cols {
98+
grid-template-columns: repeat(4, 1fr);
99+
}
100+
101+
.grid--center-v {
102+
align-items: center;
103+
}
104+
105+
.heading-primary,
106+
.heading-secondary {
107+
font-weight: 700;
108+
color: #333;
109+
/* color: #45260a; */
110+
/* color: #343a40; */
111+
letter-spacing: -0.5px;
112+
}
113+
114+
.heading-primary {
115+
font-size: 5.2rem;
116+
line-height: 1.05;
117+
margin-bottom: 3.2rem;
118+
}
119+
120+
.heading-secondary,
121+
.heading-tertiary {
122+
font-size: 4.4rem;
123+
line-height: 1.2;
124+
margin-bottom: 9.6rem;
125+
}
126+
127+
.subheading {
128+
display: block;
129+
font-size: 1.6rem;
130+
font-weight: 500;
131+
color: #cf711f;
132+
text-transform: uppercase;
133+
margin-bottom: 1.6rem;
134+
letter-spacing: 0.75px;
135+
}
136+
137+
.heading-tertiary {
138+
font-size: 3rem;
139+
line-height: 1.2;
140+
margin-bottom: 3.2rem;
141+
}
142+
143+
.btn:link,
144+
.btn:visited {
145+
display: inline-block;
146+
147+
font-size: 2rem;
148+
text-decoration: none;
149+
color: #fff;
150+
padding: 1.6rem 3.2rem;
151+
border-radius: 9px;
152+
font-weight: 600;
153+
154+
transition: background-color 0.3s;
155+
}
156+
157+
.btn--full:link,
158+
.btn--full:visited {
159+
background-color: #e67e22;
160+
}
161+
162+
.btn--full:hover,
163+
.btn--full:active {
164+
background-color: #cf711f;
165+
}
166+
167+
.btn--outline:link,
168+
.btn--outline:visited {
169+
background-color: #fff;
170+
color: #555;
171+
}
172+
173+
.btn--outline:hover,
174+
.btn--outline:active {
175+
background-color: #fdf2e9;
176+
color: #555;
177+
/* border: 1px solid #e67e22; */
178+
box-shadow: inset 0 0 0 3px #fff;
179+
}
180+
181+
.margin-right-sm {
182+
margin-right: 1.6rem !important;
183+
}

0 commit comments

Comments
 (0)