mirror of
https://github.com/10h30/yeuchaybo-v6.git
synced 2026-06-05 15:10:05 +09:00
Fix Gutenberg css
This commit is contained in:
@@ -341,13 +341,15 @@ img.alignright,
|
||||
}
|
||||
|
||||
.wp-block-gallery {
|
||||
margin-left: 0!important;
|
||||
|
||||
.blocks-gallery-image {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.blocks-gallery-image {
|
||||
.blocks-gallery-image,
|
||||
.blocks-gallery-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin: 0 0 6vw;
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
ul > li {
|
||||
ul:not(.no-bullets) > li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
|
||||
@@ -1395,11 +1395,16 @@ img.alignright,
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.wp-block-gallery {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-image {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.blocks-gallery-image {
|
||||
.blocks-gallery-image,
|
||||
.blocks-gallery-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin: 0 0 6vw;
|
||||
@@ -2212,7 +2217,7 @@ img.alignright,
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
.entry-content ul > li {
|
||||
.entry-content ul:not(.no-bullets) > li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
@@ -4141,11 +4146,13 @@ ul.ycb-social-icons li a .svg-inline--fa {
|
||||
.after-entry .enews input:first-of-type {
|
||||
margin-left: 0;
|
||||
}
|
||||
.blocks-gallery-image {
|
||||
.blocks-gallery-image,
|
||||
.blocks-gallery-item {
|
||||
width: 48.71795%;
|
||||
margin-bottom: 2.5641%;
|
||||
}
|
||||
.blocks-gallery-image:nth-of-type(odd) {
|
||||
.blocks-gallery-image:nth-of-type(odd),
|
||||
.blocks-gallery-item:nth-of-type(odd) {
|
||||
clear: both;
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -4382,81 +4389,129 @@ ul.ycb-social-icons li a .svg-inline--fa {
|
||||
.author-box {
|
||||
padding: 6rem 0;
|
||||
}
|
||||
.blocks-gallery-image {
|
||||
.blocks-gallery-image,
|
||||
.blocks-gallery-item {
|
||||
margin-bottom: 2.5641%;
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.blocks-gallery-image:nth-of-type(odd) {
|
||||
.blocks-gallery-image:nth-of-type(odd),
|
||||
.blocks-gallery-item:nth-of-type(odd) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-2
|
||||
.blocks-gallery-item {
|
||||
width: 48.71795%;
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(odd) {
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(odd),
|
||||
.wp-block-gallery.columns-2
|
||||
.blocks-gallery-item:nth-of-type(odd) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-3
|
||||
.blocks-gallery-item {
|
||||
width: 31.62393%;
|
||||
}
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(odd) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(odd),
|
||||
.wp-block-gallery.columns-3
|
||||
.blocks-gallery-item:nth-of-type(odd) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n + 1) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n + 1),
|
||||
.wp-block-gallery.columns-3
|
||||
.blocks-gallery-item:nth-of-type(3n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-4
|
||||
.blocks-gallery-item {
|
||||
width: 23.07692%;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(3n + 1) {
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(3n + 1),
|
||||
.wp-block-gallery.columns-4
|
||||
.blocks-gallery-item:nth-of-type(3n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n + 1) {
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n + 1),
|
||||
.wp-block-gallery.columns-4
|
||||
.blocks-gallery-item:nth-of-type(4n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-5
|
||||
.blocks-gallery-item {
|
||||
width: 17.94872%;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(4n + 1) {
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(4n + 1),
|
||||
.wp-block-gallery.columns-5
|
||||
.blocks-gallery-item:nth-of-type(4n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n + 1) {
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n + 1),
|
||||
.wp-block-gallery.columns-5
|
||||
.blocks-gallery-item:nth-of-type(5n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-6
|
||||
.blocks-gallery-item {
|
||||
width: 14.52991%;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(5n + 1) {
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(5n + 1),
|
||||
.wp-block-gallery.columns-6
|
||||
.blocks-gallery-item:nth-of-type(5n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n + 1) {
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n + 1),
|
||||
.wp-block-gallery.columns-6
|
||||
.blocks-gallery-item:nth-of-type(6n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-7
|
||||
.blocks-gallery-item {
|
||||
width: 12.08791%;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(6n + 1) {
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(6n + 1),
|
||||
.wp-block-gallery.columns-7
|
||||
.blocks-gallery-item:nth-of-type(6n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n + 1) {
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n + 1),
|
||||
.wp-block-gallery.columns-7
|
||||
.blocks-gallery-item:nth-of-type(7n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-8
|
||||
.blocks-gallery-item {
|
||||
width: 10.25641%;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(7n + 1) {
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(7n + 1),
|
||||
.wp-block-gallery.columns-8
|
||||
.blocks-gallery-item:nth-of-type(7n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n + 1) {
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n + 1),
|
||||
.wp-block-gallery.columns-8
|
||||
.blocks-gallery-item:nth-of-type(8n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image {
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-9
|
||||
.blocks-gallery-item {
|
||||
width: 8.83191%;
|
||||
}
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image:nth-of-type(8n + 1) {
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image:nth-of-type(8n + 1),
|
||||
.wp-block-gallery.columns-9
|
||||
.blocks-gallery-item:nth-of-type(8n + 1) {
|
||||
margin-left: 2.5641%;
|
||||
}
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image:nth-of-type(9n + 1) {
|
||||
.wp-block-gallery.columns-9 .blocks-gallery-image:nth-of-type(9n + 1),
|
||||
.wp-block-gallery.columns-9
|
||||
.blocks-gallery-item:nth-of-type(9n + 1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.hero-section {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user