From 4261654d9f1fec01c5810825cc3a698082adf0d4 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 16 Dec 2014 04:00:48 +0000 Subject: [PATCH] Make images nice in Markdown but not emoticons --- www/solar/ui.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/solar/ui.css b/www/solar/ui.css index 30f404a..2e89ec9 100644 --- a/www/solar/ui.css +++ b/www/solar/ui.css @@ -422,8 +422,9 @@ ul.blog-categories li:last-child:after { * Supernova Website Design Classes - Copyright 2009 Casey Kirsle - Kirsle.com * ******************************************************************************/ -/* Make a photo look nice. */ -.portrait { +/* Make a photo look nice. Apply it to Markdown images too, but not to + * CMS generated emoticons. */ +.portrait, .markdown img:not([class~=rophako-emoticon]) { display: inline; background-color: #CFCFCF; padding: 4px;