| 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-twitter-wrap { |
| 11 |
--pk-twitter-a-color: inherit; |
| 12 |
--pk-twitter-number-color: #000000; |
| 13 |
--pk-twitter-tweet-border-color: #eeeeee; |
| 14 |
--pk-twitter-a-font-family: inherit; |
| 15 |
--pk-twitter-username-font-size: 0.875rem; |
| 16 |
--pk-twitter-number-font-size: 0.875rem; |
| 17 |
--pk-twitter-number-font-weight: bold; |
| 18 |
--pk-twitter-content-font-size: 90%; |
| 19 |
--pk-twitter-counters-font-size: 80%; |
| 20 |
--pk-twitter-actions-font-size: 80%; |
| 21 |
--pk-twitter-label-font-size: 80%; |
| 22 |
--pk-twitter-count-font-size: 80%; |
| 23 |
} |
| 24 |
|
| 25 |
/*--------------------------------------------------------------*/ |
| 26 |
.pk-twitter-wrap a { |
| 27 |
font-family: var(--pk-twitter-a-font-family); |
| 28 |
-webkit-box-shadow: none !important; |
| 29 |
box-shadow: none !important; |
| 30 |
} |
| 31 |
|
| 32 |
.pk-twitter-header { |
| 33 |
margin-bottom: 1.5rem; |
| 34 |
} |
| 35 |
|
| 36 |
.pk-twitter-container { |
| 37 |
display: -webkit-box; |
| 38 |
display: -ms-flexbox; |
| 39 |
display: flex; |
| 40 |
-webkit-box-align: center; |
| 41 |
-ms-flex-align: center; |
| 42 |
align-items: center; |
| 43 |
} |
| 44 |
|
| 45 |
.pk-twitter-link { |
| 46 |
display: -webkit-box; |
| 47 |
display: -ms-flexbox; |
| 48 |
display: flex; |
| 49 |
-webkit-box-orient: vertical; |
| 50 |
-webkit-box-direction: normal; |
| 51 |
-ms-flex-direction: column; |
| 52 |
flex-direction: column; |
| 53 |
-webkit-box-align: center; |
| 54 |
-ms-flex-align: center; |
| 55 |
align-items: center; |
| 56 |
-webkit-box-pack: center; |
| 57 |
-ms-flex-pack: center; |
| 58 |
justify-content: center; |
| 59 |
-webkit-box-shadow: none; |
| 60 |
box-shadow: none; |
| 61 |
margin-left: 1rem; |
| 62 |
-webkit-box-flex: 0; |
| 63 |
-ms-flex: 0 0 50px; |
| 64 |
flex: 0 0 50px; |
| 65 |
width: 50px; |
| 66 |
height: 50px; |
| 67 |
} |
| 68 |
|
| 69 |
.pk-twitter-avatar { |
| 70 |
border-radius: 50%; |
| 71 |
width: 50px; |
| 72 |
height: 50px; |
| 73 |
} |
| 74 |
|
| 75 |
.pk-twitter-info a { |
| 76 |
color: var(--pk-twitter-a-color); |
| 77 |
} |
| 78 |
|
| 79 |
.pk-twitter-name { |
| 80 |
margin-bottom: 0; |
| 81 |
word-break: break-all; |
| 82 |
} |
| 83 |
|
| 84 |
.pk-twitter-username { |
| 85 |
font-size: var(--pk-twitter-username-font-size); |
| 86 |
word-break: break-all; |
| 87 |
} |
| 88 |
|
| 89 |
.pk-twitter-counters { |
| 90 |
display: -webkit-box; |
| 91 |
display: -ms-flexbox; |
| 92 |
display: flex; |
| 93 |
margin-top: 1rem; |
| 94 |
font-size: var(--pk-twitter-counters-font-size); |
| 95 |
} |
| 96 |
|
| 97 |
.pk-twitter-counters .counter + .counter { |
| 98 |
margin-right: 0.5rem; |
| 99 |
} |
| 100 |
|
| 101 |
.pk-twitter-counters .number { |
| 102 |
color: var(--pk-twitter-number-color); |
| 103 |
font-weight: var(--pk-twitter-number-font-weight); |
| 104 |
font-size: var(--pk-twitter-number-font-size); |
| 105 |
} |
| 106 |
|
| 107 |
.pk-twitter-tweet:after { |
| 108 |
display: table; |
| 109 |
clear: both; |
| 110 |
width: 100%; |
| 111 |
content: ''; |
| 112 |
} |
| 113 |
|
| 114 |
.pk-twitter-content { |
| 115 |
font-size: var(--pk-twitter-content-font-size); |
| 116 |
} |
| 117 |
|
| 118 |
.pk-twitter-label { |
| 119 |
display: none; |
| 120 |
} |
| 121 |
|
| 122 |
.pk-twitter-count { |
| 123 |
margin-right: 0.25rem; |
| 124 |
font-size: var(--pk-twitter-count-font-size); |
| 125 |
} |
| 126 |
|
| 127 |
.pk-twitter-label { |
| 128 |
margin-right: 0.25rem; |
| 129 |
font-size: var(--pk-twitter-label-font-size); |
| 130 |
} |
| 131 |
|
| 132 |
.pk-twitter-count:empty { |
| 133 |
display: none; |
| 134 |
} |
| 135 |
|
| 136 |
.pk-twitter-time { |
| 137 |
display: block; |
| 138 |
float: right; |
| 139 |
margin-top: .25rem; |
| 140 |
height: 20px; |
| 141 |
display: -webkit-box; |
| 142 |
display: -ms-flexbox; |
| 143 |
display: flex; |
| 144 |
-webkit-box-align: center; |
| 145 |
-ms-flex-align: center; |
| 146 |
align-items: center; |
| 147 |
} |
| 148 |
|
| 149 |
.pk-twitter-time:before { |
| 150 |
font-family: "powerkit-icons"; |
| 151 |
content: "\f099"; |
| 152 |
margin-left: .25rem; |
| 153 |
} |
| 154 |
|
| 155 |
.pk-twitter-actions { |
| 156 |
float: left; |
| 157 |
margin-top: .25rem; |
| 158 |
font-size: var(--pk-twitter-actions-font-size); |
| 159 |
display: -webkit-box; |
| 160 |
display: -ms-flexbox; |
| 161 |
display: flex; |
| 162 |
-webkit-box-align: center; |
| 163 |
-ms-flex-align: center; |
| 164 |
align-items: center; |
| 165 |
-webkit-box-pack: end; |
| 166 |
-ms-flex-pack: end; |
| 167 |
justify-content: flex-end; |
| 168 |
} |
| 169 |
|
| 170 |
.pk-twitter-actions ul { |
| 171 |
list-style: none; |
| 172 |
padding: 0; |
| 173 |
margin: 0; |
| 174 |
} |
| 175 |
|
| 176 |
.pk-twitter-actions ul li { |
| 177 |
display: inline-block; |
| 178 |
border: none; |
| 179 |
padding: 0; |
| 180 |
margin: 0; |
| 181 |
} |
| 182 |
|
| 183 |
.pk-twitter-actions ul li:not(:last-child) { |
| 184 |
margin-left: .25rem; |
| 185 |
} |
| 186 |
|
| 187 |
.pk-twitter-actions ul li a { |
| 188 |
display: -webkit-box; |
| 189 |
display: -ms-flexbox; |
| 190 |
display: flex; |
| 191 |
-webkit-box-align: center; |
| 192 |
-ms-flex-align: center; |
| 193 |
align-items: center; |
| 194 |
border: none; |
| 195 |
} |
| 196 |
|
| 197 |
.pk-twitter-actions ul li .pk-icon { |
| 198 |
text-decoration: none; |
| 199 |
} |
| 200 |
|
| 201 |
.pk-twitter-footer { |
| 202 |
display: -webkit-box; |
| 203 |
display: -ms-flexbox; |
| 204 |
display: flex; |
| 205 |
-webkit-box-pack: center; |
| 206 |
-ms-flex-pack: center; |
| 207 |
justify-content: center; |
| 208 |
margin-top: 1.5rem; |
| 209 |
} |
| 210 |
|
| 211 |
.pk-twitter-footer .pk-twitter-btn { |
| 212 |
display: block; |
| 213 |
width: 100%; |
| 214 |
} |
| 215 |
|
| 216 |
.pk-twitter-default .pk-twitter-tweet { |
| 217 |
padding-top: 1rem; |
| 218 |
margin-top: 1rem; |
| 219 |
border-top: 1px var(--pk-twitter-tweet-border-color) solid; |
| 220 |
} |
| 221 |
|