Browse Source

change responsive width on post cards

pull/1/head
wes 8 years ago
parent
commit
a18ff67766
  1. 4
      src/scripts/projects.tag
  2. 9
      src/styles/riotblog.scss

4
src/scripts/projects.tag

@ -96,7 +96,7 @@ next() {
console.log(self.project()); console.log(self.project());
self.update( self.update(
{ {
"transition" : "fadeInRight", "transition" : "flipInX",
"swipe" : true "swipe" : true
} }
); );
@ -107,7 +107,7 @@ prev() {
self.projects = Z.goLeft(self.projects); self.projects = Z.goLeft(self.projects);
self.update( self.update(
{ {
"transition" : "fadeInLeft", "transition" : "flipInX",
"swipe" : true "swipe" : true
} }
); );

9
src/styles/riotblog.scss

@ -16,10 +16,10 @@ $navbarHeight: 100px;
font-weight: 400; font-weight: 400;
color: black; color: black;
@media (max-width: 600px) { @media (max-width: 600px) {
font-size: 1.6em; font-size: 1.8em;
} }
@media (max-width: 530px) { @media (max-width: 530px) {
font-size: 1.3em; font-size: 1.5em;
} }
} }
@ -284,7 +284,7 @@ p, h6, h5, h4, h3, h2, h1 {
.projects-box { .projects-box {
@extend .content-box; @extend .content-box;
height: 400px !important; height: 385 !important;
} }
.posts-box { .posts-box {
@ -308,6 +308,9 @@ p, h6, h5, h4, h3, h2, h1 {
.post-card { .post-card {
max-width: 80%; max-width: 80%;
@media(max-width: 400px) {
max-width: 95%;
}
} }
.content { .content {

Loading…
Cancel
Save