Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make the more link stand out more on mobile

  • Loading branch information...
commit cdc858fec2abe0cef077845e54a439d79cf57320 1 parent e1cf289
@evdb evdb authored
View
22 wordpress/mzalendo-wordpress/assets/css/blog.css
@@ -197,6 +197,19 @@
#blog-posts .post > section {
display: none;
}
+#blog-posts .post .more-link {
+ display: block;
+ text-align: right;
+ padding: 0.5em 1em;
+ background: #009245;
+ color: #ffffff;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -o-border-radius: 5px;
+ -ms-border-radius: 5px;
+ -khtml-border-radius: 5px;
+ border-radius: 5px;
+}
#blog-posts.single .post {
background: none;
}
@@ -318,6 +331,15 @@
display: block;
border-top: 1px solid #eee;
}
+ #blog-posts .post .more-link {
+ display: block;
+ text-align: left;
+ background: #f6f6f6;
+ margin-top: 0.5em;
+ padding: 0.5em;
+ color: #333;
+ border: 0;
+ }
#blog-sidebar {
float: left;
View
19 wordpress/mzalendo-wordpress/assets/sass/blog.scss
@@ -129,7 +129,14 @@
display: none;
float: right; }
> section {
- display: none; } }
+ display: none; }
+ .more-link {
+ display: block;
+ text-align: right;
+ padding: 0.5em 1em;
+ background: #009245;
+ color: #ffffff;
+ @include border-radius(5px); } }
&.single {
.post {
background: none;
@@ -223,7 +230,15 @@
font-weight: bold; } }
>section {
display: block;
- border-top: 1px solid #eee; } } }
+ border-top: 1px solid #eee; }
+ .more-link {
+ display: block;
+ text-align: left;
+ background: #f6f6f6;
+ margin-top: 0.5em;
+ padding: 0.5em;
+ color: #333;
+ border: 0; } } }
#blog-sidebar {
float: left;
width: 270px;
Please sign in to comment.
Something went wrong with that request. Please try again.