-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimplebloglayout.html
More file actions
129 lines (129 loc) · 4.02 KB
/
simplebloglayout.html
File metadata and controls
129 lines (129 loc) · 4.02 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Blog Layout</title>
<style>
/* .center_content{
align-content: center;
}
.center_text{
text-align: center;
}
.center_grid{
-ms-grid-row-align: center;
} */
*{
margin: 0px;
padding: 0px;;
}
a, h1, .footer-p{
text-decoration: none;
color: white;
}
div.Blog-name-header{
/* border: solid silver; */
padding: 5px;
/* margin: 10px; */
text-align: center;
background-color: purple;
}
nav.navigation ul.blog-nav-flex{
margin: 0px 0px;
padding: 5px;
/* border: solid 1px; */
display: flex;
gap: 10px;
justify-content: center;
list-style-type: none;
/* text-decoration: no; */
background-color: purple;
}
main{
/* background-color: white; */
background-color: #eee;
padding: 10px;
}
div.blog-list-container{
background-color: white;
padding: 10px;
border-radius: 5px;
box-shadow: 4px 4px 5px gray
}
div.title-des-set{
margin: 10px 1px;
padding: 10px 1px;
border-bottom: solid purple;
}
div.footer{
padding: 10px;
text-align: center;
background-color: purple;
}
</style>
</head>
<body>
<header>
<div class="Blog-name-header">
<h1>MY BLOG NAME</h1>
</div>
<nav class="navigation">
<ul class="blog-nav-flex">
<li><a href="home.com">Home</a></li>
<li><a href="about.com">About</a></li>
<li><a href="google.com">Contact</a></li>
</ul>
</nav>
</header>
<main>
<div class="blog-list-container">
<div class="title-des-set">
<div class="blog-title-header">
<h2>First Blog Post</h2>
</div>
<div class="short-content-description">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
<div class="title-des-set">
<div class="blog-title-header">
<h2>Second Blog Post</h2>
</div>
<div class="short-content-description">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
<div class="title-des-set">
<div class="blog-title-header">
<h2>Third Blog Post</h2>
</div>
<div class="short-content-description">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
<div class="title-des-set">
<div class="blog-title-heder">
<h2>Fouth Blog Post</h2>
</div>
<div class="short-content-description">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
<div class="title-des-set">
<div class="blog-title-header">
<h2>Fifth Blog Post</h2>
</div>
<div class="short-content-description">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
</div>
</main>
<footer>
<div class="footer">
<p class="footer-p">@2023 My Simple Blog</p>
</div>
</footer>
</body>
</html>