-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
214 lines (191 loc) · 4.35 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!--BLOGPOSTS PAGE-->
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blogs-Hardik Sharma</title>
<link rel="icon" href="logos\favicon.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" media="(min-width:600px)" href="navbar.css">
<link rel="stylesheet" type="text/css" media="(max-width:600px)" href="m_navbar.css">
<link rel="stylesheet" type="text/css" media="(min-width:600px)" href="footer.css">
<link rel="stylesheet" type="text/css" media="(max-width:600px)" href="m_footer.css">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@900&family=Raleway:wght@400;600;900&display=swap" rel="stylesheet">
<style>
*
{
box-sizing:border-box;
}
body{
font-family:Lato,sans-serif;
}
.content{
box-sizing:border-box;
margin:15vh auto;
width:60%;
text-align:center;
font-size:2vw;
}
.content > h2{
font-weight:bolder;
font-size:5vw;
text-align:center;
font-family:'Lato', sans-serif;
text-decoration:underline;
}
.card{
border:2px solid black;
font-family:Raleway;
margin: 8vh auto;
width:60%;
height:60%;
box-sizing:border-box;
background-size:cover;
}
#card1
{
background-image:url("blog_card1.jpg");
}
#card2{
background-image:url("blog_card2.jpeg");
color:white;
}
#card3{
background-image:url("blog_card3.jpeg");
color:white;
}
.shade:hover{
background-color:#00000094;
color:white;
}
.shade{
font-family:Raleway;
padding:10vh 5vw;
margin:0 0;
box-sizing:border-box;
background-color:#0000001f;
transition-property:background-color,color;
transition-duration:1s;
}
.shade h3
{
font-size:2vw;
}
.desc{
font-style:italic;
margin-bottom:2vh;
font-size:1.5vw;
}
.link{
text-decoration:none;
float:right;
font-size:1.3vw;
background-color:black;
color:white;
padding:1vw;
display:block;
}
@media only screen and (max-width:600px)
{
.card
{
height:40vh;
width:80vw;
}
.content{
margin:10vh auto;
width:80vw;
font-size:2vh;
}
.content h2
{
font-size:5vh;
}
.shade h3
{
font-size:3vh;
}
.desc
{
font-size:2vh;
}
.link
{
font-size:2vh;
padding:1vh;
}
}
</style>
<script src="nav_mobile.js"></script>
</head>
<body>
<div id="navbar">
<div class="mylogo"><a href="index.html"><img class="mylogo" src="logos\mylogo.jpeg"></a></div>
<nav>
<a class="top" href="index.html">HOME</a>
<a class="top" href="about.html">ABOUT </a>
<a class="top" href="gallery.html">GALLERY</a>
<a class="top" href="blog.html">BLOG</a>
<a class="top" href="contact.html">CONTACT</a>
<div class="outer" onclick="animate_ham()">
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
</div>
</nav>
</div>
CSS RENDERING ...
<div id="m_navbar">
<a class="m_top" href="index.html">HOME</a>
<a class="m_top" href="about.html">ABOUT </a>
<a class="m_top" href="gallery.html">GALLERY</a>
<a class="m_top" href="blog.html">BLOG</a>
<a class="m_top" href="contact.html">CONTACT</a>
</div>
<div class="content">
<h2>BLOGS</h2>
A look into the inner musings of the photos I click, where to go for great shots and much more!
</div>
<div class="card" id="card1">
<div class="shade">
<h3 >What does Meghalaya store for a photographer?</h3>
<hr color="black">
<div class="desc">Secrets the mystic mountains hold...</div>
<a href="blog1.html" class="link">Read</a>
</div>
</div>
<div class="card" id="card2" >
<div class="shade">
<h3>Capturing daily life objects</h3>
<hr color="black">
<div class="desc">Pouring some life into the lifeless...</div>
<a href="blog2.html" class="link">Read</a>
</div>
</div>
<div class="card" id="card3">
<div class="shade">
<h3>Minimalism-the essence of life...</h3>
<hr color="black">
<div class="desc">Less is more</div>
<a href="blog3.html" class="link">Read</a>
</div>
</div>
<footer id="foot">
<div class="socicon">
<a href="https://www.instagram.com/hardiks_51/">
<img src="logos\instagram.jpg" >
</a>
</div>
<div class="socicon">
<a href="https://www.linkedin.com/in/hardik-sharma-a0682b196">
<img src="logos\linkedin.png" >
</a>
</div>
<div class="socicon">
<a href="mailto:[email protected]">
<img src="logos\mail.png">
</a>
</div>
<div id="footext">©Copyright 2020,Hardik Sharma. All rights reserved.</div>
</footer>
</body>
</html>