Skip to content

Instantly share code, notes, and snippets.

@CatherineDesigner
Created November 19, 2018 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CatherineDesigner/d184e20769055d8419da4d95ca7015b7 to your computer and use it in GitHub Desktop.
Save CatherineDesigner/d184e20769055d8419da4d95ca7015b7 to your computer and use it in GitHub Desktop.
Веб страница личного портфолио для FreeCodeCamp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Portfolio Web разрабоотчика</title>
<meta name="keywords" content="портфолио, вебразработка,создание сайтов">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<header>
<nav id="navbar">
<a href="#добро пожаловать">Добро пожаловать</a>
<a href="#проект">Проект</a>
<a href="#контакт">Контакт</a>
</nav>
</header>
<div id="welcome-section">
<h1>Я Катерина Фоменко и добро пожаловать в мое Портфолио</h1>
<p>Дизайнер и Web–разработчик.<br> С помощью технологий хочу сделать нашу жизнь яркой и гармоничной</p>
</div>
<main>
<div id="проект" class="Проект">
<section id="projects">
<div class="center">
<h2>Проект</h2>
</div>
<a href="
https://codepen.io/catherinedesigner/full/rQLoJy" class="project project-tile">
<img class="project-pic" src="Форма опроса.png" alt="Форма опроса">
</a>
<a href="https://codepen.io/catherinedesigner/full/RqZZxb" class="project project-tile">
<img class="project-pic" src="таблица цен на услуги.png" alt="таблица цен">
</a>
<a href=" https://codepen.io/catherinedesigner/full/vQmVOm" class="project project-tile">
<img class="project-pic" src="Техническая документация.png" alt="Техническая документация">
</a>
<a href=" https://codepen.io/catherinedesigner/full/EOWpMO" class="project project-tile">
<img class="project-pic" src="landing page.png" alt="landing page">
</a>
<a href=" https://codepen.io/catherinedesigner/full/GwqqRm" class="project project-tile">
<img class="project-pic" src="Стивен Хокинг.png" alt="Стивен Хокинг">
</a>
</section>
<div id="контакт" class="Контакт">
<section id="contact">
<div class="cols">
<div class="contactSites">
<a href="https://www.fcatherine.com">
<i class="far fa-eye"></i>
</a>
</div>
</div>
<div class="cols">
<div class="contactSites">
<a href="https://www.facebook.com/wwwkatyuscha">
<i class="fab fa-facebook-f"></i>
</a>
</div>
</div>
<div class="cols">
<div class="contactSites">
<a href="https://www.instagram.com/catherine_designer/">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
<div class="cols">
<div class="contactSites">
<a href="https://www.freecodecamp.org/catherinedesigner">
<i class="fab fa-free-code-camp"></i>
</a>
</div>
</div>
</main>
<footer>
<p> Разработан проект <a href="https://codepen.io/catherinedesigner" target="_blank">Catherine Fomenko</a></p>
<p>Все права защищены.2018</p>
</footer>
</body>
</html>
// !! IMPORTANT README:
// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place.
/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- Click the "TESTS" button to see
the individual test cases.
(should all be failing at first)
- Start coding! As you fulfill each
test case, you will see them go
from red to green.
- As you start to build out your
project, when tests are failing,
you should get helpful errors
along the way!
************/
// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!
// Once you have read the above messages, you can delete all comments.
body{
background-image: url(https://cdn.wallpapersafari.com/1/98/Ao5Oa3.jpg); padding-top: 100px;
margin-top: 0px;
display: block;
height: 100vh;
background-size: cover;
}
header #navbar {
display: flex;
justify-content: space-around;
align-items: center;
font-size: 26px;
z-index: 1;
}
header a {
color: white;
}
#welcome-section h1 {
color: #A9A9A9;
text-align: center;
padding-top: 100px;
}
#welcome-section p {
color: red;
text-align: center;
font-size: 28px;
margin-top: 100px;
}
#projects h2 {
color: red;
text-align: center;
font-size: 36px;
margin-top: 100px;
}
.project {
padding-bottom: 20px;
display: inline-block;
position: inherit;
}
.project.project-tile{
margin: 50px;
color: white;
font-size: 20px;
}
.project .project-pic {
width: 350px;
padding-bottom: 3%;
}
#contact {
background: #000033;
color: green;
}
#contact .cols {
font-size: 30px;
display: flex;
justify-content:center;
align-items: center;
margin-left: auto;
margin-right: auto;
width: 2em;
}
#contact a {
color: #A9A9A9;
}
#contact a .fab {
color: #A9A9A9;
}
#contact a .fab#contact a .fab {
color: #A9A9A9;
}
#contact a .fab#contact .far {
color: #A9A9A9;
}
#contact .far{
color: #A9A9A9;
}
footer {
padding: 10px;
background: #000000;
line-height: 13px;
}
footer p {
color: #A9A9A9;
text-align: center;
font-size: 16px;
}
footer a {
color: #A9A9A9;
text-align: center;
font-size: 16px;
padding-bottom: 30px;
}
footer br {
font-size: 14px;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
.example {background: green;}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.example {background: blue;}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
.example {background: orange;}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
.example {background: pink;}
}
@media only screen and (max-width: 600px) {
.columns {
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment