| 1 |
/** |
| 2 |
* Flex Posts styles |
| 3 |
*/ |
| 4 |
|
| 5 |
.fp-flex { |
| 6 |
display: -webkit-flex; |
| 7 |
display: -ms-flexbox; |
| 8 |
display: flex; |
| 9 |
justify-content: flex-start; |
| 10 |
flex-direction: row; |
| 11 |
flex-wrap: wrap; |
| 12 |
-ms-flex-align: start; |
| 13 |
align-items: flex-start; |
| 14 |
} |
| 15 |
|
| 16 |
.fp-row { |
| 17 |
margin-left: -15px; |
| 18 |
margin-right: -15px; |
| 19 |
} |
| 20 |
|
| 21 |
.fp-post { |
| 22 |
margin-bottom: 20px; |
| 23 |
} |
| 24 |
|
| 25 |
.fp-col { |
| 26 |
min-width: 200px; |
| 27 |
max-width: 400px; |
| 28 |
flex: 1 1 30%; |
| 29 |
margin-left: 15px; |
| 30 |
margin-right: 15px; |
| 31 |
} |
| 32 |
|
| 33 |
.fp-col:empty { |
| 34 |
height: 0; |
| 35 |
visibility: hidden; |
| 36 |
margin-top: 0; |
| 37 |
margin-bottom: 0; |
| 38 |
} |
| 39 |
|
| 40 |
.fp-list-3 .fp-col { |
| 41 |
max-width: none; |
| 42 |
} |
| 43 |
|
| 44 |
.fp-body { |
| 45 |
min-width: 0; |
| 46 |
} |
| 47 |
|
| 48 |
.fp-list-1 .fp-flex, |
| 49 |
.fp-list-3 .fp-flex { |
| 50 |
flex-wrap: nowrap; |
| 51 |
} |
| 52 |
|
| 53 |
.fp-list-1 .fp-media, |
| 54 |
.fp-list-3 .fp-extra .fp-media { |
| 55 |
flex-shrink: 0; |
| 56 |
} |
| 57 |
|
| 58 |
.fp-thumbnail { |
| 59 |
display: block; |
| 60 |
} |
| 61 |
|
| 62 |
.fp-list-1 .fp-thumbnail, |
| 63 |
.fp-list-3 .fp-extra .fp-thumbnail { |
| 64 |
margin-right: 1em; |
| 65 |
} |
| 66 |
|
| 67 |
.rtl .fp-list-1 .fp-thumbnail, |
| 68 |
.rtl .fp-list-3 .fp-extra .fp-thumbnail { |
| 69 |
margin-right: 0; |
| 70 |
margin-left: 1em; |
| 71 |
} |
| 72 |
|
| 73 |
.fp-thumbnail { |
| 74 |
-webkit-transition: opacity 500ms ease; |
| 75 |
transition: opacity 500ms ease; |
| 76 |
} |
| 77 |
|
| 78 |
.fp-thumbnail:hover { |
| 79 |
opacity: 0.8; |
| 80 |
} |
| 81 |
|
| 82 |
.fp-thumbnail img { |
| 83 |
display: block; |
| 84 |
width: 100%; |
| 85 |
object-fit: cover; |
| 86 |
overflow: hidden; |
| 87 |
} |
| 88 |
|
| 89 |
.fp-media .fp-thumbnail img { |
| 90 |
margin: 0; |
| 91 |
} |
| 92 |
|
| 93 |
.fp-thumbnail img.size-thumbnail { |
| 94 |
width: 85px; |
| 95 |
height: 85px; |
| 96 |
} |
| 97 |
|
| 98 |
.fp-list-2 .fp-media + .fp-body, |
| 99 |
.fp-list-3 .fp-main .fp-media + .fp-body { |
| 100 |
margin-top: 0.8em; |
| 101 |
} |
| 102 |
|
| 103 |
.fp-post .fp-title { |
| 104 |
font-size: 1em; |
| 105 |
line-height: 1.5; |
| 106 |
font-weight: 400; |
| 107 |
} |
| 108 |
|
| 109 |
.widget .fp-post .fp-title { |
| 110 |
margin: 0; |
| 111 |
padding: 0; |
| 112 |
} |
| 113 |
|
| 114 |
.fp-list-2 .fp-title, |
| 115 |
.fp-list-3 .fp-main .fp-title, |
| 116 |
.fp-list-4 .fp-title { |
| 117 |
font-size: 1.2em; |
| 118 |
font-weight: 500; |
| 119 |
} |
| 120 |
|
| 121 |
.fp-list-4 .fp-post { |
| 122 |
margin-left: -10px; |
| 123 |
margin-right: -10px; |
| 124 |
} |
| 125 |
|
| 126 |
.fp-list-4 .fp-media { |
| 127 |
flex: 1 0 40%; |
| 128 |
min-width: 150px; |
| 129 |
max-width: 300px; |
| 130 |
margin-left: 10px; |
| 131 |
margin-right: 10px; |
| 132 |
margin-bottom: 0.8em; |
| 133 |
} |
| 134 |
|
| 135 |
.fp-list-4 .fp-body { |
| 136 |
flex: 1 0 50%; |
| 137 |
margin-left: 10px; |
| 138 |
margin-right: 10px; |
| 139 |
} |
| 140 |
|
| 141 |
.fp-post .fp-title a { |
| 142 |
color: currentColor; |
| 143 |
text-decoration: none; |
| 144 |
} |
| 145 |
|
| 146 |
.fp-excerpt { |
| 147 |
margin-top: 0.4em; |
| 148 |
opacity: 0.8; |
| 149 |
} |
| 150 |
|
| 151 |
.fp-meta { |
| 152 |
font-size: 0.9em; |
| 153 |
margin-top: 0.2em; |
| 154 |
} |
| 155 |
|
| 156 |
.fp-post .fp-meta a { |
| 157 |
opacity: 0.5; |
| 158 |
color: currentColor; |
| 159 |
text-decoration: none; |
| 160 |
} |
| 161 |
|
| 162 |
.fp-author span .author-image { |
| 163 |
opacity: 1; |
| 164 |
} |
| 165 |
|
| 166 |
.fp-author span .author-image:hover { |
| 167 |
text-decoration: none; |
| 168 |
} |
| 169 |
|
| 170 |
.author-image + .url { |
| 171 |
margin-left: 0.2em; |
| 172 |
} |
| 173 |
|
| 174 |
.fp-author .photo { |
| 175 |
vertical-align: middle; |
| 176 |
border-radius: 50%; |
| 177 |
} |
| 178 |
|
| 179 |
.fp-comments > span { |
| 180 |
opacity: 0.5; |
| 181 |
} |
| 182 |
|
| 183 |
.fp-meta a:hover { |
| 184 |
opacity: 0.8; |
| 185 |
} |
| 186 |
|
| 187 |
.fp-meta > span:before { |
| 188 |
content: "\a0\b7\a0"; |
| 189 |
opacity: 0.5; |
| 190 |
} |
| 191 |
|
| 192 |
.fp-meta > span:first-child:before { |
| 193 |
content: ""; |
| 194 |
} |
| 195 |
|
| 196 |
.fp-categories { |
| 197 |
display: block; |
| 198 |
font-size: 0.7em; |
| 199 |
margin: 0; |
| 200 |
opacity: 0.7; |
| 201 |
text-transform: uppercase; |
| 202 |
letter-spacing: 0.2em; |
| 203 |
} |
| 204 |
|
| 205 |
.screen-reader-text { |
| 206 |
border: 0; |
| 207 |
clip: rect(1px, 1px, 1px, 1px); |
| 208 |
clip-path: inset(50%); |
| 209 |
height: 1px; |
| 210 |
margin: -1px; |
| 211 |
overflow: hidden; |
| 212 |
padding: 0; |
| 213 |
position: absolute ! important; |
| 214 |
width: 1px; |
| 215 |
word-wrap: normal ! important; |
| 216 |
} |
| 217 |
|
| 218 |
.fp-post .fp-readmore { |
| 219 |
margin-top: .5em; |
| 220 |
} |
| 221 |
|
| 222 |
.fp-post .fp-readmore-link { |
| 223 |
text-decoration: none; |
| 224 |
font-size: 0.9em; |
| 225 |
display: inline-block; |
| 226 |
border: 1px solid; |
| 227 |
padding: .2em .7em; |
| 228 |
border-radius: 3px; |
| 229 |
} |
| 230 |
|
| 231 |
.fp-post .fp-readmore-link:hover { |
| 232 |
text-decoration: none; |
| 233 |
} |
| 234 |
|
| 235 |
.block-editor__container [class*="widget_flex-posts"] a, |
| 236 |
.wp-block-widget-area [class*="widget_flex-posts"] a { |
| 237 |
pointer-events: none; |
| 238 |
} |
| 239 |
|