Files
lab5/articles/static/index.css
2025-10-06 21:32:59 +03:00

59 lines
959 B
CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
background: #1e293b;
font-family: "Montserrat", sans-serif;
color: #f1f5f9;
max-width: 1200px;
margin: auto;
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}
a {
color: #7dd3fc;
}
.header {
display: flex;
gap: 10px;
}
.one-post {
background: #273449;
border: solid 1px #334155;
border-radius: 10px;
padding-left: 15px;
padding-right: 15px;
}
.one-post:hover {
background: #334661;
transition: .3s ease-in;
}
.article-created-date {
font-size: 12px;
}
.archive {
display: grid;
gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.post-link {
text-decoration: none;
color: unset;
}
.article-meta {
display: flex;
justify-content: space-between;
}
.article-header {
margin: 0;
}