PluginProbe
Powerkit – Supercharge your WordPress Site / 2.9.0
Powerkit – Supercharge your WordPress Site v2.9.0
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 / author-box / public / css / public-powerkit-author-box.css

public-powerkit-author-box.css in Powerkit – Supercharge your WordPress Site 2.9.0, at modules/author-box/public/css/public-powerkit-author-box.css

108 lines 2.4 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-widget-author {
11 --pk-author-social-link-color: #000000;
12 --pk-author-with-bg-color: #FFFFFF;
13 --pk-author-with-bg-links-color: #FFFFFF;
14 --pk-author-with-bg-links-hover-color: rgba(255,255,255, 0.6);
15 --pk-author-with-bg-decsription-color: #FFFFFF;
16 --pk-author-avatar-border-radius: 100%;
17 --pk-author-description-font-size: 90%;
18 }
19
20 /*--------------------------------------------------------------*/
21 .pk-widget-author {
22 position: relative;
23 text-align: center;
24 }
25
26 .pk-widget-author .pk-widget-author-bg {
27 position: absolute;
28 top: 0;
29 left: 0;
30 width: 100%;
31 height: 100%;
32 z-index: 1;
33 }
34
35 .pk-widget-author .pk-widget-author-bg img {
36 display: block;
37 width: 100%;
38 height: 100%;
39 -o-object-fit: cover;
40 object-fit: cover;
41 font-family: 'object-fit: cover;';
42 }
43
44 .pk-widget-author .pk-widget-author-container {
45 position: relative;
46 padding: 0 2rem;
47 z-index: 2;
48 }
49
50 .pk-widget-author .pk-author-avatar img {
51 border-radius: var(--pk-author-avatar-border-radius);
52 }
53
54 .pk-widget-author .pk-author-data {
55 margin-top: 1rem;
56 }
57
58 .pk-widget-author .pk-author-data .author-description {
59 font-size: var(--pk-author-description-font-size);
60 }
61
62 .pk-widget-author .pk-author-footer {
63 margin-top: 1rem;
64 }
65
66 .pk-widget-author .pk-author-button {
67 margin-top: 1rem;
68 }
69
70 .pk-widget-author .pk-social-links-wrap {
71 margin-top: 1rem;
72 }
73
74 .pk-widget-author .pk-social-links-items {
75 justify-content: center;
76 }
77
78 .pk-widget-author .pk-social-links-link {
79 color: var(--pk-author-social-link-color);
80 }
81
82 .pk-author-social-links .pk-social-links-link {
83 padding: 0 0.25rem;
84 }
85
86 .pk-widget-author-with-bg {
87 color: var(--pk-author-with-bg-color);
88 }
89
90 .pk-widget-author-with-bg a,
91 .pk-widget-author-with-bg .section-heading,
92 .pk-widget-author-with-bg .pk-social-links-link {
93 color: var(--pk-author-with-bg-links-color) !important;
94 }
95
96 .pk-widget-author-with-bg a:hover,
97 .pk-widget-author-with-bg .pk-social-links-link:hover {
98 color: var(--pk-author-with-bg-links-hover-color) !important;
99 }
100
101 .pk-widget-author-with-bg .author-description {
102 color: var(--pk-author-with-bg-decsription-color) !important;
103 }
104
105 .pk-widget-author-with-bg .pk-widget-author-container {
106 padding: 2rem;
107 }
108