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

<body>
Expand All @@ -20,10 +22,10 @@ <h2><a href="index.html"> Meowspace </a></h2>

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

<section>
<section class="popular-posts">
<h2> Popular Posts </h2>

<article>
Expand Down Expand Up @@ -70,10 +72,12 @@ <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>
<div>
<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 alt="Cat playing with mouse on chair" src="assets/join_club.jpg">
</section>

Expand All @@ -82,10 +86,12 @@ <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>
<section class="disclaimer-text">
<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>
</section>
<nav>
<ul>
<li><a href="#about"> About </a></li>
Expand Down
211 changes: 211 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
@import url('https://fonts.googleapis.com/css?family=Patrick+Hand+SC');

/* apply a natural box layout model to all elements, but allowing components to change */
html {
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: inherit;
}

body {
background-size: cover;
font-family: 'Patrick Hand SC', sans-serif;
}

a:link {
text-decoration: none;
}

header {
position: fixed;
background-color: white;
width: 100%;
height: 100px;
z-index: 10;
}

header ul li {
list-style-type: none;
display: inline-block;
margin: auto;
}

header h2 {
display: inline-block;
position: absolute;
left: 6%;
}

header nav {
display: inline-block;
float: right;
position: absolute;
right: 6%;
margin-top: 30px;
}

header h2 a {
font-size: 5vw;
}

header ul li a {
font-size: 2.5vw;
margin-left: 40px;
}

/*---------------------------*/

.main-title {
position: absolute;
width: 100%;
text-align: center;
margin: 0 auto;
font-size: 11vw;
bottom: 40%;
color: seashell;
text-shadow: 2px 2px orange,
2px -2px orange,
-2px 2px orange,
-2px -2px orange;
}

main section:first-of-type {
position: relative;
background-image: url('../assets/hero.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
width: 100%;
height: 30em;
top: 6.2em;
}

/*------------------------------*/

main section:nth-child(2) {
padding-top: 5em;
}

section h2 {
text-align: center;
font-size: 6vw;
}

.popular-posts article {
display: inline-block;
border-style: solid;
border-color: black;
border-radius: 1vw;
width: 28%;
text-align: center;
padding: 10px;
margin: 10px;
}

.popular-posts h3 {
border-bottom: solid 1px;
margin: -10px;
padding: 10px;
}

.popular-posts article a {
border-style: solid;
border-color: black;
border-radius: 2vw;
padding-left: 3vw;
padding-right: 3vw;
border-width: thin;
}

/*--------------------------------*/

main section:nth-child(3) {
display: inline-block;
border: solid black 1px;
margin-top: 4em;
}

main section:nth-child(3) div {
float: left;
width: 50%;
padding-left: 4em;
padding-right: 4em;
padding-bottom: 4em;
}

[alt="Cat playing with mouse on chair"] {
float: right;
width: 50%;
padding-top: 2.5em;
padding-right: 4em;
padding-bottom: 2.5em;
}

/*----------------------------------*/
main section:last-of-type {
/*position: relative;*/
background-image: url('../assets/everybody.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
width: 100%;
height: 30em;
top: 6.2em;
margin-top: -110px;

}

main section:last-of-type h2 {
color: seashell;
font-size: 8rem;
text-align: center;
padding-top: 100px;
}

/*------------------------------------*/

/*footer div {
float: left;
width: 45%;
font-size: 0.75em;
display: inline-block;
}*/

/*footer div h4 {
display: inline-block;
}

#disclaimer {
display: inline-block;
}*/

footer nav {
float: right;
width: 45%;
vertical-align: top;
padding-left: 30%;
/*margin-bottom: 20%;*/
}

footer {
width: 100%;
display: inline-block;
}
#disclaimer {
width: 50%;
}
footer h4 {
margin: 0px;
display: inline-block;
}
footer p {
display: inline;
}
.disclaimer-text {
width: 60%;
padding-top: 5%;
text-align: justify;
padding-left: 10px;
}
Loading