-
Notifications
You must be signed in to change notification settings - Fork 1
/
cpp.html
138 lines (113 loc) · 4.08 KB
/
cpp.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="logo/fav.jpeg">
<title>Your Page Title</title>
<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="/C++ Data Types.html" target="display">C++ Data Types</a> <a
href="/C++ Operators.html" target="display">C++ Operators</a> <a href="/C++ String.html"
target="display">C++ String</a> <a href="/C++ Math.html" target="display">C++ Math</a> <a
href="/C++ Coditions.html" target="display">C++ Coditions</a> <a href="/C++ Switch Case.html"
target="display">C++ Switch Case</a> <a href="/C++ While Loop.html" target="display">C++ While Loop</a> <a
href="/C++ Do-While Loop.html" target="display">C++ Do-While Loop</a> <a href="/C++ For Loop.html"
target="display">C++ For Loop</a> <a href="/C++ Arrays.html" target="display">C++ Arrays</a> <a
href="/C++ Structure.html" target="display">C++ Structure</a> <a href="/C++ Reference.html"
target="display">C++ Reference</a> <a href="/C++ Pointers.html" target="display">C++ Pointers</a>
</div>
<div class="centered-div">
<iframe class="showing" src="/C++ Data Types.html" name="display"></iframe>
</div>
</body>
</html>