website/static/css/index.css

31 lines
455 B
CSS
Raw Normal View History

2024-03-28 00:17:44 +00:00
.post {
border: 2px solid purple;
2024-03-30 17:57:01 +00:00
height: 8vh;
2024-03-28 17:05:00 +00:00
display: flex;
justify-items: center;
margin-bottom: 10px;
overflow-y: auto;
2024-03-30 19:50:42 +00:00
overflow-x: hidden;
2024-03-28 00:17:44 +00:00
}
2024-03-30 19:50:42 +00:00
.post-img {
2024-03-28 17:05:00 +00:00
display: block;
height: 100%;
2024-03-30 17:57:01 +00:00
object-fit: cover;
2024-03-28 17:05:00 +00:00
}
2024-03-30 19:50:42 +00:00
.post-title {
line-height: 140%;
display: block;
height: 20%;
object-fit: cover;
}
2024-03-28 17:05:00 +00:00
.post span {
2024-03-30 17:57:01 +00:00
display: block;
2024-03-28 17:05:00 +00:00
margin-left: 10px;
2024-03-29 22:22:02 +00:00
text-align: left;
line-height: 10px;
}