/
Garuda
/
flash-front
Обзор
Документация
Войти
/
Garuda
/
flash-front
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/components/HomePage/ProfileContent/ProfileContent.module.css
99 строк
2 KB
Torward
modified: package-lock.json
30 окт 2024, 11:13
30 окт 2024, 11:13
f87f8d7
Код
Авторство
О чём код?
@font-face { font-family: "Palace of Sports"; font-style: normal; src: url("../../../fonts/palace_of_sports.otf"); } @font-face { font-family: "Petrogradsky"; font-style: normal; src: url("../../../fonts/petrogradski.otf"); } .profile_content { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 23, 98, 0.66)); height: 100%; } .person { width: 97%; margin-top: 10px; padding: 25px; border: 1px solid rgb(30, 73, 118); border-radius: 10px; } .person_info { display: flex; flex-direction: column; } .section { display: flex; margin-top: 10px; 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; padding: 10px; width: 100%; justify-content: space-between; cursor: pointer; } .section:hover { border: 1px solid rgb(46, 108, 173); background-color: rgb(0, 30, 60); } .header { font-family: "Petrogradsky"; color: rgb(0, 200, 255); } .cover { width: 97%; height: 350px; } .cover img { width: 100%; height: 100%; border-radius: 0 0 10px 10px; } .gradient { position: absolute; width: 94%; height: 20%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.66)); margin-top: -197px; border-radius: 0 0 10px 10px; } .value { color: rgb(128, 191, 255); width: 55%; text-align: end; } .interests { width: 97%; margin-top: 10px; padding: 25px; border: 1px solid rgb(30, 73, 118); border-radius: 10px; } .interests_info { display: flex; flex-direction: column; } @media (max-width: 768px) { .person, .interests, .cover { margin-left: 0; margin-right: 0; } }