Skip to content

Commit ed09a16

Browse files
committed
first commit
0 parents  commit ed09a16

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
<!DOCTYPE html>
3+
<html lang="en">
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<!-- CSS Link -->
9+
<link rel="stylesheet" href="style.css" />
10+
<!-- Font-Awesome CDN Link -->
11+
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css' rel='stylesheet'>
12+
<title>Document</title>
13+
</head>
14+
<!-- The Loading Function (reload to see) -->
15+
<body onload="myFunction()">
16+
<div id="loading"></div>
17+
<!-- The Side Navigation Bar' -->
18+
<div class="sidenav">
19+
<!-- A Default Space Inheriting Function (changable) -->
20+
<div class="v_space"></div>
21+
</div>
22+
<!-- The JavaScript For The Loading Function -->
23+
<script>
24+
var preloader = document.getElementById('loading');
25+
function myFunction(){
26+
preloader.style.display = 'none';
27+
}
28+
</script>
29+
</body>
30+
</html>

style.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
list-style: none;
5+
text-decoration: none;
6+
}
7+
body {
8+
font-family: sans-serif;
9+
background-image: url('https://wallpaperaccess.com/full/1092587.jpg');
10+
background-repeat: no-repeat;
11+
}
12+
.sidenav {
13+
height: 100%;
14+
width: 250px;
15+
position: fixed;
16+
z-index: -1;
17+
top: 16;
18+
left: 0;
19+
background: linear-gradient(rgb(29, 247, 255), rgb(46, 13, 233));
20+
overflow-x: hidden;
21+
padding-top: 20px;
22+
border-top-right-radius: 10px;
23+
}
24+
25+
.sidenav a {
26+
padding: 6px 8px 6px 16px;
27+
text-decoration: none;
28+
font-size: 25px;
29+
color: #818181;
30+
display: block;
31+
}
32+
33+
.sidenav a:hover {
34+
color: #f1f1f1;
35+
}
36+
37+
@media screen and (max-height: 450px) {
38+
.sidenav {
39+
padding-top: 15px;
40+
}
41+
.sidenav a {
42+
font-size: 18px;
43+
}
44+
}
45+
.searchbar {
46+
width: 230px;
47+
height: 60px;
48+
position: relative;
49+
left: 10px;
50+
top: 35px;
51+
border: none;
52+
border-radius: 50px;
53+
font-size: 20px;
54+
font-weight: bold;
55+
line-height: 30px;
56+
}
57+
.v_space {
58+
line-height: 20px;
59+
}

0 commit comments

Comments
 (0)