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
This commit is contained in:
Konstantin Obenland 2017-05-25 15:19:42 +00:00
parent 729cf25bc5
commit a358abe07c
1 changed files with 9 additions and 2 deletions

View File

@ -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
----------------------------------------------- */