-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
desolay
committed
May 11, 2023
1 parent
4e50e68
commit 70c3924
Showing
1 changed file
with
64 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,68 @@ | ||
<html> | ||
<style> | ||
* { | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
.header { | ||
background-color: #333; | ||
color: #fff; | ||
padding: 4px; | ||
text-align: center; | ||
} | ||
|
||
.h1 { | ||
font-size: 30px; | ||
padding: 4px; | ||
} | ||
|
||
:root { | ||
--main-color: #03c03c; | ||
} | ||
</style> | ||
|
||
<head> | ||
<title>Web - lab4</title> | ||
<meta charset="utf-8" /> | ||
<script src="https://cdn.tailwindcss.com"></script> | ||
</head> | ||
|
||
<body class="flex flex-col w-full"> | ||
<style> | ||
* { | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: content-box; | ||
} | ||
|
||
#app { | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
.header { | ||
padding: 4px; | ||
text-align: center; | ||
background-color: #333; | ||
color: #fff; | ||
} | ||
|
||
.main { | ||
padding: 8px 4px; | ||
background-color: #ccc; | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
} | ||
|
||
.link { | ||
font-size: 20px; | ||
padding: 8px 24px; | ||
border: 1px solid black; | ||
border-radius: 10px; | ||
text-align: center; | ||
} | ||
|
||
.footer { | ||
background-color: #333; | ||
color: #fff; | ||
padding: 8px 4px; | ||
text-align: center; | ||
} | ||
</style> | ||
|
||
<head> | ||
<title>Web - lab4</title> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<div id="app"> | ||
<header class="header"> | ||
<div class="flex flex-row justify-center w-full"> | ||
<h1 class="p-4">Лабораторная работа №4</h1> | ||
</div> | ||
<h1>Лабораторная работа №4</h1> | ||
</header> | ||
<main class="main"> | ||
<a class="link" href="part1.php">Часть 1</a> | ||
<a class="link" href="part2.php">Часть 2</a> | ||
</main> | ||
<footer class="footer"> | ||
<p>Лабораторные выполнил студент АВТ-019 - Попов П.С.</p> | ||
<p>Вариант №8</p> | ||
</footer> | ||
</div> | ||
</body> | ||
|
||
<div class="flex flex-col w-full h-full justify-center items-center"> | ||
<h1 class="text-xl underline text-blue-500"> | ||
<a href="part1.php"><span>Часть 1</span></a> | ||
</h1> | ||
<br /> | ||
<br /> | ||
<h1 class="text-xl underline text-blue-500"> | ||
<a href="part2.php"><span>Часть 2</span></a> | ||
</h1> | ||
</div> | ||
</body> | ||
</html> | ||
</html> |