-
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
Showing
7 changed files
with
249 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@keyframes ava-animate { | ||
0% { | ||
border-radius: 17% 83% 72% 28% / 41% 23% 77% 59% ; | ||
} | ||
|
||
25% { | ||
border-radius: 59% 41% 75% 25% / 45% 51% 49% 55%; | ||
} | ||
|
||
50% { | ||
border-radius: 72% 28% 85% 15% / 29% 65% 35% 71%; | ||
} | ||
|
||
75% { | ||
border-radius: 74% 26% 89% 11% / 21% 75% 25% 79%; | ||
} | ||
|
||
100% { | ||
border-radius: 82% 18% 38% 62% / 65% 46% 54% 35% ; | ||
} | ||
} | ||
|
||
@keyframes ava-bg { | ||
from { | ||
backgrop-filter: hue-rotate(0); | ||
} | ||
|
||
to { | ||
backdrop-filter: hue-rotate(90deg); | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.header { | ||
width: 100%; /* ширина шапки на 100% всего пространства */ | ||
padding: 1% 0; /* внутренний отступ сверзу и снизу по 1% от ширины всего блока */ | ||
|
||
text-align: center; /* выровнять весь текст в блоке по центру */ | ||
font-size: 24px; /* размер текста внутри блока равен 24 пикселя*/ | ||
font-weight: 300; /* толщина текста равна 400 */ | ||
|
||
color: gray; /* цвет текста серый */ | ||
} | ||
|
||
.header_logo { | ||
color: inherit; /* цвет текста наследуется из материнского элемента (серый) */ | ||
text-decoration: none; /* отключить все декорации текстовых элементов */ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
.hero { | ||
min-height: 100vh; | ||
|
||
display: flex; | ||
justify-content: center; | ||
|
||
align-items: center; | ||
} | ||
|
||
.container { | ||
max-width: 1230px; | ||
width: 100%; | ||
|
||
margin: 0 auto; | ||
|
||
padding: 0 15px; | ||
} | ||
|
||
.hero_container { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); | ||
|
||
grid-gap: 5%; | ||
} | ||
|
||
.hero_about { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
|
||
.hero_title { | ||
font-size: 48px; | ||
line-height: 1.1; | ||
|
||
margin-bottom: 5%; | ||
} | ||
|
||
.hero_subtitle { | ||
font-size: 32px; | ||
font-weight: 400; | ||
} | ||
|
||
.hero_links { | ||
display: flex; | ||
} | ||
|
||
.hero_link { | ||
margin-right: 10px; | ||
|
||
font-size: 30px; | ||
color: black; | ||
|
||
transition: color 0.3s; | ||
} | ||
|
||
.hero_link:hover { | ||
color: #ff0054; | ||
} | ||
|
||
.hero_box { | ||
max-width: 500px; | ||
justify-content: center; | ||
|
||
overflow: hidden; | ||
|
||
border: 10px solid #fff; | ||
box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.5); | ||
|
||
background: -webkit-linear-gradient(90deg, #80ffdb,#48bfe3,#ff0054);background: linear-gradient(90deg, #80ffdb,#48bfe3,#ff0054); | ||
|
||
animation: ava-animate 5s infinite alternate; | ||
} | ||
|
||
.hero_box-img { | ||
animation: ava-bg 5s infinite alternate; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@media screen and (max-width: 978px){ | ||
.hero { | ||
padding-top: 30px; | ||
} | ||
|
||
.hero_container { | ||
grid-row-gap: 20px; | ||
} | ||
|
||
.hero-title { | ||
font-size: 28px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.hero_subtitle { | ||
font-size: 22px; | ||
font-weight: 400; | ||
} | ||
|
||
.hero_description { | ||
font-size: 14px; | ||
} | ||
|
||
.hero_about { | ||
text-align: center; | ||
} | ||
|
||
.hero_links { | ||
justify-content: center; | ||
} | ||
|
||
.hero_box { | ||
max-width: 350px; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
*, | ||
::before, | ||
::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: "Montserrat"; | ||
|
||
background-color: #F0FFFF; | ||
} | ||
|
||
img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3 { | ||
margin: 0; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> <!-- разметка сайта --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<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=Montserrat:ital,wght@0,100..900;1, 100..900&display=swap" rel="stylesheet"> <!-- Подключение шрифта --> | ||
|
||
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'> <!-- Подключение сайта с иконками для соц сетей-->> | ||
|
||
<link rel="stylesheet" href="Styles/Styles.css"> <!-- подключение общего файла со стилями --> | ||
<link rel="stylesheet" href="Styles/Header.css"> <!-- подключение файла со стилями для блока header --> | ||
<link rel="stylesheet" href="Styles/Hero.css"> <!-- подключение файла со стилями для блока hero--> | ||
<link rel="stylesheet" href="Styles/Screen.css"> <!-- подключение файла с изменениями для ширины экрана --> | ||
<link rel="stylesheet" href="Styles/Animations.css"> <!-- подключение файла с анимациями --> | ||
<title>NetNest</title> <!-- Название сайта --> | ||
</head> | ||
<body> | ||
<div class="header"> <!-- шапка сайта --> | ||
<a class='header_logo logo' href="#">Сайт Ярослава Александровича</a> <!-- логотип сайта сайта --> | ||
</div> | ||
|
||
<div class="hero"> <!-- Обо мне --> | ||
<div class="container hero_container"> <!-- контейнер сайта --> | ||
<div class="hero_about"> | ||
<h1 class="hero_title"> <!-- Кто я --> | ||
ВЕБ-РАЗРАБОТЧИК | ||
</h1> | ||
<h2 class="hero_subtitle"> <!-- Как меня зовут --> | ||
Дацунов Ярослав | ||
</h2> | ||
<p class="hero_description"> <!-- Чем я занимаюсь --> | ||
Приветствую тебя на моём сайте! Меня зовут Ярослав | ||
и я занимаюсь веб разработкой адаптивных сайтов по макетам. Пишите для сотрудничества! | ||
</p> | ||
<div class="hero_links"> <!-- Список ссылок на мои социальные сети --> | ||
<a href="#" class="hero_link"> | ||
<i class='bx bxl-facebook-square'></i> <!-- иконка фейсбука --> | ||
</a> | ||
|
||
<a href="#" class="hero_link"> | ||
<i class='bx bxl-vk'></i> <!-- иконка вк --> | ||
</a> | ||
|
||
<a href="#" class="hero_link"> | ||
<i class='bx bxl-twitter'></i> <!-- иконка твиттера --> | ||
</a> | ||
|
||
<a href="#" class="hero_link"> | ||
<i class='bx bxl-instagram'></i> <!-- иконка инстаграмма --> | ||
</a> | ||
|
||
<a href="#" class="hero_link"> | ||
<i class='bx bxl-telegram'></i> <!-- иконка телеграмма --> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="hero_box"> | ||
<img src="images/it_is_me.png" alt="" class="hero_box-img"> <!-- моё фото --> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |