.blog-admin { width: 100%; background-color: #222; margin-bottom: 20px; padding: 5px; box-sizing: border-box; } .blog-admin .horizontal-button-container a { background-color: #00367b; color: white; text-decoration: none; padding: 5px 10px; box-sizing: border-box; border-radius: 5px; } .blog-entry { width: 100%; display: grid; grid-template-columns: 150px auto; grid-gap: 10px; margin-bottom: 10px; } .blog-entry .thumbnail { width: 150px; height: 150px; } .blog-entry .thumbnail img { height: 100%; width: 100%; } .blog-entry .blog-info { display: flex; flex-direction: column; } .blog-entry .blog-info .blog-title { font-size: 20px; border-bottom: 1px solid #9f9f9f; display: flex; } .blog-entry .blog-info .blog-title a { color: white; text-decoration: none; } .blog-entry .blog-info .blog-title .author { color: #9f9f9f; font-style: italic; margin-left: auto; font-size: 16px; } .blog-entry .blog-info .blog-description { color: #9f9f9f; margin-top: 10px; max-height: 100px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: none; overflow: hidden; text-align: left; } .blog-entry .blog-info .blog-action { display: flex; flex-direction: row; margin-top: auto; } .blog-entry .blog-info .blog-action .date { font-size: 16px; color: gray; margin-right: auto; } .blog-entry .blog-info .blog-action a { color: white; font-style: italic; } .blog-entry:last-of-type { margin-bottom: inherit; } @media screen and (max-width: 500px) { .page .blog-entry { grid-template-columns: 75px auto; margin-bottom: 20px; } .page .blog-entry .thumbnail { width: 75px; height: 75px; } }