-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathartikel.html
More file actions
201 lines (191 loc) · 5.78 KB
/
artikel.html
File metadata and controls
201 lines (191 loc) · 5.78 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
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
<html>
<head>
<title>Amobox's Articles</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="x-icon" href="ASSET/amobox logo only.png">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css">
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #ffffff;
overflow-x: hidden;
}
nav .tengah .beranda{
border-bottom: none;
}
nav .konten{
border-bottom: 2px solid #048B9E
}
.title {
padding: 80px 0 20px 0;
text-align: center;
margin: 40px 0;
border-bottom: 2px solid gray;
}
.title h1 {
font-size: 40px;
color: #00c4cc;
}
.title h1 span {
color: #000;
}
.articles {
display: flex;
flex-direction: column;
align-items: center;
}
.article {
display: flex;
width: 80%;
margin: 20px 0;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 20px;
cursor: pointer;
}
.article a{
display: flex;
text-decoration: none;
color: #000;
}
.article img {
width: 150px;
height: 100px;
background-color: #d3d3d3;
margin-right: 20px;
object-fit: cover;
}
.article-content {
display: flex;
flex-direction: column;
justify-content: center;
}
.article-content h2 {
font-size: 18px;
margin: 0;
}
.article-content p {
color: red;
margin: 5px 0 0 0;
}
@media (max-width: 768px) {
.article {
flex-direction: column;
align-items: center;
}
.article img {
object-fit: cover;
aspect-ratio: 16/9;
margin: 0 0 0px 0;
height: auto;
}
.article-content {
align-items: center;
text-align: center;
}
}
@media (max-width: 480px) {
.article {
padding: 15px 0;
}
.article img {
width: 100%;
height: 120px;
object-fit: cover;
}
.article-content {
width: 40vh;
padding: 10px;
}
.article-content h2 {
font-size: 16px;
}
.article-content p {
font-size: 14px;
}
}
</style>
</head>
<body>
<nav>
<div class="kanan">
<a href="index.html"><img src="ASSET/amobox landscape logo.png" alt=""></a>
</div>
<div class="tengah">
<div class="beranda">
<a href="index.html"><i class='bx bx-home'></i></a>
<a href="index.html"><p>BERANDA</p></a>
</div>
<div class="Konten">
<a href="artikel.html"><i class='bx bx-bulb' ></i></a>
<a href="artikel.html"><p>KONTEN</p></a>
</div>
<div class="About">
<a href="tentang-kami.html"> <i class='bx bx-user-circle'></i></a>
<a href="tentang-kami.html"><p>TENTANG KAMI</p></a>
</div>
</div>
<div class="kiri">
<div class="statistik">
<button><a href="statistik.php">STATISTIK</a></button>
</div>
</div>
</nav>
<div class="title">
<h1> AMOBOX'S <span> ARTICLES </span> </h1>
</div>
<div class="articles">
<div class="article">
<a href="artikel/artikel1.html">
<img alt="Article Image" height="100" src="artikel/asset/Picture1.png" width="150"/>
<div class="article-content">
<h2> Dampak dan Pencegahan pencemaran Udara </h2>
<p> Articles </p>
</div>
</a>
</div>
<div class="article">
<a href="artikel/artikel2.html">
<img alt="Article Image" height="100" src="artikel/asset/Picture2.png" width="150"/>
<div class="article-content">
<h2> Upaya Pemerintahan Mengatasi Polusi Udara di Indonesia </h2>
<p> Articles </p>
</div>
</a>
</div>
<div class="article">
<a href="artikel/artikel3.html">
<img alt="Article Image" height="100" src="artikel/asset/Picture3.png" width="150"/>
<div class="article-content">
<h2> Tumbuhan Penghisap Polusi </h2>
<p> Articles </p>
</div>
</a>
</div>
<div class="article">
<a href="artikel/artikel4.html">
<img alt="Article Image" height="100" src="artikel/asset/Picture4.png" width="150"/>
<div class="article-content">
<h2> Protokol Pencegahan Polusi Udara </h2>
<p> Articles </p>
</div>
</a>
</div>
<div class="article">
<a href="artikel/artikel5.html">
<img alt="Article Image" height="100" src="artikel/asset/Picture5.png" width="150"/>
<div class="article-content">
<h2> Penyebab Polusi Udara, Jenis Polutan dan Dampaknya pada Kesehatan </h2>
<p> Articles </p>
</div>
</a>
</div>
</div>
<div class="footer">
© 2024 Anggota Kelompok A2. All rights reserved.
</div>
</body>
</html>