← Back
Editing: category.css
.main { display: flex; flex-direction: column; align-items: flex-start; } .post-title-container { display: flex; box-sizing: border-box; margin: 20px 0; flex-direction: column; justify-content: flex-start; } .title-post-header { display: flex; flex-direction: row; justify-content: center; align-content: flex-end; align-items: center; } .title-posts-container { display: flex; box-sizing: border-box; margin: 20px 0; flex-direction: column; align-items: center; } .category-posts-container { display: flex; flex-direction: column; justify-items: center; align-items: center; margin: 50px 150px; padding: 35px; } .category-post-line { display: flex; flex-direction: row; justify-items: center; align-items: center; margin: 15px; } .img-post { width: 400px; height:265px; } .post { background-color: #f9f9f9; width: 40vw; height: 225px; padding: 20px; border: 1px solid #eaeaea; } .post h2 a { line-height: 30px; color: #333; text-decoration: none; } .post strong { font-weight: bold; } .post-meta { font-size: 14px; color: #333; } .post-excerpt { margin-top: 10px; color: #333; } .category-desc { display: flex; align-items: center; justify-content: center; } .pilar-content { width: 60%; margin: 0px 50px; text-align: justify; line-height:30px; } @media (max-width: 768px) { .category-post-line { flex-direction: column; } .title-post-header { display: flex; flex-direction: column; } .pilar-content { width: 80%; margin: 0px 10px; } .img-post { width: 330px; height: auto; } .post-category { position: relative; right: 50px; bottom: 167px; } .post { width: 290px; height:max-content; } .post h2 { text-align: left; } .tag-posts-container { grid-template-columns: repeat(1, 1fr); } }
Save File
Cancel