Skip to content

Commit

Permalink
added header html and css
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdourado committed Aug 17, 2019
1 parent deb1b28 commit bf75c5b
Show file tree
Hide file tree
Showing 10 changed files with 2,049 additions and 38 deletions.
Binary file added .DS_Store
Binary file not shown.
1,857 changes: 1,857 additions & 0 deletions Assets/LOGO_Alessandra_Araújo_photography.ai

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Assets/LogoNoText.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Assets/bars-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Assets/times-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions index.html

This file was deleted.

59 changes: 59 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Ale Araujo - Lifestyle Photography</title>
</head>
<body>

<header>

<!-- LOGO -->
<a href="index.html">
<svg id="logo" width="34" height="27" viewBox="0 0 34 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.1414 0L0 27H30.2812L15.1414 0Z" fill="#F7CFD0"/>
<path d="M21.6573 0L18.4206 5.77207L9.31297 22.0109H27.5267H34L21.6573 0Z" fill="#BCBEC0"/>
</svg>
</a>


<!-- MENU BARS -->
<svg id="menu-bars" width="27" height="30" viewBox="0 0 27 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M0.9375 7.73438H25.3125C25.8303 7.73438 26.25 7.31467 26.25 6.79688V4.45312C26.25 3.93533 25.8303 3.51562 25.3125 3.51562H0.9375C0.419707 3.51562 0 3.93533 0 4.45312V6.79688C0 7.31467 0.419707 7.73438 0.9375 7.73438ZM0.9375 17.1094H25.3125C25.8303 17.1094 26.25 16.6897 26.25 16.1719V13.8281C26.25 13.3103 25.8303 12.8906 25.3125 12.8906H0.9375C0.419707 12.8906 0 13.3103 0 13.8281V16.1719C0 16.6897 0.419707 17.1094 0.9375 17.1094ZM0.9375 26.4844H25.3125C25.8303 26.4844 26.25 26.0647 26.25 25.5469V23.2031C26.25 22.6853 25.8303 22.2656 25.3125 22.2656H0.9375C0.419707 22.2656 0 22.6853 0 23.2031V25.5469C0 26.0647 0.419707 26.4844 0.9375 26.4844Z" fill="#BCBEC0"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="26.25" height="30" fill="white"/>
</clipPath>
</defs>
</svg>

<!-- NAVIGATION -->
<svg id="close-icon" width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.17 11L21.4244 4.74562C22.1919 3.97812 22.1919 2.73375 21.4244 1.96562L20.0344 0.575625C19.2669 -0.191875 18.0225 -0.191875 17.2544 0.575625L11 6.83L4.74563 0.575625C3.97813 -0.191875 2.73375 -0.191875 1.96563 0.575625L0.575625 1.96562C-0.191875 2.73312 -0.191875 3.9775 0.575625 4.74562L6.83 11L0.575625 17.2544C-0.191875 18.0219 -0.191875 19.2662 0.575625 20.0344L1.96563 21.4244C2.73313 22.1919 3.97813 22.1919 4.74563 21.4244L11 15.17L17.2544 21.4244C18.0219 22.1919 19.2669 22.1919 20.0344 21.4244L21.4244 20.0344C22.1919 19.2669 22.1919 18.0225 21.4244 17.2544L15.17 11Z" fill="#BCBEC0"/>
</svg>

<a id="title-link" href="index.html">
<h1>Ale Araujo Photography</h1>
</a>
<nav>
<ul>
<li><a class="nav-items" href="porfolio.html">Porfolio</a></li>
<li><a class="nav-items" href="stories.html">Stories</a></li>
<li><a class="nav-items" href="services.html">Services</a></li>
<li><a class="nav-items" href="faq.html">FAQ</a></li>
<li><a class="nav-items" href="about.html">About</a></li>
<li><a class="nav-items" href="contact.html">Contact</a></li>
<li><a class="nav-items" href="https://www.instagram.com/alearaujophoto/" target="_blank" >Instagram</a></li>
</ul>
</nav>

</header>

<script type="text/javascript" src="script.js"></script>
</body>
</html>
File renamed without changes.
130 changes: 130 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/* CSS RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

/* BASIC */

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

body {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

/* HEADER */

header {
/* Rectangle */

position: absolute;
height: 60px;
left: 0%;
right: 0%;
top: 0px;

background: #F0F0F0;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.122);
}

#title-link {
display: block;
text-align: center;
margin: 17px 0 0 0;
color: #BCBEC0;
text-decoration: none;
visibility: hidden;
}


#logo {
/* LogoNoText */

position: absolute;
width: 34px;
height: 27px;
left: 16px;
top: 16px;
}


#menu-bars {
/* bars-solid */

position: absolute;
width: 26.25px;
height: 30px;
right: 14.75px;
top: 15px;

cursor: pointer;
}

#close-icon {
/* close */

position: absolute;
width: 22px;
right: 17px;
top: 19px;

visibility: hidden;
}

nav {
/* Rectangle */

position: absolute;
left: 0%;
right: 0%;
top: 60px;

background: #F0F0F0;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.122);

visibility: hidden;
}

nav > ul > li {
text-align: center;
margin: 30px auto;
font-size: 1.2em;
display: block;
}

a.nav-items {
text-decoration: none;
color: #808080;
display: inline-block;
}

a.nav-items:after {
background:#808080;
content: "";
display: block;
height: 2px;
transition: width 0.2s ease 0s, left 0.2s ease 0s;
width: 0;
margin: 10px auto 0 auto;
}

a.nav-items:hover:after {
width: 100%;
}
22 changes: 0 additions & 22 deletions style.css

This file was deleted.

0 comments on commit bf75c5b

Please sign in to comment.