Skip to content
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 .DS_Store
Binary file not shown.
Binary file added images/11thcenturyvikingswordheader.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/vikingsword.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 16 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,27 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Zilla+Slab+Highlight" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Zilla+Slab" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet">
<link rel="stylesheet" href="/styles.css">

<title>Viking CSS Garden</title>

<link rel="stylesheet" href="/style.css">
</head>
<body>

<!-- Main Header -->
<header id="main-header">
<header id="main-header" class="clearfix">
<h1 class="site-title">Viking CSS Garden</h1>
<h2 class="tagline">A place for your styling creativity to grow</h2>

<div id="img-box">
<img id="sword" src="/images/vikingsword.jpg" alt="I do not have permission to use this image; I've included it solely for private educational purposes."></img>
</div>
<div id="tagline-box">
<h2 class="tagline">A place for your styling creativity to grow</h2>
</div>

</header>


Expand Down Expand Up @@ -44,7 +54,6 @@ <h2 class="section-title">Norse mythology</h2>
</section>
</main>


<!-- Sidebar -->
<aside id="sidebar">
<h2 class="section-title">Other Gardens</h2>
Expand Down Expand Up @@ -75,6 +84,9 @@ <h2 class="section-title">Other Gardens</h2>
</ul>
</nav>
</aside>



</body>
</html>

10 changes: 0 additions & 10 deletions style.css

This file was deleted.

159 changes: 159 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
/* ----------------------------------- *
* Your Styles Here
* ----------------------------------- */




.clearfix::before,
.clearfix::after {
display: table;
content: " ";
}
.clearfix::after {
clear: both;
}

#main-header {
display: block;
position: relative;
margin: auto;
padding-left: 2%;
padding-right: 2%;
padding-top: 40px;
width: 970px;
max-height: 360px;
}

#main-header .site-title {
display: inline-block;
float: left;
position: relative;
font-family: 'Zilla Slab Highlight', cursive;
font-size: 72px;
color: #151515;
width: 260px;
height: 260px;
margin-top: 5px;
margin-left: 10px;
margin-bottom: 0px;
}

#tagline-box {
display: block;
width: 600px;
height: 60px;
}

#img-box {
display: block;
left: 290px;
position: absolute;
width: 720px;
height: 260px;
}

#sword {
display: block;
float: left;
position: static;
width: 650px;
padding-top: 50px;
}

.tagline {
float: left;
margin-top: 2px;
}

body {
background: #466368;
background: linear-gradient(#fff 30%, #D1DFFF);
}

main {
display: block;
max-width: 1500px;
}

#main-header .tagline {
font-family: 'Droid Sans Mono', monospace;
font-size: 18px;
text-align: right;
color: #3b5998;
margin-left: 10px;
margin-top: 15px;
}

.section-title {
display: block;
text-align: left;
font-family: 'Zilla Slab', serif;
font-size: 30px;
margin-left: 15px;
padding-right: 0px;
margin-bottom: 1px;
}

#main-content {
display: block;
position: relative;
margin: auto;
width: 950px;
padding-right: 0;
}


.section-content {
display: block;
box-sizing: border-box;
width: 885px;
padding-left: 50px;
padding-right: -10px;
font-family: 'Zilla Slab', serif;
color: #585858;
font-size: 19px;
line-height: 1.5em;
}

.citation {
display: block;
text-align: right;
font-family: 'Droid Sans Mono', monospace;
font-style: normal;
margin-right: 80px;
color: #3b5998;
}

#sidebar {
display: block;
width: 950px;
height: 180px;
margin: auto;
padding-top: 30px;
padding-right: 70px;
}

#sidebar .section-title {
text-align: right;
}

.nav-link-list-item {
display: inline-block;
float: right;
background: #3b5998;
width: 200px;
padding: 4px;
text-align: center;
margin: 4px;
}

.nav-link-list-item a {
font-family: 'Droid Sans Mono', monospace;
color: #fff;
text-decoration: none;
}

.nav-link-list-item:hover {
background: #FF4C05;
}
160 changes: 160 additions & 0 deletions styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/* ----------------------------------- *
* Your Styles Here
* ----------------------------------- */

$header-color: #151515;
$tagline-color: #3b5998;
$article-text-color: #585858;
$hover-color: #FF4C05;
$background-color: #D1DFFF;

@mixin article-text {
font-family: 'Zilla Slab', serif;
color: $article-text-color;
}


.clearfix::before,
.clearfix::after {
display: table;
content: " ";
}
.clearfix::after {
clear: both;
}

#main-header {
display: block;
position: relative;
margin: auto;
padding-left: 2%;
padding-right: 2%;
padding-top: 40px;
width: 970px;
max-height: 360px;
.site-title {
display: inline-block;
float: left;
position: relative;
font-family: 'Zilla Slab Highlight', cursive;
font-size: 72px;
color: $header-color;
width: 260px;
height: 260px;
margin-top: 5px;
margin-left: 10px;
margin-bottom: 0px;
}
.tagline {
float: left;
margin-top: 2px;
font-family: 'Droid Sans Mono', monospace;
font-size: 18px;
text-align: right;
color: $tagline-color;
margin-left: 10px;
margin-top: 15px;
}
}

#tagline-box {
display: block;
width: 600px;
height: 60px;
}

#img-box {
display: block;
left: 290px;
position: absolute;
width: 720px;
height: 260px;
}

#sword {
display: block;
float: left;
position: static;
width: 650px;
padding-top: 50px;
}

body {
background: #fff;
background: linear-gradient(#fff 30%, $background-color);
}

main {
display: block;
max-width: 1500px;
}

.section-title {
display: block;
text-align: left;
font-family: 'Zilla Slab', serif;
font-size: 30px;
margin-left: 15px;
padding-right: 0px;
margin-bottom: 1px;
}

#main-content {
display: block;
position: relative;
margin: auto;
width: 950px;
padding-right: 0;
}


.section-content {
@include article-text;
display: block;
box-sizing: border-box;
width: 885px;
padding-left: 50px;
padding-right: -10px;
font-size: 19px;
line-height: 1.5em;
}

.citation {
display: block;
text-align: right;
font-family: 'Droid Sans Mono', monospace;
font-style: normal;
margin-right: 80px;
color: $tagline-color;
}

#sidebar {
display: block;
width: 950px;
height: 180px;
margin: auto;
padding-top: 30px;
padding-right: 70px;
.section-title {
text-align: right;
}
}

.nav-link-list-item {
display: inline-block;
float: right;
background: $tagline-color;
width: 200px;
padding: 4px;
text-align: center;
margin: 4px;
a {
font-family: 'Droid Sans Mono', monospace;
color: #fff;
text-decoration: none;
}
}

.nav-link-list-item:hover {
background: $hover-color;
}