Skip to content

Commit

Permalink
Halfsized images
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynovikov committed Nov 17, 2017
1 parent 32f892f commit 4e3a2e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion static/assets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions static/assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@
margin: 0 auto;
width: auto;
}

&.halfsize {
max-width: 50%;
}
}

.highlight {
Expand Down Expand Up @@ -1314,6 +1318,9 @@
&.featured {
max-height: 250px;
}
&.halfsize {
max-width: 80%;
}
}
}
}
Expand Down Expand Up @@ -1472,6 +1479,9 @@
&.featured {
max-height: 150px;
}
&.halfsize {
max-width: 90%;
}
}
}

Expand Down

0 comments on commit 4e3a2e7

Please sign in to comment.