-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.html
195 lines (180 loc) · 4.52 KB
/
blog.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog Bioinformatics</title>
<style>
/* General styles */
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
color: #333;
margin: 0;
padding: 0;
}
a {
color: #193559;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Header */
.header {
background-color: #193559;
color: #fff;
padding: 20px 0;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 2.5em;
}
/* Navigation Menu */
.nav {
background-color: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
.nav a {
color: #fff;
padding: 10px 15px;
display: inline-block;
}
.nav a:hover {
background-color: #575757;
border-radius: 5px;
}
/* Main Content and Sidebar */
.container {
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
}
.main-content {
flex: 2;
padding: 20px;
background: #fff;
margin-right: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.sidebar {
flex: 1;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Blog Post */
.post {
margin-bottom: 30px;
}
.post h2 {
margin-top: 0;
color: #193559;
}
.post .meta {
font-size: 0.9em;
color: #777;
margin-bottom: 10px;
}
.post p {
line-height: 1.6;
}
/* Sidebar Widget */
.widget {
margin-bottom: 20px;
}
.widget h3 {
margin-top: 0;
font-size: 1.2em;
color: #333;
border-bottom: 2px solid #193559;
padding-bottom: 5px;
}
.widget ul {
list-style: none;
padding: 0;
}
.widget ul li {
margin-bottom: 10px;
}
/* Footer */
.footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 20px;
}
</style>
</head>
<body>
<!-- Header -->
<div class="header">
<h1>Bioinformatics Blog</h1>
<p>News, Reviews and Notes</p>
</div>
<!-- Navigation Menu
<div class="nav">
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#blog">Blog</a>
<a href="#contact">Contact</a>
</div>
-->
<!-- Main Container -->
<div class="container">
<!-- Main Content -->
<div class="main-content">
<!-- Blog Post -->
<div class="post">
<h2>Welcome to My Blog</h2>
<p class="meta">Posted on November 17, 2024 by Admin</p>
<p>Welcome to my blog! Here, I share insights on various topics ranging from technology to personal development. Stay tuned for regular updates.</p>
</div>
<!-- Another Blog Post -->
<div class="post">
<h2>Understanding AI in 2024</h2>
<p class="meta">Posted on November 15, 2024 by Admin</p>
<p>Artificial Intelligence has made significant strides in 2024. This article explores the latest developments in AI and its impact on various industries.</p>
</div>
</div>
<!-- Sidebar -->
<div class="sidebar">
<!-- About Widget -->
<div class="widget">
<h3>About Me</h3>
<p>Hello! I'm a tech enthusiast who loves exploring new trends in the digital world. Follow my blog for updates on AI, software development, and more!</p>
</div>
<!-- Recent Posts Widget -->
<div class="widget">
<h3>Recent Posts</h3>
<ul>
<li><a href="#">Welcome to My Blog</a></li>
<li><a href="#">Understanding AI in 2024</a></li>
<li><a href="#">Tips for Remote Work</a></li>
</ul>
</div>
<!-- Categories Widget -->
<div class="widget">
<h3>Categories</h3>
<ul>
<li><a href="#">Technology</a></li>
<li><a href="#">Lifestyle</a></li>
<li><a href="#">Personal Development</a></li>
</ul>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<p>© 2024 My Blog. All Rights Reserved.</p>
</div>
</body>
</html>