aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/base/base.scss
diff options
context:
space:
mode:
authorBryan Brattlof <bryanbrattlof@gmail.com>2020-02-10 12:21:32 -0500
committerBryan Brattlof <bryanbrattlof@gmail.com>2020-02-10 12:21:32 -0500
commitc54ca8e7f806f072297a3092dcb3bcfe42574763 (patch)
tree04685e4f445bc4686a819fb4515614313d1548f4 /stylesheets/base/base.scss
parentf0d69f2176f95d1c9b7b0d7f37e37877864c076b (diff)
downloadbryanbrattlof.com-c54ca8e7f806f072297a3092dcb3bcfe42574763.tar.gz
bryanbrattlof.com-c54ca8e7f806f072297a3092dcb3bcfe42574763.tar.bz2
remove 'img' mixin
* Every page (thanks to the footer) has at least one image in it, meaning we can just include the img element in the base stylesheet
Diffstat (limited to 'stylesheets/base/base.scss')
-rw-r--r--stylesheets/base/base.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/stylesheets/base/base.scss b/stylesheets/base/base.scss
index 064b284..461ef36 100644
--- a/stylesheets/base/base.scss
+++ b/stylesheets/base/base.scss
@@ -30,6 +30,18 @@ template {
display: none;
}
+img {
+ display: block;
+
+ max-width: 100%;
+ height: auto;
+
+ margin: 0 auto 20px;
+
+ /* Remove the border on images inside links in IE 10. */
+ border-style: none;
+}
+
/* Add the correct display in IE 10.*/
[hidden] {
display: none;