| 1 |
/** |
| 2 |
* All of the CSS for your public-facing functionality should be |
| 3 |
* included in this file. |
| 4 |
*/ |
| 5 |
/** |
| 6 |
* Environment for all styles (variables, additions, etc). |
| 7 |
*/ |
| 8 |
/*--------------------------------------------------------------*/ |
| 9 |
/*--------------------------------------------------------------*/ |
| 10 |
.pk-inline-posts .pk-inline-posts-title { |
| 11 |
margin-bottom: 1.5rem; |
| 12 |
} |
| 13 |
|
| 14 |
.pk-inline-posts:not(:last-child) { |
| 15 |
padding-bottom: 40px; |
| 16 |
margin-bottom: 3rem; |
| 17 |
border-bottom: 1px #e9ecef solid; |
| 18 |
} |
| 19 |
|
| 20 |
.pk-inline-posts:not(:first-child) { |
| 21 |
padding-top: 40px; |
| 22 |
margin-top: 3rem; |
| 23 |
border-top: 1px #e9ecef solid; |
| 24 |
} |
| 25 |
|
| 26 |
.pk-inline-posts-container .pk-overlay { |
| 27 |
position: relative; |
| 28 |
display: -webkit-box; |
| 29 |
display: -ms-flexbox; |
| 30 |
display: flex; |
| 31 |
-webkit-box-orient: horizontal; |
| 32 |
-webkit-box-direction: normal; |
| 33 |
-ms-flex-direction: row; |
| 34 |
flex-direction: row; |
| 35 |
-webkit-box-pack: start; |
| 36 |
-ms-flex-pack: start; |
| 37 |
justify-content: flex-start; |
| 38 |
width: 100%; |
| 39 |
} |
| 40 |
|
| 41 |
.pk-inline-posts-container .pk-overlay-background { |
| 42 |
position: absolute; |
| 43 |
left: 0; |
| 44 |
top: 0; |
| 45 |
right: 0; |
| 46 |
bottom: 0; |
| 47 |
} |
| 48 |
|
| 49 |
.pk-inline-posts-container .pk-overlay-background figure { |
| 50 |
width: 100%; |
| 51 |
height: 100%; |
| 52 |
margin-bottom: 0; |
| 53 |
} |
| 54 |
|
| 55 |
.pk-inline-posts-container .pk-overlay-background img { |
| 56 |
width: 100%; |
| 57 |
height: 100%; |
| 58 |
-o-object-fit: cover; |
| 59 |
object-fit: cover; |
| 60 |
font-family: 'object-fit: cover;'; |
| 61 |
} |
| 62 |
|
| 63 |
.pk-inline-posts-container .pk-overlay-ratio:before { |
| 64 |
content: ''; |
| 65 |
display: table; |
| 66 |
-webkit-box-sizing: border-box; |
| 67 |
box-sizing: border-box; |
| 68 |
width: 0; |
| 69 |
height: 100%; |
| 70 |
} |
| 71 |
|
| 72 |
.pk-inline-posts-container .pk-ratio-landscape:before { |
| 73 |
padding-bottom: 75%; |
| 74 |
} |
| 75 |
|
| 76 |
.pk-inline-posts-container .pk-overlay-link { |
| 77 |
display: block; |
| 78 |
width: 100%; |
| 79 |
height: 100%; |
| 80 |
} |
| 81 |
|
| 82 |
.pk-inline-posts-container .pk-post-inner:not(:last-child) { |
| 83 |
margin-bottom: 1.5rem; |
| 84 |
} |
| 85 |
|
| 86 |
.pk-inline-posts-container .pk-post-meta { |
| 87 |
display: -webkit-box; |
| 88 |
display: -ms-flexbox; |
| 89 |
display: flex; |
| 90 |
-ms-flex-wrap: wrap; |
| 91 |
flex-wrap: wrap; |
| 92 |
-webkit-box-align: center; |
| 93 |
-ms-flex-align: center; |
| 94 |
align-items: center; |
| 95 |
} |
| 96 |
|
| 97 |
.pk-inline-posts-container .pk-post-meta .sep { |
| 98 |
display: inline-block; |
| 99 |
padding: 0 0.5rem; |
| 100 |
} |
| 101 |
|
| 102 |
.pk-inline-posts-container article:not(:first-child) { |
| 103 |
margin-top: 40px; |
| 104 |
} |
| 105 |
|
| 106 |
@media (min-width: 576px) { |
| 107 |
.pk-inline-posts-template-list .pk-post-outer { |
| 108 |
display: -webkit-box; |
| 109 |
display: -ms-flexbox; |
| 110 |
display: flex; |
| 111 |
-ms-flex-wrap: wrap; |
| 112 |
flex-wrap: wrap; |
| 113 |
margin-right: -20px; |
| 114 |
margin-left: -20px; |
| 115 |
} |
| 116 |
.pk-inline-posts-template-list .pk-post-inner { |
| 117 |
position: relative; |
| 118 |
width: 100%; |
| 119 |
padding-right: 20px; |
| 120 |
padding-left: 20px; |
| 121 |
-webkit-box-flex: 0; |
| 122 |
-ms-flex: 0 0 50%; |
| 123 |
flex: 0 0 50%; |
| 124 |
max-width: 50%; |
| 125 |
} |
| 126 |
.pk-inline-posts-template-list .pk-post-inner:not(:last-child) { |
| 127 |
margin-bottom: 0; |
| 128 |
} |
| 129 |
.pk-inline-posts-template-list .pk-post-inner:first-child:last-child { |
| 130 |
-webkit-box-flex: 0; |
| 131 |
-ms-flex: 0 0 100%; |
| 132 |
flex: 0 0 100%; |
| 133 |
max-width: 100%; |
| 134 |
} |
| 135 |
.pk-inline-posts-template-list .pk-post-inner + .pk-post-inner { |
| 136 |
margin-top: 0; |
| 137 |
display: -webkit-box; |
| 138 |
display: -ms-flexbox; |
| 139 |
display: flex; |
| 140 |
-webkit-box-orient: vertical; |
| 141 |
-webkit-box-direction: normal; |
| 142 |
-ms-flex-direction: column; |
| 143 |
flex-direction: column; |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
.pk-inline-posts-template-grid .pk-post-inner + .pk-post-inner { |
| 148 |
margin-top: 1rem; |
| 149 |
} |
| 150 |
|
| 151 |
@media (min-width: 576px) { |
| 152 |
.pk-inline-posts-template-grid { |
| 153 |
display: -webkit-box; |
| 154 |
display: -ms-flexbox; |
| 155 |
display: flex; |
| 156 |
-ms-flex-wrap: wrap; |
| 157 |
flex-wrap: wrap; |
| 158 |
margin-right: -20px; |
| 159 |
margin-left: -20px; |
| 160 |
} |
| 161 |
.pk-inline-posts-template-grid article { |
| 162 |
position: relative; |
| 163 |
width: 100%; |
| 164 |
padding-right: 20px; |
| 165 |
padding-left: 20px; |
| 166 |
-webkit-box-flex: 0; |
| 167 |
-ms-flex: 0 0 50%; |
| 168 |
flex: 0 0 50%; |
| 169 |
max-width: 50%; |
| 170 |
} |
| 171 |
.pk-inline-posts-template-grid article:nth-child(-n+2) { |
| 172 |
margin-top: 0; |
| 173 |
} |
| 174 |
.pk-inline-posts-template-grid[data-columns="1"] { |
| 175 |
-webkit-box-orient: vertical; |
| 176 |
-webkit-box-direction: normal; |
| 177 |
-ms-flex-direction: column; |
| 178 |
flex-direction: column; |
| 179 |
} |
| 180 |
.pk-inline-posts-template-grid[data-columns="1"] article { |
| 181 |
-webkit-box-flex: 0; |
| 182 |
-ms-flex: 0 0 100%; |
| 183 |
flex: 0 0 100%; |
| 184 |
max-width: 100%; |
| 185 |
} |
| 186 |
.pk-inline-posts-template-grid[data-columns="1"] article:not(:first-child) { |
| 187 |
margin-top: 40px; |
| 188 |
} |
| 189 |
} |
| 190 |
|
| 191 |
@media (min-width: 1200px) { |
| 192 |
.pk-inline-posts-template-grid[data-columns="3"] article { |
| 193 |
-webkit-box-flex: 0; |
| 194 |
-ms-flex: 0 0 33.3333333333%; |
| 195 |
flex: 0 0 33.3333333333%; |
| 196 |
max-width: 33.3333333333%; |
| 197 |
} |
| 198 |
.pk-inline-posts-template-grid[data-columns="3"] article:nth-child(-n+3) { |
| 199 |
margin-top: 0; |
| 200 |
} |
| 201 |
.pk-inline-posts-template-grid[data-columns="4"] article { |
| 202 |
-webkit-box-flex: 0; |
| 203 |
-ms-flex: 0 0 25%; |
| 204 |
flex: 0 0 25%; |
| 205 |
max-width: 25%; |
| 206 |
} |
| 207 |
.pk-inline-posts-template-grid[data-columns="4"] article:nth-child(-n+4) { |
| 208 |
margin-top: 0; |
| 209 |
} |
| 210 |
} |
| 211 |
|