-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
184 lines (154 loc) · 4.04 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Playfair+Display+SC" rel="stylesheet">
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Playfair Display SC', serif;
padding: 20px;
background: #fff;
}
/* Header/Blog Title */
.header {
padding: 10px;
font-size: 28px;
text-align: center;
background: white;
margin-top: 20px;
margin-right: 140px;
margin-left: 140px;
}
/* Style the top navigation bar */
.topnav {
overflow: hidden;
background-color: #FFD8E0;
margin-right: 140px;
margin-left: 140px;
}
/* Style the topnav links */
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
/* Change color on hover */
.topnav a:hover {
background-color: #FEFBFB;
color: black;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.column {
float: center;
margin-right: 140px;
margin-left: 140px;
}
/* Right column */
.rightcolumn {
float: left;
width: 25%;
background-color: #f1f1f1;
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;
}
.subcolumn {
float: left;
width: 31.33%;
height: 500px;
background-color: #FFF;
padding-left: 1%;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 1%;
}
/* Footer */
.footer {
padding: 2px;
text-align: center;
width: 80%;
background: #FFD8E0;
margin-top: 5px;
margin-left: 140px;
margin-right: 140px;
}
/* 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 (max-width: 800px) {
.leftcolumn, .rightcolumn {
width: 100%;
padding: 0;
}
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media (max-width: 400px) {
.topnav a {
float: none;
width:100%;
}
}
</style>
</head>
<body>
<div class="header">
<h2>Jenniffer Yang's Blog</h2>
</div>
<div class="topnav">
<a href="#">About Me</a>
<a href="#">Baking</a>
<a href="#">Travel</a>
<a href="#"> Cheer</a>
<a href="#" style="float:right">Follow my Insta</a>
</div>
<div class="row">
<div class="column">
<div class="card">
<h2 style= "text-align: center;">who i am, what i like and what i do</h2>
<div class = "subcolumn">
<img src="images/aboutMe/me.jpg" style="width:100%; height:100%;"></div>
<div class = "subcolumn">
<img src="images/aboutMe/ramen.jpg" style="width:100%; height:100%;"></div>
<div class = "subcolumn">
<img src="images/aboutMe/balloons.jpg" style="width:100%;height:100%;"></div>
<p>Hey There..</p>
<p>I'm Jenny Yang and i'm a junoir at jerome high school</p>
</div>
<div class="card">
<h2 style= "text-align: center;">Veni, Vidi, Amavi</h2>
<div class = "subcolumn">
<img src="images/travel/islandskyview.jpg" style="width:100%;height: 100%;"></div>
<div class = "subcolumn">
<img src="images/travel/antelopecanyon.jpg" style="width:100%;height: 100%;"></div>
<div class = "subcolumn">
<img src="images/travel/mountain.jpg" style="width:100%;height: 100%;"></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="footer">
<h2>Dublin Ohio</h2>
</div>
</body>
</html>