Skip to content

Commit 960dd90

Browse files
committed
Code Enhancements
1 parent 960f7ca commit 960dd90

File tree

13 files changed

+1468
-768
lines changed

13 files changed

+1468
-768
lines changed

Project-OmniFood/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## ⭐ Omnifood-Never Cook Again ⭐
2+
A Food Delivery AI Startup's **Fully Responsive** website, built using **HTML5, CSS3, and JavaScript.**
3+
<br>
4+
<br>
5+
6+
## 📌 **Live Site URL:** <a href="https://omnifood-ai-startup.netlify.app/" target="_blank">**Visit Now** 🚀</a>
7+
<br>
8+
9+
10+
## 📌 Tech Stack
11+
[![HTML](https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white)](https://github.com/prakash-naikwadi)&nbsp;
12+
[![CSS](https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white)](https://github.com/prakash-naikwadi)&nbsp;
13+
[![JS](https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)](https://github.com/prakash-naikwadi)
14+
<br>
15+
<br>
16+
17+
## 📌 Overview
18+
**YouTube URL:** <a href="https://youtu.be/Xku3ypsSTIw" target="_blank">**Watch Now** 🚀</a>
19+
<br>
20+
![Screenshot](/screenshots/hero-section.jpg?raw=true "Hero Section Of Website")
21+
![Screenshot](/screenshots/call-to-action-section.jpg?raw=true "Call To Action Section")
22+
23+
## 📌 My process
24+
- I started Udemy Course "Build Responsive Real-World Websites with HTML and CSS" by Jonas Schmedtmann.<a href="https://www.udemy.com/course/design-and-develop-a-killer-website-with-html5-and-css3/" target="_blank"> **Check🚀 (Not Sponsered)**</a>
25+
- I feel confident while writing CSS 👊.
26+
- This project has given me the confidence to build any complex layouts 👊.
27+
- Still, we all know that learning CSS is a never-ending process 🚫.
28+
29+
30+
## 📌 What I Learn
31+
👉 Web design principles.
32+
👉 How to optimize the website for production.
33+
👉 How to design a website from scratch.
34+
👉 Responsive Design (still Kevin Powell's Responsive Web Design course is the best)
35+
36+
## 📬 Connect With Me
37+
- **LinkedIn** - [Prakash Naikwadi](https://www.linkedin.com/in/prakash-naikwadi/)
38+
- **Twitter** - [@PrakashNaikwad6](https://www.twitter.com/PrakashNaikwad6)
39+
40+
## 📌 Acknowledgments
41+
- This ReadMe File Inspired From - [Jigar Sable](https://github.com/jigar-sable)
42+
- Course Instructor - [Jonas Schmedtmann](https://codingheroes.io/)
43+
- Icons Used For Tech Stack Section - [https://img.shields.io](https://img.shields.io)
Lines changed: 95 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,138 @@
1+
/*
2+
3+
--- 01 TYPOGRAPHY SYSTEM
4+
5+
- FONT SIZES SYSTEM (px)
6+
7+
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
8+
9+
- FONT WEIGHTS:
10+
Default : 400,
11+
Medium : 500,
12+
Semi-Bold : 600,
13+
Bold : 700
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+
1.2px
24+
25+
--- 02 COLORS
26+
27+
Primary: #e67e22 , #cf711f
28+
Tints: #fdf2e9 , #fae5d3
29+
Shades: #cf711f
30+
Accents:
31+
Greys: #555 , #333
32+
33+
--- 05 SHADOWS
34+
35+
36+
--- 06 BORDER-RADIUS
37+
Defualt: 9px
38+
39+
-- 07 WHITESPACE
40+
41+
- SPACING SYSTEM (px)
42+
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
43+
44+
45+
46+
*/
47+
148
* {
2-
padding: 0;
349
margin: 0;
50+
padding: 0;
451
box-sizing: border-box;
552
}
653

754
html {
55+
/* font-size: 10px; */
56+
/* 10px / 16px = 0.625 = 62.5% */
857
font-size: 62.5%;
58+
overflow-x: hidden;
59+
60+
/* not work on safari */
61+
/* scroll-behavior: smooth; */
962
}
1063

1164
body {
1265
font-family: "Rubik", sans-serif;
1366
line-height: 1;
1467
font-weight: 400;
1568
color: #555;
69+
overflow-x: hidden;
1670
}
1771

18-
/**************************/
19-
/* GENRAL REUSABLE COMPONENTS */
20-
/**************************/
21-
72+
/*******************************/
73+
/* General Reusable Components */
74+
/*******************************/
2275
.container {
23-
/* 1140px */
2476
max-width: 120rem;
25-
padding: 0 3.2rem;
2677
margin: 0 auto;
78+
padding: 0 3.2rem;
2779
}
2880

2981
.grid {
3082
display: grid;
3183
column-gap: 6.4rem;
3284
row-gap: 9.6rem;
33-
/* margin-bottom: 9.6rem; */
85+
/* padding: 3.2rem; */
3486
}
3587

36-
/* .grid:last-child {
88+
.grid:last-child {
3789
margin-bottom: 0;
38-
} */
90+
}
3991

4092
.grid:not(:last-child) {
4193
margin-bottom: 9.6rem;
4294
}
4395

44-
.grid--2--cols {
96+
.grid--2-cols {
4597
grid-template-columns: repeat(2, 1fr);
4698
}
4799

48-
.grid--3--cols {
100+
.grid--3-cols {
49101
grid-template-columns: repeat(3, 1fr);
50102
}
51103

52-
.grid--4--cols {
104+
.grid--4-cols {
53105
grid-template-columns: repeat(4, 1fr);
54106
}
55107

56-
.grid--5--cols {
108+
.grid--5-cols {
57109
grid-template-columns: repeat(5, 1fr);
58110
}
59111

60-
.grid--center--v {
112+
.grid--center-v {
61113
align-items: center;
62114
}
63115

64-
.heading__primary,
65-
.heading__secondary,
66-
.heading__tertiary {
67-
font-weight: 700;
68-
color: #333;
69-
/* color: #45260a; */
70-
/* color: #343a40; */
116+
.heading-primary,
117+
.heading-secondary,
118+
.heading-tertiary {
71119
letter-spacing: -0.5px;
120+
color: #333;
121+
font-weight: 700;
72122
}
73123

74-
.heading__primary {
124+
.heading-primary {
75125
font-size: 5.2rem;
76126
line-height: 1.05;
77127
margin-bottom: 3.2rem;
78128
}
79129

80-
.heading__secondary {
130+
.heading-secondary {
81131
font-size: 4.4rem;
82-
line-height: 1.2;
83132
margin-bottom: 9.6rem;
84133
}
85134

86-
.heading__tertiary {
135+
.heading-tertiary {
87136
font-size: 3rem;
88137
line-height: 1.2;
89138
margin-bottom: 3.2rem;
@@ -93,7 +142,7 @@ body {
93142
display: block;
94143
font-size: 1.6rem;
95144
font-weight: 500;
96-
color: #cf711f;
145+
color: #e67e22;
97146
text-transform: uppercase;
98147
margin-bottom: 1.6rem;
99148
letter-spacing: 0.75px;
@@ -103,33 +152,19 @@ body {
103152
.btn:link,
104153
.btn:visited {
105154
display: inline-block;
106-
107-
text-decoration: none;
108-
font-size: 2rem;
109155
font-weight: 600;
156+
font-size: 2rem;
157+
text-decoration: none;
110158
padding: 1.6rem 3.2rem;
111159
border-radius: 9px;
112160

113-
/* Only necessary for .btn */
161+
/* only necessory for button */
114162
border: none;
115163
cursor: pointer;
116-
font-family: inherit;
164+
color: inherit;
117165

118-
/* Put transition on original "state" */
119-
/* transition: background-color 0.3s; */
120166
transition: all 0.3s;
121167
}
122-
.btn--form {
123-
background-color: #45260a;
124-
color: #fdf2e9;
125-
align-self: center;
126-
padding: 1.2rem;
127-
}
128-
129-
.btn--form:hover {
130-
background-color: #fff;
131-
color: #555;
132-
}
133168

134169
.btn--full:link,
135170
.btn--full:visited {
@@ -152,9 +187,8 @@ body {
152187
.btn--outline:active {
153188
background-color: #fdf2e9;
154189

155-
/* border: 3px solid #fff; */
190+
/* border: 2px solid #fff; */
156191

157-
/* Trick to add border inside */
158192
box-shadow: inset 0 0 0 3px #fff;
159193
}
160194

@@ -166,18 +200,18 @@ body {
166200
}
167201

168202
.btn--form:hover {
169-
background-color: #fff;
203+
background-color: #fdf2e9;
170204
color: #555;
171205
}
172206

173207
.link:link,
174208
.link:visited {
175209
display: inline-block;
176-
color: #e67e22;
177210
text-decoration: none;
211+
color: #e67e22;
178212
border-bottom: 1px solid currentColor;
179213
padding-bottom: 2px;
180-
transition: all 0.3s;
214+
transition: all 0.35s;
181215
}
182216

183217
.link:hover,
@@ -186,34 +220,34 @@ body {
186220
border-bottom: 1px solid transparent;
187221
}
188222

189-
.list__items {
223+
.list {
190224
list-style: none;
191225
display: flex;
192226
flex-direction: column;
193227
gap: 1.6rem;
194228
}
195229

196-
.list__item {
230+
.list-item {
197231
font-size: 1.8rem;
232+
198233
display: flex;
199234
align-items: center;
200235
gap: 1.6rem;
201236
}
202237

203-
.list__icon {
238+
.list-icon {
204239
width: 3rem;
205240
height: 3rem;
206241
color: #e67e22;
207242
}
208243

209244
*:focus {
210245
outline: none;
211-
/* outline: 4px dotted #e67e22; */
212-
/* outline-offset: 8px; */
213-
box-shadow: 0 0 0 0.8rem rgba(230, 125, 34, 0.5);
246+
box-shadow: 0 0 0 0.8rem rgba(230, 125, 34, 0.494);
214247
}
215248

216-
/* HELPER/SETTINGS CLASSES */
249+
/* Helper Classes */
250+
217251
.margin-right-sm {
218252
margin-right: 1.6rem !important;
219253
}
@@ -222,10 +256,10 @@ body {
222256
margin-bottom: 4.8rem !important;
223257
}
224258

225-
.center-text {
226-
text-align: center;
227-
}
228-
229259
strong {
230260
font-weight: 500;
261+
}
262+
263+
.centered-text {
264+
text-align: center;
231265
}

0 commit comments

Comments
 (0)