Browse
For agents
About
Getwid – Gutenberg Blocks
/
2.1.2
Getwid – Gutenberg Blocks
v2.1.2
Switch version
3.0.2
3.0.1
3.0.0
2.1.0
2.1.1
2.1.2
2.1.3
2.2.0
trunk
1.8.7
1.9.1
2.0.10
2.0.11
2.0.12
2.0.13
2.0.14
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
Overview
Code
getwid
/
assets
/
blocks
/
custom-post-type
/
style.css
style.css
in Getwid – Gutenberg Blocks 2.1.2, at assets/blocks/custom-post-type/style.css
3 lines
6.3 KB
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
/*
!
2
* getwid-post-custom-post-type
3
*/
.
wp-block-getwid-custom-post-type
{
overflow
:
hidden
}
.
wp-block-getwid-custom-post-type
.
navigation
.
pagination
{
margin-top
:
3.125
em
}
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
22
px
}
.
wp-block-getwid-custom-post-type__post
:
first-child
{
margin-top
:
0
}
.
wp-block-getwid-custom-post-type__post-wrapper
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
flex-start
}
.
wp-block-getwid-custom-post-type
.
wp-block-getwid-custom-post-type__post-title
{
margin
:
0
}
.
wp-block-getwid-custom-post-type__post-thumbnail
{
margin-bottom
:
1
em
}
.
wp-block-getwid-custom-post-type__post-thumbnail
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post-thumbnail
a
{
display
:
block
}
.
wp-block-getwid-custom-post-type__post-thumbnail
a
img
{
display
:
block
}
.
wp-block-getwid-custom-post-type__post-excerpt
>
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post-excerpt
{
margin-top
:
.5
em
}
.
wp-block-getwid-custom-post-type__post-excerpt
:
first-child
{
margin-top
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-featured-image
{
margin-bottom
:
1.875
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-featured-image
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-title
{
margin-bottom
:
.5
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-title
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-title
+
.
wp-block-getwid-template-post-featured-image
{
margin-top
:
1.25
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-content
{
margin-bottom
:
.5
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-content
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-link
{
margin-top
:
1.5
em
;
margin-bottom
:
1.5
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-link
:
first-child
{
margin-top
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-link
:
last-child
{
margin-bottom
:
0
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-meta
{
margin-bottom
:
.25
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-template-post-meta
+
.
wp-block-getwid-template-post-featured-image
{
margin-top
:
1.25
em
}
.
wp-block-getwid-custom-post-type__post
>
.
wp-block-getwid-section
{
height
:
100
%
}
.
has-spacing-none
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
0
}
.
has-spacing-none
>
.
getwid-columns
{
margin-left
:
0
;
margin-right
:
0
}
.
has-spacing-none
>
.
getwid-columns
>
*
{
padding-left
:
0
;
margin-top
:
0
;
padding-right
:
0
}
.
has-spacing-small
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
20
px
}
.
has-spacing-small
>
.
getwid-columns
{
margin-left
:
-5
px
;
margin-right
:
-5
px
}
.
has-spacing-small
>
.
getwid-columns
>
*
{
margin-top
:
10
px
;
padding-left
:
5
px
;
padding-right
:
5
px
}
.
has-spacing-medium
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
30
px
}
.
has-spacing-medium
>
.
getwid-columns
{
margin-left
:
-15
px
;
margin-right
:
-15
px
}
.
has-spacing-medium
>
.
getwid-columns
>
*
{
margin-top
:
30
px
;
padding-left
:
15
px
;
padding-right
:
15
px
}
.
has-spacing-normal
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
60
px
}
.
has-spacing-normal
>
.
getwid-columns
{
margin-left
:
-25
px
;
margin-right
:
-25
px
}
.
has-spacing-normal
>
.
getwid-columns
>
*
{
margin-top
:
50
px
;
padding-left
:
25
px
;
padding-right
:
25
px
}
.
has-spacing-large
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
80
px
}
.
has-spacing-large
>
.
getwid-columns
{
margin-left
:
-40
px
;
margin-right
:
-40
px
}
.
has-spacing-large
>
.
getwid-columns
>
*
{
margin-top
:
80
px
;
padding-left
:
40
px
;
padding-right
:
40
px
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
+
.
wp-block-getwid-custom-post-type__post
{
margin-top
:
3.125
em
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__post
:
last-child
{
margin-bottom
:
0
}
@
media
screen
and
(
min-width
:
768
px
)
{
.
has-layout-list
.
wp-block-getwid-custom-post-type__post-wrapper
{
flex-direction
:
row
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__entry-header
{
margin-top
:
0
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__entry-header
.
wp-block-getwid-custom-post-type__post-title
{
margin-top
:
0
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__post-thumbnail
{
max-width
:
40
%
;
margin
:
0
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__post-thumbnail
:
only-child
{
width
:
100
%
}
.
has-layout-list
.
wp-block-getwid-custom-post-type__post-thumbnail
+
.
wp-block-getwid-custom-post-type__content-wrapper
{
margin-left
:
5
%
;
margin-top
:
0
;
max-width
:
55
%
;
width
:
100
%
}
}
@
media
screen
and
(
min-width
:
991
px
)
{
.
getwid-columns-1
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-2
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-2
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
2
)
{
margin-top
:
0
}
.
getwid-columns-3
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-3
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
2
)
{
margin-top
:
0
}
.
getwid-columns-3
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
3
)
{
margin-top
:
0
}
.
getwid-columns-4
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-4
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
2
)
{
margin-top
:
0
}
.
getwid-columns-4
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
3
)
{
margin-top
:
0
}
.
getwid-columns-4
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
4
)
{
margin-top
:
0
}
.
getwid-columns-5
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-5
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
2
)
{
margin-top
:
0
}
.
getwid-columns-5
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
3
)
{
margin-top
:
0
}
.
getwid-columns-5
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
4
)
{
margin-top
:
0
}
.
getwid-columns-5
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
5
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
1
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
2
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
3
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
4
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
5
)
{
margin-top
:
0
}
.
getwid-columns-6
.
wp-block-getwid-custom-post-type__post
:
nth-child
(
6
)
{
margin-top
:
0
}
}