/* ------------------------------
* Базовый стиль страницы
* ------------------------------ */
body,
#page.site,
.site-content {
background: #ffffff;
color: #333333;
line-height: 1.7;
}
/* ------------------------------
* Заголовки
* ------------------------------ */
.site-title,
.entry-title,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
color: #1E73BE;
font-weight: 700;
margin: 1em 0 0.5em;
position: relative;
padding-bottom: 6px;
}
/* Уникальный акцент для заголовков — мягкая “световая линия” */
.entry-content h2::after,
.site-title::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 50px;
height: 3px;
background: linear-gradient(90deg, #1E73BE, #7AB8F5);
border-radius: 2px;
transition: width 0.3s ease;
}
.entry-content h2:hover::after,
.site-title:hover::after {
width: 100%;
}
/* ------------------------------
* Карточки записей
* ------------------------------ */
.post-box {
background: #ffffff;
border: 2px solid #1E73BE;
border-radius: 12px;
padding: 5px;       /* внутренние отступы */
margin: 0;           /* убираем промежутки между карточками */
transition: border-color 0.3s ease, transform 0.3s ease;
position: relative;
overflow: hidden;
}
/* Полоска при наведении сверху */
.post-box::before {
content: "";
position: absolute;
top: 0;
left: -50%;
width: 200%;
height: 4px;
background: linear-gradient(90deg, #1E73BE, #7AB8F5, #1E73BE);
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.post-box:hover::before {
transform: translateX(0%);
}
.post-box__body {
padding: 5px; /* отступы текста от краёв карточки */
}
.post-box__title {
margin: 0;
padding: 5px 0;
font-size: 1.3rem;
color: #1E73BE;
}
/* Заголовок карточки */
.post-box__title a {
color: #1E73BE;
font-weight: 600;
font-size: 1.1rem;
text-decoration: none;
transition: color 0.3s ease;
}
.post-box__title a:hover {
color: #7AB8F5;
}
/* Описание статьи */
.post-box__excerpt {
font-size: 0.95rem;
color: #555;
margin-top: 5px;
}
/* ------------------------------
* Содержание статьи
* ------------------------------ */
.entry-content p {
margin-bottom: 1em;
font-size: 1rem;
color: #333;
}
.entry-content ul,
.entry-content ol {
padding-left: 1.4em;
margin: 1em 0;
}
.entry-content ul li::before {
content: "→"; /* необычный маркер */
margin-right: 6px;
color: #1E73BE;
font-weight: bold;
}
/* Цитаты */
.entry-content blockquote {
border-left: 3px solid #1E73BE;
background: #FFFFFF;
padding: 12px 18px;
font-style: italic;
margin: 1.2em 0;
border-radius: 6px;
}
/* Ссылки */
.entry-content a {
color: #1E73BE;
text-decoration: underline;
transition: color 0.3s ease;
}
.entry-content a:hover {
color: #7AB8F5;
}
/* ------------------------------
* Кнопки
* ------------------------------ */
.button,
a.button {
background: #1E73BE;
color: #fff;
padding: 8px 18px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
display: inline-block;
transition: background 0.3s ease, transform 0.2s ease;
}
.button:hover,
a.button:hover {
background: #7AB8F5;
transform: translateY(-2px);
}
/* ------------------------------
* Карусель (мини)
* ------------------------------ */
.carousel-container {
position: relative;
overflow: hidden;
margin: 30px 0;
border-radius: 16px;
}
.carousel-track {
display: flex;
transition: transform 0.5s ease-in-out;
}
.carousel-item {
min-width: 280px;
margin: 0 10px;
background: #ffffff;
border: 1px solid #1E73BE;
border-radius: 12px;
padding: 12px;
box-shadow: 0 3px 10px rgba(30,115,190,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(30,115,190,0.1);
}
/* Кнопки карусели */
.carousel-buttons button {
background: #1E73BE;
border: none;
color: #fff;
border-radius: 50%;
font-size: 1.5rem;
padding: 8px 12px;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
.carousel-buttons button:hover {
background: #7AB8F5;
transform: scale(1.15);
}
/* Содержание статьи — убираем серый фон при открытии */
.table-of-contents,
.table-of-contents.open {
background: #ffffff !important; /* белый фон */
border: none; /* убираем рамку */
border-radius: 10px;
padding: 12px 16px;
margin: 20px 0;
box-shadow: 0 4px 12px rgba(30,115,190,0.05);
}
/* Заголовок "Содержание" */
.table-of-contents__header {
font-weight: 600;
color: #1E73BE;
cursor: pointer;
position: relative;
padding-bottom: 4px;
margin-bottom: 8px;
background: transparent;
}
/* Стрелка раскрытия */
.table-of-contents__header::after {
content: "▼";
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
color: #1E73BE;
font-size: 0.9rem;
transition: transform 0.3s ease;
}
.table-of-contents.open .table-of-contents__header::after {
transform: translateY(-50%) rotate(180deg);
}
/* Список внутри содержания */
.table-of-contents__list {
margin: 0;
padding-left: 20px;
color: #333333;
background: transparent; /* прозрачный фон для списка */
}
.table-of-contents__list li {
margin-bottom: 6px;
}
.table-of-contents__list li a {
color: #1E73BE;
text-decoration: none;
transition: color 0.3s ease;
}
.table-of-contents__list li a:hover {
color: #7AB8F5;
}
/* Параграфы */
.entry-content p {
font-size: 1rem;
margin-bottom: 1em;
color: #333;
}
/* Списки */
.entry-content ul,
.entry-content ol {
padding-left: 1.6em;
margin: 1em 0;
}
.entry-content ul li::before {
content: "→"; /* минималистичный и необычный маркер */
margin-right: 6px;
color: #1E73BE;
font-weight: bold;
}
/* Цитаты */
.entry-content blockquote {
border-left: 4px solid #1E73BE;
background: #f7f9fc;
padding: 12px 18px;
font-style: italic;
margin: 1.5em 0;
border-radius: 6px;
color: #444;
position: relative;
}
/* Ссылки */
.entry-content a {
color: #1E73BE;
text-decoration: underline;
transition: color 0.3s ease;
}
.entry-content a:hover {
color: #7AB8F5;
}
/* Изображения */
.entry-content img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(30,115,190,0.05);
margin: 14px 0;
}
/* Таблицы */
.entry-content table {
width: 100%;
border-collapse: collapse;
margin: 1.5em 0;
border: 1px solid #1E73BE;
border-radius: 8px;
overflow: hidden;
}
.entry-content table th,
.entry-content table td {
padding: 10px 14px;
border: 1px solid #ddd;
text-align: left;
}
.entry-content table th {
background: #1E73BE;
color: #fff;
font-weight: 600;
}
/* Кнопки внутри статьи */
.entry-content .button,
.entry-content a.button {
background: #1E73BE;
color: #fff;
padding: 8px 18px;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
display: inline-block;
transition: background 0.3s ease, transform 0.2s ease;
}
.entry-content .button:hover,
.entry-content a.button:hover {
background: #7AB8F5;
transform: translateY(-2px);
}
/* ------------------------------
* Виджеты — анимированный фон, без тени
* ------------------------------ */
.widget {
background: #ffffff; /* белый фон */
border-radius: 14px;
padding: 18px 22px;
margin-bottom: 28px;
position: relative;
overflow: hidden;
border: 2px solid #1E73BE;
}
/* Анимированная полоска сверху */
.widget::before {
content: "";
position: absolute;
top: 0;
left: -50%;
width: 200%;
height: 6px;
background: linear-gradient(90deg, #1E73BE, #7AB8F5, #1E73BE);
border-top-left-radius: 14px;
border-top-right-radius: 14px;
animation: animateGradient 4s linear infinite;
}
@keyframes animateGradient {
0% { transform: translateX(-50%); }
50% { transform: translateX(0%); }
100% { transform: translateX(-50%); }
}
/* Заголовки виджетов */
.widget-title,
.widget-header {
font-size: 1.25rem;
font-weight: 700;
color: #1E73BE;
margin-bottom: 14px;
position: relative;
padding-bottom: 6px;
}
/* Декоративная линия под заголовком */
.widget-title::after,
.widget-header::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: linear-gradient(90deg, #1E73BE, #7AB8F5);
border-radius: 2px;
transition: width 0.3s ease;
}
.widget-title:hover::after,
.widget-header:hover::after {
width: 100%;
}
/* Списки внутри виджетов */
.widget ul {
list-style: none;
padding: 0;
margin: 0;
}
.widget ul li {
margin-bottom: 10px;
position: relative;
padding-left: 18px;
}
/* Маркеры списка */
.widget ul li::before {
content: "●";
color: #1E73BE;
position: absolute;
left: 0;
font-size: 0.85rem;
top: 50%;
transform: translateY(-50%);
}
/* Ссылки внутри виджетов */
.widget ul li a {
color: #1E73BE;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease, transform 0.2s ease;
}
.widget ul li a:hover {
color: #7AB8F5;
transform: translateX(3px);
}
/* ------------------------------
* Картинки в статье — стиль сайта
* ------------------------------ */
.post-thumbnail {
background: #ffffff; /* белый фон вокруг изображения */
border-radius: 14px;
padding: 8px;
margin: 20px 0;
position: relative;
overflow: hidden;
border: 2px solid #1E73BE;
}
/* Анимированная градиентная полоска сверху */
.post-thumbnail::before {
content: "";
position: absolute;
top: 0;
left: -50%;
width: 200%;
height: 6px;
background: linear-gradient(90deg, #1E73BE, #7AB8F5, #1E73BE);
border-top-left-radius: 14px;
border-top-right-radius: 14px;
animation: animateGradient 4s linear infinite;
}
/* Сама картинка */
.post-thumbnail img {
display: block;
width: 100%;
height: auto;
border-radius: 10px;
}
/* Анимация градиентной полоски (можно использовать общую) */
@keyframes animateGradient {
0% { transform: translateX(-50%); }
50% { transform: translateX(0%); }
100% { transform: translateX(-50%); }
}
.entry-content ul li,
.entry-content ol li {
font-size: 1rem; /* такой же как у параграфов */
line-height: 1.6;
}