45 lines
819 B
HTML
45 lines
819 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 {
|
|
margin: 1em auto;
|
|
max-width: 40em;
|
|
padding: 0.62em 3.24em;
|
|
font: 0.8em sans-serif;
|
|
transition: color 0.5s, font-size 0.5s;
|
|
}
|
|
|
|
.news-item {
|
|
padding: 20px;
|
|
border-bottom: 1px solid #ccc;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.news-title {
|
|
text-decoration: none;
|
|
color: var(--color-text);
|
|
}
|
|
.news-time {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|