From 3f84d26e413a639ef00f5ab9f5cedcefd02524ee Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Wed, 29 Aug 2018 13:11:02 -0400 Subject: [PATCH] Make css names accurate again --- brutaldon/static/css/brutaldon.css | 30 +++++----------------- brutaldon/templates/main/toot_partial.html | 2 +- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/brutaldon/static/css/brutaldon.css b/brutaldon/static/css/brutaldon.css index af06bae..7c718ae 100644 --- a/brutaldon/static/css/brutaldon.css +++ b/brutaldon/static/css/brutaldon.css @@ -27,34 +27,18 @@ div.card-header-title, div.card-header-icon { padding: 1.5ex; } -@media screen and (max-width: 768px) -{ - .is-max-128 { - max-height: 128px; - max-width: 128px; - } - - .is-max-256 { - max-height: 256px; - max-width: 256px; - } +.is-max-128 { + max-height: 128px; + max-width: 128px; } -@media screen and (min-width: 769px) -{ - .is-max-128 { - max-height: 50%; - max-width: 50%; - } - - .is-max-256 { - max-height: 100%; - max-width: 100%; - } - +.is-max-256 { + max-height: 256px; + max-width: 256px; } + figure.media-left p.image a img { border-radius: 5px; diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 6f186b9..0af4beb 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -72,7 +72,7 @@ {% if media.description %} title="{{ media.description }}" {% endif %} - class="image is-max-128"> + class="image is-max-256"> {% endfor %}