Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Абдималик кызы Даниэлла #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML-CSS#2</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
<header class="header">
<h1 class="header-content">МОЕ ПОРТФОЛИО</h1>
</header>
<main class="main">
<nav class="menu">
<a class="menu-tag" href="#">Животные</a>
<a class="menu-tag" href="#">Машины</a>
<a class="menu-tag" href="#">Дома</a>
<a class="menu-tag" href="#">Технологии</a>
</nav>

<article class="content">
<h2 class="main-content">Карточки</h2>
<figure class="block">
<img class="img" src="images/1.jpg" alt="котяточки"/>
<section>
<p class="block-description">Краткое описание: котяточки</p>
<time>Дата съёмки: 05.19.2019</time>
<p>Локация: Казань</p>
<p class="tags">#животные #котики #кошки #залень </p>
</section>
</figure>

<figure class="block">
<img class="img" src="images/3.jpg" alt="машиночка"/>
<section>
<p class="block-description">Краткое описание: машина</p>
<time>Дата съёмки: 04.01.2010</time>
<p>Локация: Москва</p>
<p class="tags">#машины #ночь #скорость</p>
</section>
</figure>
</article>
</main>
<footer class="footer"></footer>
</body>
</html>
77 changes: 77 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
body {
margin: 0;
padding: 0;
font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif;
}

.header {
height: 50px;
border-bottom: solid 1px #bbb;
line-height: 20px;
}

.header-content {
text-align: center;
font-weight: 400;
color: #000;
margin: 200;
}

.footer {
height: 70px;
border-top: solid 1px #bbb;
margin-top: auto;
}

.main {
display: flex;
}

.main-content {
text-align: center;
font-weight: 400;
margin: 40px 0;
}

.menu {
padding: 20px;
border-right: solid 1px #bbb;
display: flex;
flex-direction: column;
align-items: center;
}

.menu-tag {
background-color: grey;
width: 250px;
text-align: center;
align-self: center;
margin: 20px 10px;
}

.content {
margin: 20px;
background-color: #c4c4c44d;
width: 100%;
}

.block {
background: #c4c4c480;
margin: 20px;
padding: 20px;
display: flex;
column-gap: 20px;
}

.block-description {
margin-top: 0;
}

.tags {
margin-top: 50px;
}

.img {
width: 320px;
height: 240px;
}