Skip to content

Commit 6a906fd

Browse files
committed
Improved_Home
1 parent adef76c commit 6a906fd

File tree

2 files changed

+77
-45
lines changed

2 files changed

+77
-45
lines changed

index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
</nav>
2121
<!-- navBar end -->
2222
<div class="container">
23-
<h1>Who are we?</h1>
23+
<h1 id="main-heading">Who are we?</h1>
2424
<div class="container_1">
25-
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Maiores maxime blanditiis veritatis nisi eligendi repellendus, ducimus cupiditate quis veniam deserunt velit! Laboriosam assumenda, commodi quae neque fugit unde nam veniam aliquid optio? Necessitatibus sed maiores delectus ab perferendis magnam nobis excepturi vitae cum eos, enim ipsam quos explicabo, voluptas beatae assumenda, cupiditate quasi voluptatem ut nostrum culpa blanditiis quidem dolor veritatis. Eum mollitia amet est aliquid dicta, temporibus error laboriosam quos animi laudantium sequi ratione eius quam debitis veritatis libero deleniti a tempora tenetur aperiam repellat nihil! Ut voluptates at, aliquid architecto, aperiam, perferendis ipsa tempora esse vitae atque laudantium!</p>
26-
<img src="/public/images/home-img.png" alt="">
25+
<p id="about">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ex cumque accusantium, neque veritatis a est voluptates nisi sit odio mollitia.</p>
26+
<img id="home_img" src="/public/images/home-img.png" alt="">
2727
</div>
2828
<div class="container_2">
2929
<div class="first">
@@ -32,7 +32,7 @@ <h1>Who are we?</h1>
3232
</div>
3333
<div class="innerTwo">
3434
<h3>Problem of the day</h3>
35-
<button>visit</button>
35+
<button>VISIT</button>
3636
</div>
3737
</div>
3838
<div class="second">
@@ -41,7 +41,7 @@ <h3>Problem of the day</h3>
4141
</div>
4242
<div class="innerTwo">
4343
<h3>Contests</h3>
44-
<button>visit</button>
44+
<button>VISIT</button>
4545
</div>
4646
</div>
4747
</div>

public/css/index.css

+72-40
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
body {
88
height: 100vh;
99
width: 100%;
10-
background-color: black;
10+
background-color: rgb(26, 23, 32);
1111
color: white;
1212
}
1313

@@ -40,7 +40,7 @@ ul.nav-ul li a:hover:not(.active) {
4040
}
4141

4242
ul.nav-ul li a.active {
43-
color: #04aa6d;
43+
color: #84ebc5;
4444
}
4545

4646
ul.nav-ul li.right {
@@ -54,18 +54,30 @@ ul.nav-ul li.right {
5454
}
5555
}
5656

57-
h1 {
57+
#main-heading {
5858
margin-top: 60px;
5959
margin-left: 150px;
6060
color: bisque;
6161
text-align: start;
62+
font-size: 48px;
63+
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
64+
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
65+
}
66+
67+
#about {
68+
font-size: 35px;
69+
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif,
70+
"Lucida Sans", Arial, sans-serif;
6271
}
6372

6473
.container_1 {
6574
display: flex;
6675
margin: 50px 150px;
6776
gap: 18%;
6877
}
78+
#home_img {
79+
height: 300px;
80+
}
6981

7082
.container_2 {
7183
display: flex;
@@ -91,66 +103,86 @@ h1 {
91103
}
92104

93105
.first {
106+
padding: 10px;
94107
width: 50%;
95108
height: 50%;
96109
border: 3px solid rgb(132, 128, 128);
97110
border-radius: 10px;
98111
}
99112

100113
.second {
114+
padding: 10px;
101115
width: 50%;
102116
height: 50%;
103117
border: 3px solid rgb(146, 140, 140);
104118
border-radius: 10px;
105119
}
106120

121+
h3 {
122+
color: rgba(241, 177, 202, 0.995);
123+
font-size: 30px;
124+
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
125+
text-shadow: 2px 1px rgb(243, 31, 16);
126+
}
127+
107128
button {
129+
width: 120px;
108130
border-radius: 6px;
109131
padding: 8px;
110-
background-color: rgb(216, 236, 125);
132+
background-color: rgba(100, 11, 118, 0.806);
111133
margin: 10%;
112-
font-size: 18px;
113-
font-weight: 400;
114-
color: rgb(14, 14, 2);
115-
box-shadow: 2px 2px #0d0333;
134+
font-size: 26px;
135+
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
136+
font-weight: 700;
137+
color: whitesmoke;
138+
box-shadow: 2px 2px #ebeaed;
139+
}
140+
141+
button:hover {
142+
cursor: pointer;
143+
width: 140px;
144+
color: #e7eae6;
145+
background-color: #04aa6d;
116146
}
117147

118148
.innerOne img {
119-
width: 60%;
149+
width: 88%;
120150
}
121151

122-
.foot-container{
123-
display: flex;
124-
float: right;
125-
background-color: #0d0333; ;
152+
.foot-container {
153+
width: 100%;
154+
height: 45px;
155+
display: flex;
156+
justify-content: center;
157+
background-color: #0d0333;
126158
}
127159

128160
.fa {
129-
padding: 10px;
130-
font-size: 30px;
131-
width: 30px;
132-
text-align: center;
133-
text-decoration: none;
134-
margin: 5px 12px;
135-
border-radius: 70%;
136-
gap: 15px;
137-
}
138-
139-
.fa:hover {
140-
opacity: 0.7;
141-
}
142-
143-
.fa-facebook {
144-
background: #3B5998;
145-
color: white;
146-
}
147-
148-
.fa-twitter {
149-
background: #55ACEE;
150-
color: white;
151-
}
161+
padding: 10px;
162+
font-size: 30px;
163+
width: 30px;
164+
text-align: center;
165+
text-decoration: none;
166+
margin: 5px 42px;
167+
border-radius: 70%;
168+
gap: 15px;
169+
}
152170

153-
.fa-instagram {
154-
background: #125688;
155-
color: white;
156-
}
171+
.fa:hover {
172+
opacity: 0.8;
173+
}
174+
175+
.fa-facebook {
176+
background: #3b5998;
177+
color: white;
178+
}
179+
180+
.fa-twitter {
181+
background: #55acee;
182+
color: white;
183+
}
184+
185+
.fa-instagram {
186+
background: #125688;
187+
color: white;
188+
}

0 commit comments

Comments
 (0)