-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrathamNadkarni.html
144 lines (136 loc) · 4.69 KB
/
PrathamNadkarni.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!--Name: Prathamesh Yogesh Nadkarni--><html>
<head>
<title>Code in the Dark</title>
<!-- index.html -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<style>
body {
background-color: lightblue;
}
.white-strip {
background-color: white;
height: 20px;
width: 100%;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 10px;
}
.navbar {
display: flex;
align-items: center;
margin-left: auto;
}
.search-box {
display: flex;
align-items: center;
margin-right: 10px;
}
.search-input {
border: none;
border-radius: 5px;
padding: 5px;
}
.search-icon {
margin-left: 5px;
width: 20px;
height: 20px;
}
.dropdown {
margin-right: 10px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.home {
background-color: transparent;
color: black;
outline: none;
border: none;
}
.dropbtn {
background-color: transparent;
color: black;
outline: none;
border: none;
position: relative;/* Add this line to remove the outline */
}
.dropbtn::after {
content: "";
position: absolute;
top: 50%;
left: 7px; /* Adjust the value to move the arrow towards the right */
transform: translateY(-50%);
border: solid black;
position: relative;
border-width: 0 2px 2px 0;
display: inline-block;
padding: 5px;
transform: rotate(45deg);
}
</style>
</head>
<body>
<div class="white-strip" style="padding: 50px 10px 10px 10px; height: 30px;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/CAT-Logo-small.png" alt="Logo">
<div class="navbar">
<div class="dropdown">
<button class="home">Home</button>
</div>
<div class="dropdown">
<button class="dropbtn">Pages</button>
<div class="dropdown-content" style="background-color: white; border-top: 1px solid black;">
<span style="color: black;">Page 1</span>
<hr style="border-color: black;">
<span style="color: black;">Page 2</span>
<hr style="border-color: black;">
<span style="color: black;">Page 3</span>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Blog</button>
<div class="dropdown-content">
<span style="color: black;">Blog 1</span>
<hr style="border-color: black;">
<span style="color: black;">Blog 2</span>
<hr style="border-color: black;">
<span style="color: black;">Blog 3</span>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Products</button>
<div class="dropdown-content">
<span style="color: black;">Product 1</span>
<hr style="border-color: black;">
<span style="color: black;">Product 2</span>
<hr style="border-color: black;">
<span style="color: black;">Product 3</span>
</div>
</div>
<div class="search-box">
<img src="search.png" alt="Search" class="search-icon">
<input type="text" class="search-input">
</div>
</div>
</div>
<div class="image-container">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/slider/truck.png" alt="Dropping Image" class="dropping-image" style="position: absolute; right: 0; top: 230px; animation: dropDown 1s ease-in-out;">
</div>
<div class="code-in-the-dark" style="font-weight: bold; font-size: 24px; text-align: center; position: relative; animation: enterFromLeft 1s ease-in-out;">
Code in the dark
</div>
</body>
</html>
</div>
</body>
</html>