-
Notifications
You must be signed in to change notification settings - Fork 1
/
html.html
140 lines (114 loc) · 4.22 KB
/
html.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Page Title</title>
<link rel="icon" type="image/png" href="logo/fav.jpeg">
<style>
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
background-color: #f7f7f7;
color: #333;
}
.vertical-navbar {
width: 250px;
height: calc(100vh - 65px);
background-color: #ffffff;
position: fixed;
left: 0;
top: 65px;
overflow-x: hidden;
overflow-y: auto;
padding-top: 20px;
color: #050505;
}
.vertical-navbar a {
border-radius: 20px;
width: 200px;
display: block;
padding: 15px;
color: #000000;
text-decoration: none;
transition: 0.3s;
border-bottom: 0.5px solid black;
}
.vertical-navbar a:hover {
background-color: #b3b8b2;
}
.horizontal-navbar {
background-color: #ffffff;
overflow: hidden;
color: #333;
position: fixed;
top: 0;
height: 65px;
width: 100%;
display: flex;
/* Make the navbar items align horizontally */
}
.horizontal-navbar a {
display: flex;
/* Make the links a flex container */
align-items: center;
/* Center the content vertically */
text-decoration: none;
color: #000000;
/* Set text color to white */
padding: 10px 20px;
/* Add padding to the links for spacing */
transition: background-color 0.3s;
/* Add a smooth transition for background color */
}
.horizontal-navbar a:hover {
background-color: #b3b8b2;
color: #ffffff;
/* Change background color on hover */
}
/* Optional: Add styles for active link */
.horizontal-navbar a.active {
background-color: #777;
color: #fffdfd;
}
.centered-div {
margin-left: 250px;
width: 85%;
height: 100vh;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow: auto;
padding: 20px;
margin-top: 20px;
}
.showing {
height: 100%;
width: 100%;
border: none;
}
</style>
</head>
<body>
<div class="horizontal-navbar">
<div style="height: 65px; width: 155px;float: left; padding: 10px 20px; "><img
style="height: 50px; width: 155px;" src="logo/logo.jpeg" alt="Logo"></div>
<a href="/getcourse">Tutorials</a>
<a href="/quiz">Quiz</a>
<a href="/problemset">Practice</a>
</div>
<div class="vertical-navbar"> <a href="/HTML Introduction.html" target="display">HTML Introduction</a> <a
href="/HTML Elements.html" target="display">HTML Elements</a> <a href="/HTML Paragraphs.html"
target="display">HTML Paragraphs</a> <a href="/HTML Formatting.html" target="display">HTML Formatting</a> <a
href="/HTML Comments.html" target="display">HTML Comments</a> <a href="/HTML Colors.html"
target="display">HTML Colors</a> <a href="/HTML Links.html" target="display">HTML Links</a> <a
href="/HTML Images.html" target="display">HTML Images</a> <a href="/HTML Favicons.html"
target="display">HTML Favicons</a> <a href="/HTML Page Title.html" target="display">HTML Page Title</a> <a
href="/HTML Lists.html" target="display">HTML Lists</a> <a href="/HTML Divisions.html" target="display">HTML
Divisions</a> <a href="/HTML Classes.html" target="display">HTML Classes</a> <a href="/HTML ID.html"
target="display">HTML ID</a> <a href="/HTML Iframes.html" target="display">HTML Iframes</a>
</div>
<div class="centered-div">
<iframe class="showing" src="/HTML Introduction.html" name="display"></iframe>
</div>
</body>
</html>