-
Notifications
You must be signed in to change notification settings - Fork 1
/
python.html
147 lines (124 loc) · 5.31 KB
/
python.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
145
146
147
<!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>
<style>
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f7f7f7;
color: #333;
}
.vertical-navbar {
width: 200px;
height: 100vh;
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: 165px;
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: 200px;
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/logo2-removebg-preview.png" alt="Logo"></div>
<a href="#">Tutorials</a>
<a href="/python_quiz.html">Quiz</a>
<a href="#">Practice</a>
<a href="#">Refernces</a>
<a href="#" style="margin-left: 50%;"> login/signup</a>
</div>
<div class="vertical-navbar"> <a href="/Python Introduction.html" target="display">Python Introduction</a> <a
href="/Python Variables.html" target="display">Python Variables</a> <a href="/Python Data Types.html"
target="display">Python Data Types</a> <a href="/Python Lists.html" target="display">Python Lists</a> <a
href="/Python Tuples.html" target="display">Python Tuples</a> <a href="/Python Dictionaries.html"
target="display">Python Dictionaries</a> <a href="/Python Dictionaries.html" target="display">Python
Dictionaries</a> <a href="/Python If ... Else.html" target="display">Python If ... Else</a> <a
href="/Python While Loops.html" target="display">Python While Loops</a> <a href="/Python For Loops.html"
target="display">Python For Loops</a> <a href="/Python Functions.html" target="display">Python Functions</a>
<a href="/Python Lambda.html" target="display">Python Lambda</a> <a href="/Python Arrays.html"
target="display">Python Arrays</a> <a href="/Python Classes and Objects.html" target="display">Python
Classes and Objects</a> <a href="/Python Inheritance.html" target="display">Python Inheritance</a> <a
href="/Python Iterators.html" target="display">Python Iterators</a> <a href="/Python Polymorphism.html"
target="display">Python Polymorphism</a> <a href="/Python Modules.html" target="display">Python Modules</a>
<a href="/Python Datetime.html" target="display">Python Datetime</a> <a href="/Python Math.html"
target="display">Python Math</a> <a href="/Python JSON.html" target="display">Python JSON</a> <a
href="/Python RegEx.html" target="display">Python RegEx</a> <a href="/Python PIP.html"
target="display">Python PIP</a> <a href="/Python Try Except.html" target="display">Python Try Except</a> <a
href="/Python User Input.html" target="display">Python User
Input</a>
</div>
<div class="centered-div">
<iframe class="showing" src="/Python Introduction.html" name="display"></iframe>
</div>
</body>
</html>