lesson 05-06 layout
BIN
src/assets/cucumber.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
src/assets/favicon/android-chrome-192x192.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/favicon/android-chrome-512x512.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
src/assets/favicon/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/favicon/favicon-16x16.png
Normal file
After Width: | Height: | Size: 632 B |
BIN
src/assets/favicon/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/assets/favicon/favicon.ico
Normal file
After Width: | Height: | Size: 15 KiB |
19
src/assets/favicon/site.webmanifest
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "assets/favicon//android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "assets/favicon//android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
BIN
src/assets/logo_1x.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
src/assets/logo_2x.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/logo_4x.png
Normal file
After Width: | Height: | Size: 60 KiB |
90
src/index.html
Normal file
@ -0,0 +1,90 @@
|
||||
<!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="./style/main.css" />
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="180x180"
|
||||
href="./assets/favicon/apple-touch-icon.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="32x32"
|
||||
href="./assets/favicon/favicon-32x32.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="16x16"
|
||||
href="./assets/favicon/favicon-16x16.png"
|
||||
/>
|
||||
<link rel="manifest" href="./assets/favicon/site.webmanifest" />
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header id="header">
|
||||
<img
|
||||
height="44p"
|
||||
width="227"
|
||||
src="./assets/logo_4x.png"
|
||||
alt="Логотип. Надпись Рик и Морти"
|
||||
srcset="
|
||||
./assets/logo_1x.png 220w,
|
||||
./assets/logo_2x.png 445w,
|
||||
./assets/logo_4x.png 880w
|
||||
"
|
||||
sizes="
|
||||
(max-width: 240px) 100px,
|
||||
(min-width: 320px) 440px,
|
||||
(min-width: 520px) 880px
|
||||
"
|
||||
/>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#01">Home</a></li>
|
||||
<li><a href="#02">Персонажи</a></li>
|
||||
<li><a href="#03">Локации</a></li>
|
||||
<li><a href="#04">Эризоды</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="main">
|
||||
<header class="card card-main">
|
||||
<div>
|
||||
<h1 class="h1">Персонажи из <br /><span>огурчиковой вселенной</span></h1>
|
||||
|
||||
<p>
|
||||
На этой странице представлены персонажи из сериала “Rick and Morty”.
|
||||
Этот популярный анимационный сериал, созданный Джастином Ройландом и
|
||||
Дэном Хармоном, рассказывает о приключениях Рика Санчеза,
|
||||
гениального и эксцентричного ученого, и его внука Морти Смита.
|
||||
</p>
|
||||
</div>
|
||||
<img src="./assets/cucumber.png" alt="" />
|
||||
</header>
|
||||
|
||||
<article class="card"></article>
|
||||
</main>
|
||||
|
||||
<aside></aside>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
14
src/second.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!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="apple-touch-icon" sizes="180x180" href="./assets/favicon/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png" />
|
||||
<link rel="manifest" href="./assets/favicon/site.webmanifest" />
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
37
src/style/main.css
Normal file
@ -0,0 +1,37 @@
|
||||
body {
|
||||
font-family: "PT Sans", sans-serif;
|
||||
background-color: rgb(206, 230, 233);
|
||||
}
|
||||
|
||||
#header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 1024px;
|
||||
max-width: calc(100% - 32px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.card {
|
||||
margin-top: 24px;
|
||||
border-radius: 30px;
|
||||
box-shadow: 0 0 26px 2px #0000001c;
|
||||
background: rgba(255, 255, 255, 0.59);
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card-main {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.h1 {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 24px;
|
||||
}
|