forked from muan/site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
142 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,68 @@ | ||
@media (max-width: 480px) { | ||
body { | ||
padding: 0 10px; | ||
#container { | ||
ul.posts { | ||
.datetime { float: none; display: block; width: auto; text-align: left; } | ||
|
||
body { | ||
padding: 0 0 10px; | ||
.content { | ||
padding: 10px; | ||
} | ||
.site-header { | ||
margin: 0; | ||
padding: 15px; | ||
background-color: #202020; | ||
text-align: center; | ||
.site-title { | ||
color: #eee; | ||
margin-bottom: 0; | ||
margin-right: 20px; | ||
font-size: 14px; | ||
display: inline-block; | ||
.firstname:after { | ||
content: "'s"; | ||
color: #aaa; | ||
} | ||
.lastname { | ||
display: none; | ||
} | ||
} | ||
nav { display: inline-block; } | ||
a { | ||
line-height: 1em; | ||
border: 0; | ||
} | ||
#ind-instagram, #ind-linkedin { display: none; } | ||
.links, .content { | ||
padding: 15px; | ||
section.post { | ||
margin: 0 -15px; | ||
> p, h1, h2, h3, h4, .signoff, blockquote, .highlight { padding: 0 15px; } | ||
> ul, > ol { padding: 0 30px; } | ||
} | ||
.fork-me, .tip { | ||
display: none; | ||
} | ||
.pagination { | ||
text-align: center; | ||
} | ||
.post { | ||
.post-link { | ||
// border: 0; | ||
margin-bottom: 10px; | ||
&:hover { | ||
// border: 0; | ||
box-shadow: none; | ||
.post-cover { | ||
opacity: 1; | ||
} | ||
} | ||
&.has-cover { | ||
padding-right: 25px; | ||
.mark { | ||
top: 210px; | ||
} | ||
} | ||
.post-cover { | ||
opacity: 1; | ||
position: static; | ||
height: 200px; | ||
margin: -25px -25px 25px; | ||
width: auto; | ||
border-width: 1px; | ||
} | ||
} | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,47 @@ | ||
@media (max-width: 480px) { | ||
body { | ||
padding: 0 10px; } | ||
body #container ul.posts .datetime { | ||
float: none; | ||
display: block; | ||
width: auto; | ||
text-align: left; } | ||
body #container #ind-instagram, body #container #ind-linkedin { | ||
padding: 0 0 10px; } | ||
body .content { | ||
padding: 10px; } | ||
body .site-header { | ||
margin: 0; | ||
padding: 15px; | ||
background-color: #202020; | ||
text-align: center; } | ||
body .site-header .site-title { | ||
color: #eee; | ||
margin-bottom: 0; | ||
margin-right: 20px; | ||
font-size: 14px; | ||
display: inline-block; } | ||
body .site-header .site-title .firstname:after { | ||
content: "'s"; | ||
color: #aaa; } | ||
body .site-header .site-title .lastname { | ||
display: none; } | ||
body .site-header nav { | ||
display: inline-block; } | ||
body .site-header a { | ||
line-height: 1em; | ||
border: 0; } | ||
body .fork-me, body .tip { | ||
display: none; } | ||
body #container .links, body #container .content { | ||
padding: 15px; } | ||
body #container .links section.post, body #container .content section.post { | ||
margin: 0 -15px; } | ||
body #container .links section.post > p, body #container .links section.post h1, body #container .links section.post h2, body #container .links section.post h3, body #container .links section.post h4, body #container .links section.post .signoff, body #container .links section.post blockquote, body #container .links section.post .highlight, body #container .content section.post > p, body #container .content section.post h1, body #container .content section.post h2, body #container .content section.post h3, body #container .content section.post h4, body #container .content section.post .signoff, body #container .content section.post blockquote, body #container .content section.post .highlight { | ||
padding: 0 15px; } | ||
body #container .links section.post > ul, body #container .links section.post > ol, body #container .content section.post > ul, body #container .content section.post > ol { | ||
padding: 0 30px; } } | ||
body .pagination { | ||
text-align: center; } | ||
body .post .post-link { | ||
margin-bottom: 10px; } | ||
body .post .post-link:hover { | ||
box-shadow: none; } | ||
body .post .post-link:hover .post-cover { | ||
opacity: 1; } | ||
body .post .post-link.has-cover { | ||
padding-right: 25px; } | ||
body .post .post-link.has-cover .mark { | ||
top: 210px; } | ||
body .post .post-link .post-cover { | ||
opacity: 1; | ||
position: static; | ||
height: 200px; | ||
margin: -25px -25px 25px; | ||
width: auto; | ||
border-width: 1px; } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters