11/**
22** File: style.css
3- ** Version: 1.2.1
3+ ** Version: 1.3
44** Since: 1.0
55** Author: en0ndev
66
@@ -20,23 +20,29 @@ You should have received a copy of the GNU General Public License
2020along with Custom Profile Avatar. If not, see <https://www.gnu.org/licenses/>.
2121*/
2222
23- @import url ("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,500;0,700;1,300&display=swap" );
23+ /*@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,500;0,700;1,300&display=swap");*/
24+
25+ /*@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;400;600&display=swap");*/
26+
27+ @import url ("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap" );
28+
2429body {
2530 background : # ddd ;
2631 user-select : none;
2732 line-height : normal !important ;
2833}
2934
30- # wpbody * {
35+ # wpbody * ,
36+ # author__by {
3137 line-height : normal !important ;
32- font-family : "Ubuntu " , sans-serif;
38+ font-family : "Quicksand " , sans-serif;
3339}
3440
3541# author__by {
3642 background : # 000 ;
37- padding : 5 px 20 px ;
43+ padding : 10 px 35 px ;
3844 border-radius : 30px ;
39- box-shadow : 1px 1px 5px 1px rgba (0 , 0 , 0 , 0.6 );
45+ box-shadow : 1px 1px 5px 1px rgba (0 , 0 , 0 , 0.5 );
4046 position : absolute;
4147 left : 11px ;
4248 bottom : 11px ;
5157# author__by .bold {
5258 color : # fff ;
5359 font-weight : 700 ;
54- padding : 1px 0 ;
60+ padding : 0 2px ;
61+ margin : 0 5px ;
5562}
5663
5764# author__by .bold : hover {
6572 /*justify-content: center;*/
6673 flex-direction : column;
6774 text-align : center;
68- padding-top : 20 px ;
75+ padding : 40 px 0 ;
6976}
7077
7178.main__area h1 ,
@@ -84,7 +91,7 @@ input[type="button"],
8491
8592.inner__area {
8693 width : 800px ;
87- height : 300 px ;
94+ max- height: 600 px ;
8895 background : # f8f8f8 ;
8996 border-radius : 10px ;
9097 margin-top : 20px ;
@@ -110,8 +117,12 @@ input[type="button"],
110117 background : rgb (150 , 0 , 0 );
111118 color : # fff ;
112119 padding : 3px 15px ;
113- margin-bottom : 40px ;
114- display : inline-block;
120+ margin : 40px 0 ;
121+ display : block;
122+ }
123+
124+ .main__area .info__card : first-child {
125+ margin-top : 0 ;
115126}
116127
117128.inner__area h2 {
@@ -165,6 +176,8 @@ input[type="button"],
165176 justify-content : center;
166177 align-items : center;
167178 flex-direction : column;
179+ width : min-content;
180+ margin : 0 auto;
168181}
169182
170183.remove {
@@ -225,17 +238,30 @@ input[type="button"],
225238 border-bottom : 4px solid # 2271b1 ;
226239}
227240
241+ .about > p > .about__author .link {
242+ color : # 000 ;
243+ text-decoration : none;
244+ padding : 2px 0 ;
245+ border-bottom : 2px solid # 000 ;
246+ }
247+
248+ .about > p > .about__author .link : hover {
249+ border-bottom : 4px solid # 000 ;
250+ }
251+
228252# notf {
229253 position : absolute;
230254 right : 15px ;
231- top : 15 px ;
232- box-shadow : 2 px 2 px 5 px 1px rgba (0 , 0 , 0 , 0.3 );
255+ top : 2.5 px ;
256+ box-shadow : 1 px 1 px 8 px - 1px rgba (0 , 0 , 0 , 0.3 );
233257 padding : 10px 2em ;
234- border-radius : 5 px ;
258+ border-radius : 3 px ;
235259 color : # 000 ;
236260 background : # fff ;
237261 font-weight : 500 ;
238262 font-size : 16px ;
263+ display : none;
264+ transition : transform 0.6s ;
239265}
240266
241267.scs {
@@ -267,47 +293,92 @@ input[type="button"],
267293 /* for .rate__box */
268294}
269295
270- .checkbox__area {
296+ .checkbox__area ,
297+ .checkbox__area__single {
271298 display : flex;
272- /*justify-content: space-between;*/
299+ justify-content : space-evenly;
300+ padding-bottom : 20px ;
273301}
274302
275303.user__permissions {
276304 display : block;
277305}
278306
279- .user__permissions .permission__cont {
307+ .user__permissions .checkbox__area label {
280308 /*margin-left: 15px;*/
281309 /*margin-right: 15px;*/
282310 display : inline-flex;
283311 flex-direction : column;
284312 align-items : center;
285313 /*margin: 0 auto;*/
286314 position : relative;
287- margin : 0 25 px ;
315+ margin : 0 15 px ;
288316}
289317
290- .user__permissions .permission__cont span {
318+ .user__permissions .checkbox__area label span {
291319 font-size : 10pt ;
292320 position : absolute;
293321 bottom : -20px ;
294322 white-space : nowrap;
295323}
296324
297- .user__permissions .permission__cont input {
325+ .user__permissions .checkbox__area label input {
298326 width : 50px ;
299327 height : 50px ;
300328 border : none;
301329 box-shadow : 1px 1px 8px -4px rgba (35 , 35 , 35 , 0.75 );
302330 margin : 0 !important ;
303331}
304332
305- .user__permissions .permission__cont input : checked ::before {
333+ .user__permissions .checkbox__area . permission__cont input : checked ::before {
306334 width : 50px !important ;
307335 height : 50px !important ;
308336 margin : 0 !important ;
309337}
310338
339+ .user__permissions .checkbox__area__single label {
340+ width : 85px ;
341+ height : 35px ;
342+ border-radius : 30px ;
343+ box-shadow : 0px 0px 2px 1px rgba (0 , 0 , 0 , 0.3 );
344+ overflow : hidden;
345+ position : relative;
346+ }
347+
348+ .user__permissions .checkbox__area__single label span {
349+ width : 100% ;
350+ height : 100% ;
351+ background-color : # dadada ;
352+ display : inline-block;
353+ transition : background 0.5s ;
354+ }
355+
356+ .user__permissions .checkbox__area__single label span ::before {
357+ content : "" ;
358+ width : 25px ;
359+ height : 25px ;
360+ border-radius : 50% ;
361+ box-shadow : 1px 1px 4px -1px rgba (0 , 0 , 0 , 0.3 );
362+ background-color : # ffffff ;
363+ display : block;
364+ transition : transform 0.5s ;
365+ position : absolute;
366+ left : 5px ;
367+ top : 5px ;
368+ }
369+
370+ .user__permissions .checkbox__area__single label input {
371+ display : none;
372+ }
373+
374+ .user__permissions .checkbox__area__single label input : checked + span {
375+ background-color : # 2ab600 ;
376+ }
377+
378+ .user__permissions .checkbox__area__single label input : checked + span ::before {
379+ transform : translateX (50px );
380+ }
381+
311382# change {
312383 background-color : transparent;
313384 box-shadow : none;
0 commit comments