/* posts/index ================================ */ .posts-index{ margin-top: 45px; background-color: #fff1f1; margin: 0 auto; } .post-slide-container{ display: flex; flex-wrap: wrap; margin: 0 auto; } .posts-index-item { padding: 90px 6px; background-color: #FFA5A5; overflow: hidden; box-shadow: 0 0 8px gray; width: 400px; margin-left: 60px; margin-top: 60px; font-weight: bold; color: #fff1f1; } .post-index-title{ text-align: center; margin-top: 60px; } .post-left img { width: 50px; height: 50px; border-radius: 40%; box-shadow: 0 2px 6px #c1ced7; object-fit: cover; } .post-user-name a { font-weight: 600; } .post-user-name a:hover { color: #3ecdc6; } .post-left { float: left; width: 10%; } .post-right { float: left; width: 90%; padding-left: 25px; text-align: left; } /* posts/show ================================ */ .posts-show{ margin-top: 45px; background-color: #fff1f1; } .posts-show form { display: inline; } .posts-show-item { padding: 30px; background-color: white; box-shadow: 0 2px 6px #c1ced7; overflow: hidden; } .posts-show-item img { width: 60px; height: 60px; border-radius: 40%; box-shadow: 0 2px 6px #c1ced7; vertical-align: middle; object-fit: cover; } .posts-show-item .post-user-name a { vertical-align: middle; font-size: 24px; margin-left: 15px; } .posts-show-item p { font-size: 24px; margin: 20px 0; } .post-time { color: #8899a6; margin-bottom: 10px; } .post-menus { float: right; } .post-menus a, .post-menus input { color: #8899a6; text-decoration: underline; font-size: 14px; } /* posts/new ================================ */ .posts-new{ margin-top: 45px; background-color: #fff1f1; } .posts-new textarea { font-size: 20px; padding: 10px; min-height: 140px; border: 1px solid rgb(216, 218, 223); resize: none; } .posts-new textarea::-webkit-input-placeholder { font-size: 24px; opacity: 0.5; }