44 lines
801 B
HTML
44 lines
801 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Scraped News</title>
|
|
<style>
|
|
:root {
|
|
--color-background: #FFD4D4;
|
|
--color-text: #272727;
|
|
--highlight: rgba(225,0,0,.2);
|
|
}
|
|
|
|
html, body {
|
|
background-color: var(--color-background);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
body {
|
|
max-width: 800px;
|
|
margin: 40px auto; /* added 40px top and bottom margin */
|
|
padding: 20px;
|
|
font: 1.2em/1.62 sans-serif;
|
|
}
|
|
|
|
.news-item {
|
|
padding: 20px;
|
|
border-bottom: 1px solid rgba(204, 204, 204, 1);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.news-title {
|
|
text-decoration: none;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.news-time {
|
|
font-size: 14px;
|
|
color: rgba(102, 102, 102, 1);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|