Skip to content

Commit d442d5f

Browse files
committed
added content
1 parent 9d3c27a commit d442d5f

2 files changed

Lines changed: 47 additions & 35 deletions

File tree

index.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Staple</title>
88
<link rel="stylesheet" href="style.css" />
9+
<style>
10+
@media (max-width: 480px) {
11+
12+
}
13+
</style>
914
</head>
1015
<body>
1116
<header>
@@ -42,10 +47,14 @@ <h2>Rice</h2>
4247
<h3>Benefits</h3>
4348
<h2 style="text-align: right">We know</h2>
4449
<p>
45-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Error,
46-
ratione dolorum. Facilis minus provident nulla libero dicta, laborum
47-
natus nobis. Unde fugit aspernatur cum sunt, a nostrum! Harum, id
48-
temporibus.
50+
A 100g serving of white rice (boiled) provides:
51+
<ul style="padding-top: 5%">
52+
<li>131 kcal/560KJ</li>
53+
<li>2.8g protein</li>
54+
<li>0.4g fat</li>
55+
<li>31.1g carbohydrate</li>
56+
<li>0.5g fibre</li>
57+
</ul>
4958
</p>
5059
</div>
5160
<div>
@@ -63,9 +72,11 @@ <h2 style="text-align: right">We know</h2>
6372
With the help of studies conducted by researchers all over India,
6473
we’ve tried to uncover some of the medicinal rice varieties of C.G.
6574
</p>
66-
<a href="med-rice.html" class="index-sec-3-btn"><button>Learn more</button></a>
75+
<a href="med-rice.html" class="index-sec-3-btn"
76+
><button>View</button></a
77+
>
6778
</div>
68-
<div>
79+
<!-- <div>
6980
<p>
7081
molestiae non neque illum non perspiciatis dolorem est optio molestias
7182
a delectus quaerat? Qui reprehenderit fugiat et iste doloribus et
@@ -75,12 +86,12 @@ <h2 style="text-align: right">We know</h2>
7586
<a href="#" class="index-sec-3-btn" style="margin-left: 10%"
7687
><button>Learn more</button></a
7788
>
78-
</div>
89+
</div> -->
7990
</section>
8091
<section class="index-sec-4">
8192
<div>
8293
<h6>Farmer's Portal</h6>
83-
<a href="#" class="index-sec-4-btn"><button>Enter</button></a>
94+
<a href="portal.html" class="index-sec-4-btn"><button>Enter</button></a>
8495
</div>
8596
</section>
8697
<section class="index-sec-5">
@@ -96,11 +107,9 @@ <h5>Contact</h5>
96107
</form>
97108
<article>
98109
<p>
99-
Lorem ipsum dolor sit amet. Et enim molestiae non neque illum non
100-
perspiciatis dolorem est optio molestias a delectus quaerat? Qui
101-
reprehenderit fugiat et iste doloribus et fugiat porro.
110+
If you'd like to know more about the rice varieties and the authenticity of the information on this page.
102111
</p>
103-
<p>Lorem ipsum dolor sit amet. Et enim molestiae non neque illum.</p>
112+
<p>Feel free to contact us on below email or fill the form so that we can contact you!</p>
104113
<strong>staple@gmail.com</strong>
105114
</article>
106115
</div>
@@ -113,4 +122,4 @@ <h5>Contact</h5>
113122
</div>
114123
</section>
115124
</body>
116-
</html>
125+
</html>

style.css

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ header {
153153
text-transform: uppercase;
154154
}
155155

156-
.index-sec-2 p {
156+
.index-sec-2 p,
157+
.index-sec-2 ul {
157158
font-style: normal;
158159
font-weight: 300;
159160
font-size: 30px;
@@ -281,13 +282,15 @@ img[alt="rice-bowl"] {
281282
}
282283

283284
.index-sec-3-btn {
284-
margin: auto;
285+
margin-right: auto;
285286
padding-bottom: 130px;
287+
padding-left: 15%;
286288
}
287289

288290
.index-sec-3-btn button:hover {
289291
cursor: pointer;
290-
opacity: 80%;
292+
/* opacity: 80%; */
293+
background-color: #486804;
291294
}
292295

293296
.index-sec-3-btn button,
@@ -827,25 +830,6 @@ max-width: 420px;
827830
border-bottom-left-radius: 0;
828831
}
829832

830-
@media (max-width: 480px) {
831-
.search-header h2 {
832-
font-size: 50px;
833-
}
834-
.footer div a {
835-
font-size: 19px;
836-
}
837-
.search-input {
838-
padding: 20px;
839-
}
840-
/* .search-button{
841-
width: 100px;
842-
} */
843-
.search-header {
844-
width: fit-content;
845-
padding: 40px;
846-
}
847-
}
848-
849833
@media (max-width: 767px) {
850834
.search-header {
851835
flex-direction: column;
@@ -864,6 +848,25 @@ max-width: 420px;
864848
}
865849
}
866850

851+
@media (max-width: 480px) {
852+
.please {
853+
font-size: 50px;
854+
}
855+
.footer div a {
856+
font-size: 19px;
857+
}
858+
.search-input {
859+
padding: 20px;
860+
}
861+
/* .search-button{
862+
width: 100px;
863+
} */
864+
.search-header {
865+
width: fit-content;
866+
padding: 40px;
867+
}
868+
}
869+
867870
/* input[type=search]:focus {
868871
} */
869872

0 commit comments

Comments
 (0)