/
peyli
/
Practice
Обзор
Документация
Войти
/
peyli
/
Practice
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
web/css/site.css
235 строк
3 KB
Катя
Полный код
27 июн 2026, 14:28
27 июн 2026, 14:28
6181a72
Код
Авторство
О чём код?
main > .container { padding: 70px 15px 20px; } .footer { background-color: #f5f5f5; font-size: .9em; height: 60px; } .footer > .container { padding-right: 15px; padding-left: 15px; } .not-set { color: #c55; font-style: italic; } /* add sorting icons to gridview sort links */ a.asc:after, a.desc:after { content: ''; left: 3px; display: inline-block; width: 0; height: 0; border: solid 5px transparent; margin: 4px 4px 2px 4px; background: transparent; } a.asc:after { border-bottom: solid 7px #212529; border-top-width: 0; } a.desc:after { border-top: solid 7px #212529; border-bottom-width: 0; } .grid-view th { white-space: nowrap; } .hint-block { display: block; margin-top: 5px; color: #999; } .error-summary { color: #a94442; background: #fdf7f7; border-left: 3px solid #eed3d7; padding: 10px 20px; margin: 0 0 15px 0; } /* align the logout "link" (button in form) of the navbar */ .nav li > form > button.logout { padding-top: 7px; color: rgba(255, 255, 255, 0.5); } @media(max-width:767px) { .nav li > form > button.logout { display:block; text-align: left; width: 100%; padding: 10px 0; } } .nav > li > form > button.logout:focus, .nav > li > form > button.logout:hover { text-decoration: none; color: rgba(255, 255, 255, 0.75); } .nav > li > form > button.logout:focus { outline: none; } .form-group { margin-bottom: 1rem; } /*Кнопки на главной странице*/ .main-buttons{ width: 100%; gap: 10px; display: flex; flex-direction: row; } .main-buttons a.btn{ width: 50%; height: 60px; display: flex; align-items: center; justify-content: center; } .site-index .row div{ height: 100px; display: flex; align-items: center; justify-content: center; } .buttons { display: flex; flex-direction: row; width: 100%; gap: 10px; } .buttons a, .buttons button { width: 50%; height: 50px; display: flex; align-items: center; justify-content: center; } /*Профиль*/ hr{ margin: 5px 0; } hr:last-child{ opacity: 0; margin: 0; } button.btn, a.btn{ height: 50px; display: flex; align-items: center; justify-content: center; } .events { width: 100%; display: flex; flex-direction: row; justify-content: space-between; gap: 15px; } .organizator, .participant { width: 50%; display: flex; flex-direction: column; gap: 15px; } .one-event { display: flex; flex-direction: row; gap: 10px; } .cover-event { width: 200px; height: 250px; border: 1px solid #adb5bd; display: flex; justify-content: center; align-items: center; border-radius: 5px; } .cover-text-data{ width: 70%; } .logout { margin-top: 10px; } .table > :not(caption) > * > * { padding: 5px 0px; } .event-date{ width: 310px; } .event-type{ width: 200px; } h4{ padding-bottom: 5px; margin: 0; } h4 a, .black{ color: black; } /*Список мероприятий*/ .table > :not(caption) > * > * { padding: 5px 0px; } .cover-event { width: 300px; height: 350px; border: 1px solid #adb5bd; display: flex; justify-content: center; align-items: center; border-radius: 5px; } @media (max-width: 767px) { .main-buttons, .buttons{ flex-direction: column; } .main-buttons a{ width: 100%; } }