Shawburn: Add style for the Category Block

This commit is contained in:
Thomas Guillot 2019-08-25 08:54:43 +01:00
parent 2f9154ac27
commit 73aa358ddb
3 changed files with 33 additions and 7 deletions

View file

@ -329,6 +329,19 @@ hr.wp-block-separator.is-style-wide,
/**
* Blocks
*/
// Category
.wp-block-categories {
.children {
list-style: disc;
> li {
border: 0;
margin-bottom: 0;
margin-top: 0;
}
}
}
// Pullquote
.wp-block-pullquote {
blockquote {
@ -348,7 +361,6 @@ table,
/**
* Widgets
*/
.widget_calendar,
.widget_calendar {
caption {
font-weight: bold;

View file

@ -3711,6 +3711,16 @@ hr.wp-block-separator.is-style-wide,
/**
* Blocks
*/
.wp-block-categories .children {
list-style: disc;
}
.wp-block-categories .children > li {
border: 0;
margin-bottom: 0;
margin-top: 0;
}
.wp-block-pullquote blockquote {
padding: 0;
}
@ -3725,13 +3735,10 @@ table th,
/**
* Widgets
*/
.widget_calendar caption,
.widget_calendar caption {
font-weight: bold;
}
.widget_calendar td,
.widget_calendar th,
.widget_calendar td,
.widget_calendar th {
text-align: center;

View file

@ -3728,6 +3728,16 @@ hr.wp-block-separator.is-style-wide,
/**
* Blocks
*/
.wp-block-categories .children {
list-style: disc;
}
.wp-block-categories .children > li {
border: 0;
margin-bottom: 0;
margin-top: 0;
}
.wp-block-pullquote blockquote {
padding: 0;
}
@ -3742,13 +3752,10 @@ table th,
/**
* Widgets
*/
.widget_calendar caption,
.widget_calendar caption {
font-weight: bold;
}
.widget_calendar td,
.widget_calendar th,
.widget_calendar td,
.widget_calendar th {
text-align: center;