Skip to content

Commit

Permalink
add responsive html
Browse files Browse the repository at this point in the history
  • Loading branch information
isnowfy committed May 18, 2014
1 parent 28295fc commit b696ac3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ With Simple and github pages you can easily create your static blog. Here is wha
* Markdown editor
* Code highlight support
* Tex formula support
* Responsive html

##Custom

Expand Down
16 changes: 16 additions & 0 deletions src/template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ body {
width: 600px;
position: relative;
}
#disqus_thread {
padding: 16px;
}
.wrap-header h1 {
width: 100%;
height: 40px;
Expand Down Expand Up @@ -111,3 +114,16 @@ a:hover {
color: #C5C5BD;
margin-right: 20px;
}
@media (max-width: 800px) {
.main {
width: 500px;
}
.header {
margin: 70px 0 0 -180px;
}
}
@media (max-width: 600px) {
.main {
width: 100%;
}
}
Loading

0 comments on commit b696ac3

Please sign in to comment.