-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAC.html
163 lines (150 loc) · 5.33 KB
/
FAC.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html>
<head>
<title>WhisperingCode:FAC</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="main">
<h1 style="text-align: center;"> FAC </h1>
<br>
<h2>What Is This?</h2>
<p></p>WhisperingCode is more than just a website—it's an outlet for my passion for writing and sharing knowledge. After reading numerous articles online, I felt inspired to create my own platform for expressing ideas and experiences. My hands were itching to start typing!</p>
<h2>What Is It About?</h2>
<p>WhisperingCode is my personal website, serving as both a vlogging platform and a portfolio. Here, you'll find a collection of vlogs primarily focused on programming, technology, and related topics. Each vlog is an opportunity for me to share insights, tutorials, and personal experiences in the world of code.</p>
<h2>Who Are Your Target Audience?</h2>
<p>My content is tailored for a diverse audience:</p>
<ol>
<li>Friends and Family: Those close to me who want to follow my journey and learn more about my interests.</li>
<li>Fellow Programmers: Developers, coders, and tech enthusiasts who share my passion for programming and technology.</li>
<li>You: Yes, you! Anyone who stumbles upon my website and finds value in the content I create. Whether you're a seasoned developer or just starting your coding journey, there's something here for you.</li>
</ol>
<h2>How Can I Get Involved?</h2>
<p>I welcome collaboration, feedback, and engagement from my audience. Feel free to explore my vlogs, leave comments, and reach out to me with your thoughts, ideas, or collaboration opportunities. Let's connect and learn from each other!</p>
</div>
<style>
body {
background-image: linear-gradient(90deg, #8b008b, #1e90ff);
font-size: 24px;
}
/* Style the side navigation */
.sidenav {
height: 100%;
width: 0; /* Initially hidden */
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 60px;
transition: 0.5s; /* Smooth transition */
}
/* Style the navigation links */
.sidenav a {
padding: 10px 20px;
text-decoration: none;
font-size: 18px;
color: #818181;
display: block;
transition: 0.3s;
}
/* Change color on hover */
.sidenav a:hover {
color: #f1f1f1;
}
/* Style the menu icon button */
.menu-icon {
position: fixed;
z-index: 2;
top: 20px;
left: 20px;
cursor: pointer;
color: #fff; /* Change menu icon color */
}
.bar {
width: 25px;
height: 3px;
background-color: #fff; /* Change menu icon color */
margin: 5px 0;
transition: 0.4s;
}
/* Rotate the bars to form an X */
.change .bar:nth-child(1) {
-webkit-transform: rotate(-45deg) translate(-5px, 6px);
transform: rotate(-45deg) translate(-5px, 6px);
}
.change .bar:nth-child(2) {
opacity: 0;
}
.change .bar:nth-child(3) {
-webkit-transform: rotate(45deg) translate(-5px, -6px);
transform: rotate(45deg) translate(-5px, -6px);
}
/* Adjust main content margin */
.main-content {
margin-left: 0;
transition: margin-left 0.5s; /* Smooth transition */
z-index: 1; /* Ensure content is above navigation */
display: flex;
flex-direction: column;
align-items: center; /* Center horizontally */
justify-content: center; /* Center vertically */
height: 100vh; /* Full viewport height */
}
.centered {
text-align: center;
}
#main {
margin-left: 50px;
}
h1, h2, h3, p, span {
font-family: "Single Day", cursive;
font-weight: 400;
font-style: normal;
}
h1 {
line-height: 5px;
}
p {
line-height: 30px;
}
.main {
padding: 5px;
font-family: 'Single Day', cursive;
box-sizing: border-box;
}
</style>
</head>
<body>
<!-- Menu icon button -->
<div class="menu-icon" onclick="toggleNav()">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<!-- Side navigation -->
<div id="sidenav" class="sidenav">
<a href="./">Home</a>
<a href="vlog.html">Vlogs</a>
<a href="#">FAC</a>
</div>
<script>
function toggleNav() {
var sidenav = document.getElementById("sidenav");
var mainContent = document.getElementById("main");
var menuIcon = document.querySelector(".menu-icon");
if (sidenav.style.width === "250px") {
sidenav.style.width = "0";
mainContent.classList.remove("sidenav-open");
menuIcon.classList.remove("change");
} else {
sidenav.style.width = "250px";
mainContent.classList.add("sidenav-open");
menuIcon.classList.add("change");
}
}
</script>
</body>
</html>