/* Общие настройки страницы */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 20px;
font-size: 14px;
}
/* Главный контейнер (бывшая таблица) */
.main-table {
width: 100%;
max-width: 950px;
margin: 0 auto;
background-color: #ffffff;
border: 1px solid #ccc;
display: block;
}
/* Делаем так, чтобы шапка, меню и контент правильно обтекали друг друга */
.header, .sidebar, .content, .sidebar-right, .black-line, .site-creation {
box-sizing: border-box;
}
/* Шапка сайта */
.header {
text-align: center;
font-size: 20px;
font-weight: bold;
padding: 15px;
width: 100%;
border-bottom: 2px solid #1b5e20;
}
/* Зеленый цвет для шапки и левой панели */
.bg-green {
background-color: #2e7d32;
color: #ffffff;
}
/* Стили для ссылок в левом меню */
.sidebar a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
line-height: 2.5;
display: inline-block;
}
.sidebar a:hover {
text-decoration: underline;
}
/* Чтобы три колонки (меню, центр, правая) встали в один ряд */
.sidebar, .content, .sidebar-right {
float: left;
min-height: 450px; /* Чтобы колонки были примерно одной высоты */
}
/* Левое меню — ширина 15% */
.sidebar {
width: 15%;
padding: 20px 15px;
}
/* Центральный контент — ширина 60% */
.content {
width: 60%;
padding: 20px;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
background-color: #ffffff;
}
/* Правая колонка — ширина 25% */
.sidebar-right {
width: 25%;
padding: 20px 15px;
background-color: #fafafa;
}
/* Сброс обтекания, чтобы подвал не залезал на колонки */
.black-line {
clear: both;
background-color: #000000;
height: 6px;
width: 100%;
}
/* Заголовки внутри контента */
.title-center {
text-align: center;
font-weight: bold;
font-size: 16px;
padding-bottom: 15px;
}
.padding-top-20 {
padding-top: 20px;
}
/* Блок разделов (Моделирование и Анимация) */
.sections-table {
width: 100%;
display: block;
margin-top: 15px;
}
/* Каждая колонка раздела занимает половину центральной части */
.section-cell {
width: 50%;
float: left;
padding: 10px;
box-sizing: border-box;
}
/* Картинки-иконки внутри разделов */
.section-cell img {
margin-right: 12px;
margin-bottom: 10px;
}
.section-title {
font-size: 15px;
display: inline-block;
vertical-align: top;
padding-top: 12px;
}
.section-text {
font-size: 13px;
color: #333;
line-height: 1.4;
clear: both;
padding-top: 5px;
}
/* Ссылки внизу контента */
.footer-links-text {
font-size: 12px;
text-align: center;
line-height: 1.6;
padding-top: 15px;
clear: both;
}
.external-link {
color: #0066cc;
text-decoration: none;
}
.external-link:hover {
text-decoration: underline;
}
/* Стили для правой колонки с книгами */
.sidebar-right-title {
font-size: 13px;
display: block;
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.book-item {
font-size: 12px;
margin-bottom: 15px;
line-height: 1.4;
}
.isbn {
color: #666666;
font-size: 11px;
}
/* Самый нижний копирайт под черной линией */
.site-creation {
text-align: center;
padding: 12px;
font-size: 11px;
color: #666666;
background-color: #f9f9f9;
width: 100%;
}