Skip to content

Commit 55f2e88

Browse files
committed
Modify styles and index
1 parent 7415e1b commit 55f2e88

File tree

2 files changed

+13
-32
lines changed

2 files changed

+13
-32
lines changed

index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@
1919
<div class="nersh-bruce">
2020
<div class="search-container">
2121
<form action="#">
22-
<input type="text" id="search-box" class="search-box" placeholder="search like a nerd..." autocomplete="off" oninput="showSuggestions()">
22+
<input type="text" id="search-box" class="search-box" placeholder="Yeah type here..." autocomplete="off" oninput="showSuggestions()">
2323
<ul id="suggestions-list" class="suggestions-list"></ul>
2424
<!-- <button type="submit" class="search-button">nersh-it</button> -->
2525
</form>
2626
</div>
2727
</div>
28-
29-
<footer>
30-
<p><a href="">Privacy</a></p>
31-
<p><a href="">Contact</a></p>
32-
<p><a href="">Docs</a></p>
33-
<p><a href="">Copyright</a></p>
34-
</footer>
3528
</div>
3629

3730
<script src="script.js"></script>

styles.css

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ header {
3434
}
3535

3636
.logo {
37-
font-size: 1.5em;
37+
font-size: 2.5em;
3838
font-weight: bold;
3939
color: #ffffff;
4040
margin-left: 10px;
@@ -47,12 +47,14 @@ header {
4747
}
4848

4949
.home-b, .about-b {
50-
font-size: 1.5rem;
50+
font-size: 2rem;
5151
font-weight: bold;
5252
color: #ffffff;
5353
margin-left: 10px;
5454
padding-right: 15px;
5555
padding-left: 15px;
56+
padding-top: 12px;
57+
padding-bottom: 10px;
5658
cursor: pointer;
5759
border-radius: 1.2rem;
5860
backdrop-filter: blur(10px);
@@ -120,9 +122,10 @@ header h1 {
120122
height: 40px;
121123
padding: 10px;
122124
font-size: 25px;
123-
border-radius: 20px 0 0 20px;
125+
border-radius: 20px 20px 20px 20px;
124126
border: none;
125127
outline: none;
128+
font-weight: 700;
126129
background-color: rgba(245, 245, 245, 0.589);
127130
}
128131

@@ -142,10 +145,12 @@ header h1 {
142145

143146
/* Suggestions list */
144147
.suggestions-list {
148+
font-weight: 600;
149+
font-size: 25px;
145150
list-style: none;
146151
padding: 0;
147152
margin: 0;
148-
background-color: #303134;
153+
background-color: #4a537044;
149154
width: 400px;
150155
border-radius: 10px;
151156
position: absolute;
@@ -157,31 +162,14 @@ header h1 {
157162
.suggestions-list li {
158163
padding: 10px;
159164
cursor: pointer;
165+
transition: 0.2s;
160166
}
161167

162168
.suggestions-list li:hover {
163-
background-color: #3c4043;
164-
}
165-
166-
/* Footer styling */
167-
footer {
168-
display: flex;
169-
justify-content: space-evenly;
170-
margin-top: 5rem;
171-
}
172-
173-
footer a {
174-
color: white;
169+
background-color: #326c9969;
170+
box-shadow: 2px ;
175171
}
176172

177-
footer a:hover {
178-
text-transform: lowercase;
179-
}
180-
181-
footer p {
182-
margin-top: 30px;
183-
color: #9aa0a6;
184-
}
185173

186174
/* Responsiveness */
187175
@media (max-width: 768px) {

0 commit comments

Comments
 (0)