98 lines
1.6 KiB
CSS
98 lines
1.6 KiB
CSS
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #1a1a1a;
|
|
color: white;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
header {
|
|
background-color: #282828;
|
|
padding: 20px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 36px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
header form {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
header input {
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
outline: none;
|
|
margin-right: 5px;
|
|
width: 300px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
background-color: rgb(255, 0, 191);
|
|
color: white;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: rgb(204, 0, 153);
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.posts-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.post {
|
|
background-color: #333;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
text-align: center;
|
|
}
|
|
|
|
.post img {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.post .tags {
|
|
font-size: 14px;
|
|
color: #aaa;
|
|
}
|
|
|
|
.pagination {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pagination a {
|
|
color: rgb(255, 0, 191);
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
margin: 0 10px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.pagination a:hover {
|
|
color: rgb(204, 0, 153);
|
|
}
|