mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-12 21:35:44 +03:00
Homepage: Fix contributor highlight section
This commit is contained in:
parent
c6c4baf62b
commit
ac1027b550
7 changed files with 67 additions and 1 deletions
6
themes/wporg-5ftf/css/objects/_gallery.scss
Normal file
6
themes/wporg-5ftf/css/objects/_gallery.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
.wp-block-gallery {
|
||||
|
||||
ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
16
themes/wporg-5ftf/css/objects/_media-text.scss
Normal file
16
themes/wporg-5ftf/css/objects/_media-text.scss
Normal file
|
@ -0,0 +1,16 @@
|
|||
.wp-block-media-text {
|
||||
|
||||
&.has-media-on-the-right {
|
||||
|
||||
.wp-block-media-text__content {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-media-on-the-left {
|
||||
|
||||
.wp-block-media-text__content {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,8 +7,11 @@
|
|||
@import "../../../pub/wporg/css/objects/links";
|
||||
@import "../../../pub/wporg/css/objects/notices";
|
||||
@import "buttons";
|
||||
@import "gallery";
|
||||
@import "hero";
|
||||
@import "image";
|
||||
@import "media-text";
|
||||
@import "pledge-form";
|
||||
@import "pledge";
|
||||
@import "pullquote";
|
||||
@import "quote";
|
||||
|
|
36
themes/wporg-5ftf/css/objects/_quote.scss
Normal file
36
themes/wporg-5ftf/css/objects/_quote.scss
Normal file
|
@ -0,0 +1,36 @@
|
|||
.wp-block-quote {
|
||||
padding-left: 0;
|
||||
border-left: none;
|
||||
font-family: $font__serif;
|
||||
font-size: ms(2);
|
||||
|
||||
p {
|
||||
color: $color__text;
|
||||
}
|
||||
|
||||
cite {
|
||||
font-size: ms(-1);
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-tablet ) {
|
||||
margin-left: -62px;
|
||||
padding-left: 62px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
background-image: url("data:image/svg+xml,#{$icon__quote}");
|
||||
}
|
||||
|
||||
@include breakpoint( 0, #{ $breakpoint-tablet - 1 } ) {
|
||||
:first-child:before {
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
content: '';
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 12px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
background-image: url("data:image/svg+xml,#{$icon__quote}");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue