-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
162 lines (127 loc) · 2.38 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="container">
<!-- START MENU -->
<div class="header">
<div>Hello! I'm <b>Ivan Ilievski</b>, and I Code</div>
<span>
<a href="https://ivanilievski.github.io/">Articles</a>
</span> |
<span>
<a target="_blank" href="https://twitter.com/IvanIlievski_">Twitter</a>
</span> |
<span>
<a target="_blank" href="https://indiestartuplist.com/">IndieStartupList</a>
</span>
</div>
<!-- END MENU -->
<!-- START CONTENT -->
<div class="content">
<div class="title">
<h1>Python List Comprehension</h1>
<p class="date">
<span>May 04, 2023</span>
<span>by Ivan Ilievski</span>
</p>
</div>
<p class="paragraph"></p>
</div>
<!-- END CONTENT -->
<!-- START FOOTER -->
<footer>
<p>© 2024 Ivan Ilievski Blog. All rights reserved.</p>
</footer>
<!-- END FOOTER -->
</div>
<!-- ONLY article.html -->
<style type="text/css">
.content {
font-size: 18px;
line-height: 1.8;
border-bottom: 2px solid #404040;
}
.title {
margin-bottom: 1.5em;
}
.title h1 {
font-size: 36px;
letter-spacing: -1.5px;
line-height: 1;
font-weight: 300;
margin-bottom: 0px;
}
.date {
font-style: italic;
color: #a0a0a0;
margin: 0;
}
.paragraph {
margin-bottom: 1.5em;
text-indent: 1em;
}
img {
width: 100%;
height: auto;
}
/* Media query for mobile devices */
@media (max-width: 600px) {
.content {
font-size: 16px;
}
h1 {
font-size: 20px;
}
}
</style>
<!-- START STYLE -->
<style type="text/css">
body {
font-family: 'Helvetica', 'Arial', sans-serif;
color: #404040;
padding: 5px 10px;
}
.container {
margin: 30px auto;
width: 90%;
max-width: 650px;
}
.header {
font-size: 22px;
padding: 10px;
}
.header a {
text-decoration: none;
color: #4169e1;
font-weight: bold;
}
.header a:hover {
color: #7b96ea;
}
/* Media query for mobile devices */
@media (max-width: 600px) {
body {
font-size: 14px;
padding: 0 0;
}
.container {
margin: 0 0;
}
.header {
font-size: 18px;
}
.content {
font-size: 16px;
}
h1 {
font-size: 20px;
}
}
</style>
<!-- END STYLE -->
</body>
</html>