41de9ea642
- Remove ::before/::after decorative horizontal lines on post date - Remove blue inset box-shadow from post card hover state - Switch nav icons from outline (-o) to filled variants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
79 lines
2.1 KiB
CSS
Executable File
79 lines
2.1 KiB
CSS
Executable File
/* Уменьшение отступов между меню и заголовками страниц */
|
|
#main > * {
|
|
padding-top: 2rem !important;
|
|
}
|
|
|
|
/* Для мобильных устройств */
|
|
@media (max-width: 736px) {
|
|
#main > * {
|
|
padding-top: 1.5rem !important;
|
|
}
|
|
}
|
|
|
|
/* Заголовок страницы — убираем UPPERCASE, нормальный регистр */
|
|
.post header.major h1 {
|
|
font-size: 2.5rem !important;
|
|
line-height: 1.2 !important;
|
|
text-transform: none !important;
|
|
letter-spacing: 0.01em !important;
|
|
font-weight: 900 !important;
|
|
color: #1a252f !important;
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
/* Описание под заголовком — читаемое, не тонкое */
|
|
.post header.major p {
|
|
font-size: 1rem !important;
|
|
font-weight: 400 !important;
|
|
line-height: 1.65 !important;
|
|
color: #555c63 !important;
|
|
font-family: 'Source Sans Pro', Helvetica, sans-serif !important;
|
|
text-align: left !important;
|
|
}
|
|
|
|
/* Выравнивание заголовка влево */
|
|
.post header.major {
|
|
text-align: left !important;
|
|
}
|
|
|
|
@media (max-width: 736px) {
|
|
.post header.major h1 {
|
|
font-size: 1.9rem !important;
|
|
}
|
|
}
|
|
|
|
/* Скруглённые углы — изображения в карточках постов */
|
|
a.image.main img,
|
|
a.image.fit img {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
a.image.main,
|
|
a.image.fit {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
|
|
/* Скруглённые углы — белая подложка #main */
|
|
#main {
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 736px) {
|
|
#main {
|
|
border-radius: 14px;
|
|
margin-top: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Убираем декоративные линии по бокам даты в заголовке поста */
|
|
.post header.major .date::before,
|
|
.post header.major .date::after {
|
|
display: none !important;
|
|
} |