Bulk rename/move files to '8' directories
Perform a bulk rename/move of many files and folders: paths previously prefixed with '01', '02', '03', '04', etc. were relocated to equivalent paths prefixed with '8'. Changes are path-only (R100 renames) and do not modify file contents; this reorganizes the repository structure.
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
/* отключить стандартные отступы браузера */
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #1f2933;
|
||||
background: #f5f7fa;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
margin: 0;
|
||||
/* внешний отступ */
|
||||
padding: 0 16px;
|
||||
/* внутренний отступ */
|
||||
}
|
||||
|
||||
header {
|
||||
background: #2b6a8a;
|
||||
color: #fff;
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
section,
|
||||
.article-block {
|
||||
background: #fff;
|
||||
border: 1px solid #d6dee6;
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.nav-list {
|
||||
list-style: none;
|
||||
/* убрать маркеры */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
/* флексбокс для горизонтального расположения */
|
||||
flex-wrap: wrap;
|
||||
|
||||
gap: 8px;
|
||||
/* расстояние между элементами */
|
||||
}
|
||||
|
||||
.nav-list a,
|
||||
a.inline-link {
|
||||
color: #0b5f8a;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-list a:hover,
|
||||
a.inline-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.city-image {
|
||||
width: 100%;
|
||||
max-width: 460px;
|
||||
display: block;
|
||||
margin: 10px 0;
|
||||
border: 1px solid #ccd6e0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
/* объединение границ таблицы */
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
border: 1px solid #c9d3de;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
background: #eaf1f7;
|
||||
}
|
||||
|
||||
.positive {
|
||||
color: #0d7a3a;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.negative {
|
||||
color: #b02a2a;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 12px 0 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.nav-list {
|
||||
flex-direction: column;
|
||||
/* вертикальное расположение */
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 MiB |
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Мурманск - главная</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>Мурманск</h1>
|
||||
<p>Красивейший город за Полярным кругом</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<section>
|
||||
<h2>Навигация</h2>
|
||||
<nav aria-label="Навигация по страницам">
|
||||
<!-- метка для скринридеров -->
|
||||
<ul class="nav-list">
|
||||
<!-- маркированный список -->
|
||||
<li><a href="index.html">Главная</a></li>
|
||||
<li><a href="pages/page1.html">История</a></li>
|
||||
<li><a href="pages/page2.html">Климат</a></li>
|
||||
<li><a href="pages/page3.html">Население</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Кратко о городе</h2>
|
||||
<p>Мурманск основан в 1916 году. Это крупнейший город мира за Полярным кругом и важный незамерзающий порт
|
||||
России.</p>
|
||||
<img class="city-image" src="img/murmansk.png" alt="Мурманск, порт и северный город">
|
||||
<img class="city-image" src="img/murmansk2.png" alt="Мурманск, монумент Защитникам Советского Заполярья">
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Основные сведения</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<!-- заголовок таблицы -->
|
||||
<tr>
|
||||
<th>Параметр</th>
|
||||
<th>Значение</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Год основания</td>
|
||||
<td>1916</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Регион</td>
|
||||
<td>Мурманская область</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Население (2025)</td>
|
||||
<td>264 339 человек</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>Антипенко Д.А. С22-712</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Мурманск - история</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>Мурманск: история</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<section>
|
||||
<h2>Навигация</h2>
|
||||
<nav aria-label="Навигация">
|
||||
<ul class="nav-list">
|
||||
<li><a href="../index.html">Главная</a></li>
|
||||
<li><a href="page1.html">История</a></li>
|
||||
<li><a href="page2.html">Климат</a></li>
|
||||
<li><a href="page3.html">Население</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="article-block">
|
||||
<h2>История города</h2>
|
||||
<p>Мурманск основан в 1916 году как порт Романов-на-Мурмане. В 1917 году получил современное название.</p>
|
||||
<p>Город быстро вырос благодаря незамерзающему порту. В годы Великой Отечественной войны Мурманск стал
|
||||
важным центром приема северных конвоев.</p>
|
||||
<img class="city-image" src="../img/murmansk.png" alt="Мурманск, морской порт">
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p><a class="inline-link" href="../index.html">Вернуться на главную</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Мурманск - климат</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>Мурманск: климат</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<section>
|
||||
<h2>Навигация</h2>
|
||||
<nav aria-label="Навигация">
|
||||
<ul class="nav-list">
|
||||
<li><a href="../index.html">Главная</a></li>
|
||||
<li><a href="page1.html">История</a></li>
|
||||
<li><a href="page2.html">Климат</a></li>
|
||||
<li><a href="page3.html">Население</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="article-block">
|
||||
<h2>Климат города</h2>
|
||||
<p>Климат Мурманска субарктический морской: зима долгая, лето короткое и прохладное.</p>
|
||||
<img class="city-image" src="../img/murmansk2.png" alt="Мурманск, монумент Защитникам Советского Заполярья">
|
||||
<table>
|
||||
<caption>Климат Мурманска за последние 10 лет (2015-2024 гг)</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Показатель</th>
|
||||
<th>Янв.</th>
|
||||
<th>Февр.</th>
|
||||
<th>Март</th>
|
||||
<th>Апр.</th>
|
||||
<th>Май</th>
|
||||
<th>Июнь</th>
|
||||
<th>Июль</th>
|
||||
<th>Авг.</th>
|
||||
<th>Сент.</th>
|
||||
<th>Окт.</th>
|
||||
<th>Нояб.</th>
|
||||
<th>Дек.</th>
|
||||
<th>Год</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Макс., °C</td>
|
||||
<td>-8,3</td>
|
||||
<td>-6,2</td>
|
||||
<td>-1,4</td>
|
||||
<td>2,9</td>
|
||||
<td>9,3</td>
|
||||
<td>14,4</td>
|
||||
<td>18,4</td>
|
||||
<td>16,4</td>
|
||||
<td>11,7</td>
|
||||
<td>3,6</td>
|
||||
<td>-1,9</td>
|
||||
<td>-5,3</td>
|
||||
<td>4,5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Средн., °C</td>
|
||||
<td>-10,2</td>
|
||||
<td>-8,1</td>
|
||||
<td>-4</td>
|
||||
<td>0,2</td>
|
||||
<td>5,9</td>
|
||||
<td>10,6</td>
|
||||
<td>14,5</td>
|
||||
<td>13,0</td>
|
||||
<td>9,0</td>
|
||||
<td>2,1</td>
|
||||
<td>-3,3</td>
|
||||
<td>-7</td>
|
||||
<td>1,9</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Мин., °C</td>
|
||||
<td>-12,1</td>
|
||||
<td>-10,1</td>
|
||||
<td>-6,7</td>
|
||||
<td>-2,5</td>
|
||||
<td>2,5</td>
|
||||
<td>6,8</td>
|
||||
<td>10,6</td>
|
||||
<td>9,6</td>
|
||||
<td>6,4</td>
|
||||
<td>0,7</td>
|
||||
<td>-4,6</td>
|
||||
<td>-8,6</td>
|
||||
<td>-0,7</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p><a class="inline-link" href="../index.html">Вернуться на главную</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,151 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Мурманск - население</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>Мурманск: население</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<section>
|
||||
<h2>Навигация</h2>
|
||||
<nav aria-label="Навигация">
|
||||
<ul class="nav-list">
|
||||
<li><a href="../index.html">Главная</a></li>
|
||||
<li><a href="page1.html">История</a></li>
|
||||
<li><a href="page2.html">Климат</a></li>
|
||||
<li><a href="page3.html">Население</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="article-block">
|
||||
<h2>Динамика населения по актуальным данным</h2>
|
||||
<p>По данным из таблицы видно общее снижение численности населения с отдельными годами роста.</p>
|
||||
<table>
|
||||
<caption>Население Мурманска: 2006-2025</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Год</th>
|
||||
<th>Количество жителей</th>
|
||||
<th>Изменение</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>2006</td>
|
||||
<td>321 000</td>
|
||||
<td>-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2007</td>
|
||||
<td>317 500</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2008</td>
|
||||
<td>314 800</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2009</td>
|
||||
<td>311 209</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2010</td>
|
||||
<td>307 257</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2011</td>
|
||||
<td>307 310</td>
|
||||
<td class="positive">выросло</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2012</td>
|
||||
<td>305 034</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2013</td>
|
||||
<td>302 468</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2014</td>
|
||||
<td>299 148</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2015</td>
|
||||
<td>305 236</td>
|
||||
<td class="positive">выросло</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2016</td>
|
||||
<td>301 572</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2017</td>
|
||||
<td>298 096</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2018</td>
|
||||
<td>295 374</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2019</td>
|
||||
<td>292 465</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2020</td>
|
||||
<td>287 847</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2021</td>
|
||||
<td>270 384</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2023</td>
|
||||
<td>267 422</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2024</td>
|
||||
<td>266 681</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2025</td>
|
||||
<td>264 339</td>
|
||||
<td class="negative">уменьшилось</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p><a class="inline-link" href="../index.html">Вернуться на главную</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,389 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
||||
body {
|
||||
/* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
|
||||
font-family: 'Roboto', 'Arimo', sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
/* Навигация */
|
||||
.navbar {
|
||||
background-color: #2c3e50;
|
||||
color: white;
|
||||
padding: 1rem 2rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: #3498db;
|
||||
}
|
||||
|
||||
/* Главная секция */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
padding: 5rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-content p {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Кнопки */
|
||||
.btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
transition: all 0.3s;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #3498db;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #2980b9;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: #95a5a6;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #7f8c8d;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background-color: #27ae60;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-success:hover {
|
||||
background-color: #229954;
|
||||
}
|
||||
|
||||
/* О нас */
|
||||
.about {
|
||||
background-color: white;
|
||||
padding: 4rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 3rem;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-card {
|
||||
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
||||
padding: 2rem;
|
||||
border-radius: 8px;
|
||||
flex: 0 1 300px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.about-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.about-card h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
/* Возможности */
|
||||
.features {
|
||||
background-color: #ecf0f1;
|
||||
padding: 4rem 2rem;
|
||||
}
|
||||
|
||||
.features h2 {
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.features h3 {
|
||||
font-size: 1.8rem;
|
||||
margin: 2rem 0 1rem 0;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
/* Списки */
|
||||
.list-container {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.list-column {
|
||||
background: white;
|
||||
padding: 1.5rem;
|
||||
border-radius: 5px;
|
||||
flex: 0 1 250px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.list-column h4 {
|
||||
margin-bottom: 1rem;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.list-column ul,
|
||||
.list-column ol {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.list-column li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* Таблица */
|
||||
.data-table {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 1.5rem auto;
|
||||
border-collapse: collapse;
|
||||
background: white;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.data-table thead {
|
||||
background-color: #3498db;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.data-table th,
|
||||
.data-table td {
|
||||
padding: 1rem;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.data-table tbody tr:nth-child(even) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.data-table tbody tr:hover {
|
||||
background-color: #ecf0f1;
|
||||
}
|
||||
|
||||
/* Цветовая палитра */
|
||||
.color-palette {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.color-box {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.color-box:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.color-box.primary {
|
||||
background-color: #3498db;
|
||||
}
|
||||
|
||||
.color-box.secondary {
|
||||
background-color: #2c3e50;
|
||||
}
|
||||
|
||||
.color-box.success {
|
||||
background-color: #27ae60;
|
||||
}
|
||||
|
||||
.color-box.warning {
|
||||
background-color: #f39c12;
|
||||
}
|
||||
|
||||
.color-box.danger {
|
||||
background-color: #e74c3c;
|
||||
}
|
||||
|
||||
/* Форма */
|
||||
.contact {
|
||||
background-color: white;
|
||||
padding: 4rem 2rem;
|
||||
}
|
||||
|
||||
.contact h2 {
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.form {
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
background-color: #f9f9f9;
|
||||
padding: 2rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: bold;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.form-group input[type="text"],
|
||||
.form-group input[type="email"],
|
||||
.form-group textarea,
|
||||
.form-group select {
|
||||
padding: 0.75rem;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
font-size: 1rem;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.3s;
|
||||
}
|
||||
|
||||
.form-group input[type="text"]:focus,
|
||||
.form-group input[type="email"]:focus,
|
||||
.form-group textarea:focus,
|
||||
.form-group select:focus {
|
||||
outline: none;
|
||||
border-color: #3498db;
|
||||
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
|
||||
}
|
||||
|
||||
.form-group.checkbox {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.form-group.checkbox input[type="checkbox"] {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-group.checkbox label {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.form .btn {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
/* Подвал */
|
||||
.footer {
|
||||
background-color: #2c3e50;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
/* Адаптивность */
|
||||
@media (max-width: 768px) {
|
||||
.navbar {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.list-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.color-palette {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.color-box {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Демонстрация HTML и CSS</title>
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Навигация -->
|
||||
<nav class="navbar">
|
||||
<h1 class="logo">MyWebsite</h1>
|
||||
<ul class="nav-links">
|
||||
<li><a href="#home">Главная</a></li>
|
||||
<li><a href="#about">О нас</a></li>
|
||||
<li><a href="#features">Возможности</a></li>
|
||||
<li><a href="#contact">Контакт</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- Главная секция -->
|
||||
<section id="home" class="hero">
|
||||
<div class="hero-content">
|
||||
<h1>Добро пожаловать!</h1>
|
||||
<p>Это демонстрация различных HTML элементов и CSS свойств</p>
|
||||
<button class="btn btn-primary">Узнать больше</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- О нас -->
|
||||
<section id="about" class="about">
|
||||
<h2>О сайте</h2>
|
||||
<div class="about-content">
|
||||
<div class="about-card">
|
||||
<h3>📝 Текст</h3>
|
||||
<p>Это обычный параграф демонстрирует стиль текста с использованием CSS свойств как color, font-size и
|
||||
line-height.</p>
|
||||
</div>
|
||||
<div class="about-card">
|
||||
<h3>🎨 Дизайн</h3>
|
||||
<p>Рассказывает о использовании цветов, отступов, границ и других стилей для создания интересного
|
||||
визуального оформления.</p>
|
||||
</div>
|
||||
<div class="about-card">
|
||||
<h3>📦 Макет</h3>
|
||||
<p>Демонстрирует Flexbox layout для создания гибкого и адаптивного дизайна страницы на различных
|
||||
экранах.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Возможности -->
|
||||
<section id="features" class="features">
|
||||
<h2>Возможности</h2>
|
||||
|
||||
<h3>Типы списков</h3>
|
||||
<div class="list-container">
|
||||
<div class="list-column">
|
||||
<h4>Неупорядоченный список:</h4>
|
||||
<ul>
|
||||
<li>Первый элемент</li>
|
||||
<li>Второй элемент</li>
|
||||
<li>Третий элемент</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="list-column">
|
||||
<h4>Упорядоченный список:</h4>
|
||||
<ol>
|
||||
<li>Шаг первый</li>
|
||||
<li>Шаг второй</li>
|
||||
<li>Шаг третий</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Таблица -->
|
||||
<h3>Таблица данных</h3>
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Имя</th>
|
||||
<th>Возраст</th>
|
||||
<th>Город</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Иван</td>
|
||||
<td>25</td>
|
||||
<td>Москва</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Мария</td>
|
||||
<td>30</td>
|
||||
<td>Санкт-Петербург</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Петр</td>
|
||||
<td>28</td>
|
||||
<td>Казань</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- Цветовая палитра -->
|
||||
<h3>Цветовая палитра</h3>
|
||||
<div class="color-palette">
|
||||
<div class="color-box primary"></div>
|
||||
<div class="color-box secondary"></div>
|
||||
<div class="color-box success"></div>
|
||||
<div class="color-box warning"></div>
|
||||
<div class="color-box danger"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Форма -->
|
||||
<section id="contact" class="contact">
|
||||
<h2>Контактная форма</h2>
|
||||
<form class="form">
|
||||
<div class="form-group">
|
||||
<label for="name">Имя:</label>
|
||||
<input type="text" id="name" name="name" placeholder="Введите ваше имя" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" id="email" name="email" placeholder="Введите вашу почту" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="message">Сообщение:</label>
|
||||
<textarea id="message" name="message" rows="5" placeholder="Напишите ваше сообщение"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="country">Страна:</label>
|
||||
<select id="country" name="country">
|
||||
<option>Россия</option>
|
||||
<option>Беларусь</option>
|
||||
<option>Казахстан</option>
|
||||
<option>Украина</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group checkbox">
|
||||
<input type="checkbox" id="agree" name="agree">
|
||||
<label for="agree">Я согласен с условиями</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-success">Отправить</button>
|
||||
<button type="reset" class="btn btn-secondary">Очистить</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<!-- Подвал -->
|
||||
<footer class="footer">
|
||||
<p>© 2026 MyWebsite. Все права защищены.</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user