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 Imgs/.DS_Store
Binary file not shown.
Binary file added Imgs/cssgarden.png
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 Imgs/gardencss.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 17 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Viking CSS Garden</title>

<link rel="stylesheet" href="/style.css">
<link href="https://fonts.googleapis.com/css?family=Encode+Sans" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>

Expand Down Expand Up @@ -40,14 +40,22 @@ <h2 class="section-title">Norse mythology</h2>
<p>Norse mythology has been the subject of scholarly discourse since the 17th century, when key texts were brought to the attention of the intellectual circles of Europe. By way of comparative mythology and historical linguistics, scholars have identified elements of Germanic mythology reaching as far back as Proto-Indo-European mythology. In the modern period, the Romanticist Viking revival re-awoke an interest in the subject matter, and references to Norse mythology may now be found throughout modern popular culture. The myths have further been revived in a religious context among adherents of Germanic Neopaganism.</p>
</article>

<cite class="citation">- From <a href="https://en.wikipedia.org/wiki/Norse_mythology">Norse Mythology</a></cite>
<br>
<br>

<cite class="citation">- From <a href="https://en.wikipedia.org/wiki/Norse_mythology" class="citation-link">Norse Mythology</a></cite>

<br>
<br>
<br>
</section>
</main>

<br>
<br

<!-- Sidebar -->
<aside id="sidebar">
<h2 class="section-title">Other Gardens</h2>
<h2 class="section-title-sidebar">Other Gardens</h2>

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

<div id="footer">
<p class="footer-content">Created by Angel Barranco</p>
</div>
</body>
</html>

130 changes: 126 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,132 @@
/* ----------------------------------- *
* Your Styles Here
* ----------------------------------- */
body {
background-color: rgb(255, 255, 255);
font-family: 'Encode Sans', sans-serif;
}

#main-header {
width: 100%;
background-image: url("Imgs/cssgarden.png");
background-position: center;
height: 160px;
}

.site-title {
font-size: 60px;
text-align: center;
color: rgb(243, 248, 254);
text-transform: uppercase;
padding-top: 20px;
padding-bottom: 5px
border-bottom: none;
}

.img-responsive {
max-width: 100%;
}

.tagline {
font-style: italic;
position: relative;
bottom: 40px;
font-size: 20px;
font-weight: 100;
text-align: center;
color: rgb(243, 248, 254);

}


#main-content {
width: 60%;
float: left;
padding-left: 5%;
}

#sidebar {
width: 22% 0%;
float: right;
padding-right: 8%;
background-color: #557292;
padding-right: 40px;
}

.section-title, h2 {
color: #325050;
font-weight: 100;
font-family: sans-serif;
font-size: 26px
}

.section-content, p {
font-size: 13px;
font-weight: 200;
line-height: 26px;
color: #325050;
}


li {
list-style: none;
border: 20px solid #557292;
}

.section-title-sidebar {
padding-left: 50px;
color: White;
}

a.nav-link:link, a.nav-link:visited {
width: 120px;
height: auto;
background-color: #fff;
color: #557292;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}

a.nav-link:hover, a.nav-link:active {
background-color: #557292;
border: 1px solid white;
color: White;
}

a:link {
text-decoration: none;
color: Black;
}

a:visited {
text-decoration: none;
color: Black;
}

a:hover {
color: #557292;
}

a:active {
color: #557292;
}

.citation {
font-weight: 100;
font-family: sans-serif;
}

#footer {
position: relative;
margin-top: -100px;
height: 100px;
clear: both;
background-color: #557292;
}

.footer-content {
color: white;
text-align: center;
font-size: 24px;
font-weight: 100;
font-family: monospace;
padding-top: 30px;
}