/
Torward
/
flash-spring
Обзор
Документация
Войти
/
Torward
/
flash-spring
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/components/HomePage/Post/Post.css
134 строки
2 KB
Torward
dropdown menu
11 фев 2024, 08:34
11 фев 2024, 08:34
c500a62
Код
Авторство
О чём код?
@font-face { font-family: "Palace of Sports"; font-style: normal; src: url("../../../fonts/palace_of_sports.otf"); font-family: "Petrogradsky"; font-style: normal; src: url("../../../fonts/petrogradski.otf"); } .post-container { color: rgb(128, 191, 255); border: 1px solid rgb(30, 73, 118); background-color: rgb(0, 30, 60); box-shadow: rgb(0, 30, 60) 0px 0px 25px, rgb(0, 30, 60) 0px 0px 15px; transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-radius: 10px; margin: 25px 35px; display: flex; } .post-container__header { display: flex; justify-content: space-between; max-height: 70px; border-bottom: 2px solid white; } .post-container__header__user-info { display: flex; padding: 10px; } .post-avatar { min-height: 40px; min-width: 40px; margin: auto 0; } .post-data{ display: flex; flex-direction: column; text-align: start; margin-left: 5px; } .post-location{ font-size: 12px; font-weight: 500; color: gray; } .post-username { margin: auto 0; font-weight: bold; cursor: default; } .post-container__img-block { display: flex; flex-direction: column; justify-content: center; border-bottom: 2px solid white; } .img-block__img { width: 100%; z-index: 1; } .post-container__analitics { padding-left: 20px; border-bottom: 1px solid rgb(30, 73, 118); margin-top: 5px; } .bookmark { float: right; } .likes-block { font-weight: bold; margin: 5px; cursor: default; } .post-container__comments { /* border-bottom: 1px solid rgb(30, 73, 118); */ cursor: default; } .comment-payload { margin: 10px; color: gray; font-weight: 500; } .post-container__comment-input{ position: relative; margin-right: 11px; } .comment-input__input { width: 100%; opacity: 1; transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; background-color: rgb(0, 30, 60); transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-radius: 0 0 8px 8px; color: rgb(128, 191, 255); border: 1px solid rgb(30, 73, 118); overflow: hidden; height: 30px; padding-top: 25px; padding-bottom: 25px; padding-left: 10px; } .comment-input__input:hover { border: 1px solid rgba(71, 163, 255, 0.767); } .comment-input__input::placeholder { color: rgb(159, 205, 252); } .content-field::-webkit-scrollbar{ display: none; }