Skip to content

Commit

Permalink
Responsive changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccartertx committed Jan 29, 2014
1 parent eadd778 commit 2392b7a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 17 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: default
layout: post
---

<html>
<head>
<link type="text/css" rel="stylesheet" href="css/style.css"
<link type="text/css" rel="stylesheet" href="css/style.css" >
</head>
<body>
<h2>{{ page.title }}</h2>
<p class="meta">{{ page.date -- date_to_string }}</p>
<p class="meta">{{ page.date | date_to_string }}</p>

<div class="post">
{{ content }}
Expand Down
44 changes: 31 additions & 13 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,37 @@ h2, h3, h4, h5, h6 {
color: #0064b2;
}
/***************************/

/*Media Queries*/
@media (min-width: 300px) {}
@media (min-width: 700px) {
.contact {float:left;}
.navbox li {display: inline-block;}
.footer {clear:both;}
}
@media (min-width: 1100px) {}

}



/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/


body {
/*body {
background: url(cuadros.png);
background-repeat: repeat;
}
*/

#home {
background: white;

}


h1 {
Expand Down Expand Up @@ -148,8 +168,8 @@ margin: 0px;

.navbox {

margin-top: 20px;
margin-bottom: 20px;
margin-top: 5%;
margin-bottom: 5%;


}
Expand All @@ -159,12 +179,12 @@ margin: 0px;
}

.navbox li {
display: inline-block;
margin: 20px;
/*display: inline-block;*/
margin: 3%;
}

.navbox a.nav {
width: 75px;
width: 60%;
border-bottom: 2px dotted #008fff;
padding: 5px;
text-align: center;
Expand All @@ -175,18 +195,16 @@ margin: 0px;

/*Footer - Contact info*/

.footer {
clear: both;
}

.contact {
float: left;
/*float: left;*/
display: inline-block;
text-transform: uppercase;
font-size: .6em;
color: gray;
margin-top: 40px;
margin-right: 20px;
margin-bottom: 40px;
margin-top: 5%;
margin-right: 2%;
margin-bottom: 5%;
}

.contact a{
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>Blog Posts</h2>
<ul class="posts">
{% for post in site.posts %}
<li><span class="post_meta">{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a>
<p>{{ post.excerpt }}</p></li>
<p>{{ post.excerpt | truncatewords:25}}</p></li>
{% endfor %}
</ul>

Expand Down

0 comments on commit 2392b7a

Please sign in to comment.