PluginProbe
Powerkit – Supercharge your WordPress Site / 2.3.6
Powerkit – Supercharge your WordPress Site v2.3.6
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / modules / twitter / public / css / public-powerkit-twitter.css

public-powerkit-twitter.css in Powerkit – Supercharge your WordPress Site 2.3.6, at modules/twitter/public/css/public-powerkit-twitter.css

221 lines 4.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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-right: 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-left: 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-left: 0.25rem;
124 font-size: var(--pk-twitter-count-font-size);
125 }
126
127 .pk-twitter-label {
128 margin-left: 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: left;
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-right: .25rem;
153 }
154
155 .pk-twitter-actions {
156 float: right;
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-right: .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