Skip to content

Commit

Permalink
Added header
Browse files Browse the repository at this point in the history
  • Loading branch information
underdorff18 committed Jul 18, 2023
1 parent 6addff6 commit ad6811d
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
80 changes: 80 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,83 @@
/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/*Header*/
#main-header {
display: flex;
justify-content: center;
background: rgba(51, 51, 51, 1.00);
color: rgba(255, 255, 255, 1.00);
}

#header-container {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 1192px;
}

#title {
padding: 1em;
font-family: 'Tektur', cursive;
font-size: larger;
}

#navbar-items {
display: flex;
}

#navbar-link {
padding: 1em;
border-left: 1px solid whitesmoke;
}



/*Main Content*/


#systems-container {
display: flex;
justify-content: center;
Expand Down
30 changes: 30 additions & 0 deletions systems.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,38 @@
<script src="http://localhost:3000/index.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
<style></style>
<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=Inter:wght@300;400;500;600;700&family=Tektur:wght@600&display=swap"
rel="stylesheet">
</head>
<body>
<!--Header-->
<header id="main-header">
<div id="header-container">
<h1 id="title">Computers Page</h1>
<nav id="header-navbar">
<ul id="navbar-items">
<li id="navbar-link">
<a>Home</a>
</li>
<li id="navbar-link">
<a>Sales</a>
</li>
<li id="navbar-link">
<a>Repairs</a>
</li>
<li id="navbar-link">
<a>eRecycling</a>
</li>
<li id="navbar-link">
<a>Contact Us</a>
</li>
</ul>
</nav>
</div>
</header>
<!--Main Content-->
<div id="systems-container">Test</div>
</body>
</html>

0 comments on commit ad6811d

Please sign in to comment.