-
Notifications
You must be signed in to change notification settings - Fork 0
/
dohere.html
237 lines (211 loc) · 5.47 KB
/
dohere.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<-- <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
/* Add a gray background color with some padding */
body {
font-family: Arial;
padding: 20px;
background: #f1f1f1;
}
/* Header/Blog Title */
.header {
padding: 30px;
font-size: 40px;
text-align: center;
background: white;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
float: left;
width: 75%;
}
/* Right column */
.rightcolumn {
float: left;
width: 25%;
padding-left: 20px;
}
/* Fake image */
.fakeimg {
background-color: #aaa;
width: 100%;
padding: 20px;
}
/* Add a card effect for articles */
.card {
background-color: white;
padding: 20px;
margin-top: 20px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
}
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
.leftcolumn, .rightcolumn {
width: 100%;
padding: 0;
}
}
</style>
</head>
<body>
<div class="header">
<h2>Blog Name</h2>
</div>
<div class="row">
<div class="leftcolumn">
<div class="card">
<h2>TITLE HEADING</h2>
<h5>Title description, Dec 7, 2017</h5>
<div class="fakeimg" style="height:200px;">Image</div>
<p>Some text..</p>
<p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p>
</div>
<div class="card">
<h2>TITLE HEADING</h2>
<h5>Title description, Sep 2, 2017</h5>
<div class="fakeimg" style="height:200px;">Image</div>
<p>Some text..</p>
<p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p>
</div>
</div>
<div class="rightcolumn">
<div class="card">
<h2>About Me</h2>
<div class="fakeimg" style="height:100px;">Image</div>
<p>Some text about me in culpa qui officia deserunt mollit anim..</p>
</div>
<div class="card">
<h3>Popular Post</h3>
<div class="fakeimg">Image</div><br>
<div class="fakeimg">Image</div><br>
<div class="fakeimg">Image</div>
</div>
<div class="card">
<h3>Follow Me</h3>
<p>Some text..</p>
</div>
</div>
</div>
<div class="footer">
<h2>Footer</h2>
</div>
</body>
</html>
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Layout</title>
<style>
body {
margin: 0 auto;
background-position:center;
background-size: contain;
}
.menu {
position: sticky;
top: 0;
background-color:rgb(5, 177, 5);
padding:2px 0px 2px 0px;
color:white;
margin: 0 auto;
overflow: hidden;
}
.menu a{
float: left;
color: white;
text-align: center;
padding: 8px 8px;
text-decoration: none;
font-size: 20px;
}
.button {
font-size: 16px;
color : white;
transition-duration: 0.3s;
}
.b1{
color: orange;
}
.b2{
color: green;
}
.b1:hover{
background-color:white;
color: green;
border-radius: 20px;
}
.b2:hover{
background-color: white;
color: orange;
border-radius: 20px;
}
.container {
display: grid;
justify-content: center;
grid-template-columns:auto auto;
padding:10px;
grid-gap: 10px;
}
.items {
background-color: rgb(238, 237, 237);
text-align: left;
padding: 10px;
border-radius: 10px;
}
.i1:hover {
background-color: rgb(223, 223, 223);
}
</style>
</head>
<body>
<!-- Menu Navigation Bar -->
<div class="menu">
<a href="Button.html" class="button b1">Buttons</a>
<a href="Tutorial.html" class="button b2">Tutorial</a>
<a href="Transform.html" class="button b1">Transform<a>
<a href="Iframe.html" class="button b2">Iframe</a>
</div>
<!-- Body section -->
<div class = "body_sec">
<section id="Content">
<h3>Content section</h3>
</section>
</div>
<div class="container">
<div class="items i1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia voluptate nihil enim, dicta animi optio quasi esse, quia excepturi molestias, provident minima magnam ab vitae ex aperiam! Enim, doloremque possimus.
</div>
<div class="items i1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia voluptate nihil enim, dicta animi optio quasi esse, quia excepturi molestias, provident minima magnam ab vitae ex aperiam! Enim, doloremque possimus.
</div>
<div class="items i1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia voluptate nihil enim, dicta animi optio quasi esse, quia excepturi molestias, provident minima magnam ab vitae ex aperiam! Enim, doloremque possimus.
</div>
<div class="items i1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia voluptate nihil enim, dicta animi optio quasi esse, quia excepturi molestias, provident minima magnam ab vitae ex aperiam! Enim, doloremque possimus.
</div>
</div>
</body>
</html>