From a358abe07c0473c9778db1fe2f459586e864cbd6 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Thu, 25 May 2017 15:19:42 +0000 Subject: [PATCH] Default themes: Improve styles for 4.8 widgets Mostly adds styles for lists and mediaelement.js instances within widgets. Adds size classname to image widget so themes can customize their display. Props Soean, obenland, celloexpressions, ocean90, karmatosed. Fixes #40745. Built from https://develop.svn.wordpress.org/trunk@40839 git-svn-id: http://core.svn.wordpress.org/trunk@40690 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 5686171e7..a3e56b589 100644 --- a/style.css +++ b/style.css @@ -642,11 +642,19 @@ section[role="banner"] { margin-bottom: 24px; margin-bottom: 1.714285714rem; } -.widget-area .textwidget ul { +.widget-area .textwidget ul, +.widget-area .textwidget ol { list-style: disc outside; margin: 0 0 24px; margin: 0 0 1.714285714rem; } +.widget-area .textwidget li > ul, +.widget-area .textwidget li > ol { + margin-bottom: 0; +} +.widget-area .textwidget ol { + list-style: decimal; +} .widget-area .textwidget li { margin-left: 36px; margin-left: 2.571428571rem; @@ -1443,7 +1451,6 @@ a.comment-edit-link:hover { text-align: right; } - /* =Plugins ----------------------------------------------- */