Compare commits

...

2 Commits

Author SHA1 Message Date
1812d3bbef Decrease footer height 2024-11-07 10:32:12 +04:00
e642517747 Fix html pages 2024-11-07 10:32:00 +04:00
5 changed files with 121 additions and 115 deletions

View File

@ -14,7 +14,7 @@ header nav a:hover {
footer { footer {
background-color: #9c9c9c; background-color: #9c9c9c;
height: 64px; height: 48px;
color: #ffffff; color: #ffffff;
} }

View File

@ -1,4 +1,5 @@
<html lang="ru"> <!doctype html>
<html lang="ru" class="h-100">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Моя страница</title> <title>Моя страница</title>

View File

@ -1,18 +1,16 @@
<html lang="ru"> <!doctype html>
<html lang="ru" class="h-100">
</html> <head>
<meta charset="utf-8" />
<head>
<meta charset="utf-8">
<title>Моя страница</title> <title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> <script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" /> <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="./node_modules/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet" /> <link href="./node_modules/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./css/style.css"> <link rel="stylesheet" href="./css/style.css" />
</head> </head>
<body class="h-100 d-flex flex-column"> <body class="h-100 d-flex flex-column">
<header> <header>
<nav class="navbar navbar-expand-md navbar-dark"> <nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid"> <div class="container-fluid">
@ -20,8 +18,15 @@
<i class="bi bi-app"></i> <i class="bi bi-app"></i>
Мой сайт Мой сайт
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" <button
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav"> <div class="navbar-collapse collapse justify-content-end" id="navbarNav">
@ -49,8 +54,7 @@
<th scope="col"></th> <th scope="col"></th>
</tr> </tr>
</thead> </thead>
<tbody id="students"> <tbody id="students"></tbody>
</tbody>
</table> </table>
</main> </main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center"> <footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
@ -113,6 +117,5 @@
getStudents(); getStudents();
}); });
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,4 +1,5 @@
<html lang="ru"> <!doctype html>
<html lang="ru" class="h-100">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Моя страница</title> <title>Моя страница</title>

View File

@ -1,4 +1,5 @@
<html lang="ru"> <!doctype html>
<html lang="ru" class="h-100">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Моя страница</title> <title>Моя страница</title>