Basic page

This commit is contained in:
Anton Vakhrushev 2016-08-25 21:21:09 +03:00
commit ca365d096a
3 changed files with 96 additions and 0 deletions

10
.editorconfig Normal file
View File

@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
[*.html]
indent_size = 2

59
index.html Normal file
View File

@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=PT+Serif&subset=cyrillic" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/style.css">
<title>Здравствуйте</title>
</head>
<body>
<main class="content">
<h1 class="greeting">Здравствуйте,</h1>
<p class="text">
меня зовут Антон Вахрушев, и это моя домашняя страница.<br>
Здесь вы можете.
</p>
<h2 class="heading">Посмотреть</h2>
<ul>
<li>
<a href="https://500px.com/anwinged">хорошие фотографии на 500px</a>
</li>
<li>
<a href="https://www.instagram.com/anwinged/">плохие фотографии в инстаграме</a>
</li>
<li>
<a href="https://www.kinopoisk.ru/user/2639698/votes/">какие фильмы я люблю</a>
</li>
<li>
<a href="https://fantlab.ru/user70525/marks">что из книг со мной обсудить</a>
</li>
</ul>
<h2 class="heading">Почитать</h2>
<ul>
<li>
<a href="https://github.com/anwinged">код на гитхабе</a>
</li>
</ul>
<h2 class="heading">Похвалить</h2>
<ul>
<li>
<a href="">за спортивные успехи на страве</a>
</li>
</ul>
<h2 class="heading">Написать</h2>
<ul>
<li>
<a href="https://vk.com/anwinged">вконтакте</a>
</li>
<li>
<a href="mailto:anwinged@yandex.ru">на почту</a>
</li>
</ul>
</main>
</body>
</html>

27
style.css Normal file
View File

@ -0,0 +1,27 @@
body {
font-size: 18px;
font-family: 'PT Serif', Serif;
}
.content {
width: 840px;
margin: 0 auto;
}
.greeting {
margin-top: 1.8em;
font-size: 3.4em;
margin-bottom: 0.6em;
font-weight: normal;
}
.heading {
margin-top: 2.3em;
margin-bottom: 0.4em;
font-size: 1.2em;
font-weight: normal;
}
.text {
margin-bottom: 0.8em;
}