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
54 changes: 32 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,32 @@
<head>
<meta charset="UTF-8">
<title>Meowspace</title>
<link href="styles/normalize.css" rel="stylesheet">
<link href="styles/main.css" rel="stylesheet">
</head>

<body>
<header>
<h2><a href="index.html"> Meowspace </a></h2>
<section class="header-left">
<h2><a href="index.html"> Meowspace </a></h2>
</section>

<nav>
<ul>
<li><a href="#login"> Login </a></li>
<li><a href="#signup"> Signup </a> </li>
</ul>
</nav>
<section class="header-right">
<nav>
<ul>
<li><a href="#login"> Login </a></li>
<li><a href="#signup"> Signup </a> </li>
</ul>
</nav>
</section>
</header>

<main>
<section>
<h1> Meowspace </h1>
<section class="title-section">
<h1 class="title"> Meowspace </h1>
</section>

<section>
<section class="articles">
<h2> Popular Posts </h2>

<article>
Expand Down Expand Up @@ -69,24 +75,28 @@ <h3> Defense against the Dark Arts </h3>

</section>

<section>
<h2> Join the Club </h2>
<p>
Cats go for world domination chase red laser dot. Flop over. Play riveting piece on synthesizer keyboard poop in the plant pot for shove bum in owner's face like camera lens. With tail in the air i could pee on this if i had the energy hola te quiero yet claw drapes mewl for food at 4am.
</p>
<img alt="Cat playing with mouse on chair" src="assets/join_club.jpg">
<section class="join clearfix">
<div class="join-text">
<h2> Join the Club </h2>
<p>
Cats go for world domination chase red laser dot. Flop over. Play riveting piece on synthesizer keyboard poop in the plant pot for shove bum in owner's face like camera lens. With tail in the air i could pee on this if i had the energy hola te quiero yet claw drapes mewl for food at 4am.
</p>
</div>
<img class="cat-picture" alt="Cat playing with mouse on chair" src="assets/join_club.jpg">
</section>

<section>
<section class="promotion">
<h2> Everybody wants to be a cat! </h2>
</section>
</main>
<footer>
<h4> &copy; 2016 </h4>
<p id="disclaimer">
Meowspace is not responsible for, and expressly disclaims all liability for, damages of any kind arising out of use, reference to, or reliance on any information contained within the site. While the information contained within the site is periodically updated, no guarantee is given that the information provided in this Web site is correct, complete, and up-to-date.
</p>
<nav>
<section class="footer-text">
<h4 class="footer-year"> &copy; 2016 </h4>
<p id="disclaimer">
Meowspace is not responsible for, and expressly disclaims all liability for, damages of any kind arising out of use, reference to, or reliance on any information contained within the site. While the information contained within the site is periodically updated, no guarantee is given that the information provided in this Web site is correct, complete, and up-to-date.
</p>
</section>
<nav class="footer-list">
<ul>
<li><a href="#about"> About </a></li>
<li><a href="#contact"> Contact </a> </li>
Expand Down
185 changes: 185 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
@import url('https://fonts.googleapis.com/css?family=Clicker+Script');

/* Get rid of underline in header links */
header a:link {
text-decoration: none;
}

a[href]:hover {
color: #C71585;
}
/* Header section formatting */
header {
font-family: 'Clicker Script';
font-size: 25px;
vertical-align: top;
display: inline-block;
height: 15%;
background-color: pink;
position: fixed;
top: 0px;
width: 100%;
}

/* "Meowspace" in header */
.header-left {
float: left;
margin-left: 10%;
}

/* Header navigation bar formatting */
.header-right {
float: right;
margin-right: 10%;
}

/* Formatting nav bar links */
nav li {
display: inline-block;
padding: 8px;
padding-right: 8px;
list-style-type: none;
}

/* Title section cat image */
.title-section {
background-image: url("../assets/hero.jpg");
background-repeat: no-repeat;
background-position: center;
height: 600px;
width: 100%;
vertical-align: middle;
margin-top: 8%;
}

/* Site title */
.title {
text-align: center;
font-family: 'Clicker Script';
font-size: 75px;
color: white;
}

/* h2 throughout site */
h2 {
font-size: 50px;
font-family: 'Clicker Script';
color: blue;
}

/* Article posts */
main article {
border-style: solid;
border-radius: 15%;
border-color: pink;
display: inline-block;
width: 20%;
height: 250px;
border: 3%;
margin: 10px;
padding: 1.5%;
align-self: center;
text-align: center;
vertical-align: top;
}

/* Articles section */
.articles {
align-items: center;
text-align: left;
padding-left: 10%;
}

/* "Popular Posts" */
.articles h2 {
text-align: center;
padding-right: 10%;
}

/* Border for "Learn more" in articles */
a[href*="#post"] {
border-style: solid;
border-radius: 35%;
border-color: pink;
color: black;
padding: 2%;
padding-right: 15%;
padding-left: 15%;
align-self: center;
text-decoration: none;
}

.join {
margin-top: 2%;
text-align: center;
border-style: solid;
border-color: pink;
padding: 3%;
}

.join h2 {
text-align: center;
}

.join-text {
float: left;
width: 20%;
margin-left: 15%;
}

.cat-picture {
float: right;
height: 300px;
margin-right: 15%;
}

.promotion {
overflow: auto;
background-image: url("../assets/everybody.jpg");
height: 600px;
background-position: center;
background-repeat: no-repeat;
/*margin-bottom: 30px;*/
}

.promotion h2 {
text-align: center;
font-size: 175px;
}

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

footer {
display: inline-block;
}

.footer-text {
float: left;
font-size: 10px;
width: 20%;
padding-left: 20%;
text-align: justify;
}

.footer-list {
align-items: right;
margin-left: 50%;
}

footer li a {
width: 600px;
text-decoration: none;
list-style-type: circle;
list-style-position: inside;
display: list-item;
clear: both;
position: static;
}

.footer-year, #disclaimer {
display: inline;
}
Loading