File tree Expand file tree Collapse file tree 2 files changed +53
-21
lines changed
Expand file tree Collapse file tree 2 files changed +53
-21
lines changed Original file line number Diff line number Diff line change 3131 -webkit-transform : translateY (-150px );
3232 transform : translateY (-150px );
3333}
34- .sharebutton ,
35- sharebutton {
36- display : inline-block;
37- text-decoration : none;
38- height : 48px ;
39- text-align : center;
40- vertical-align : middle;
41- font-size : 18px ;
42- width : 150px ;
43- font-weight : 700 ;
44- line-height : 48px ;
45- letter-spacing : 0.1px ;
46- white-space : wrap;
47- border-radius : 8px ;
48- cursor : pointer;
49- color : # 000000 ;
50- background-color : # efefef
51- }
34+ .sharebutton ,
35+ sharebutton {
36+ display : inline-block;
37+ text-decoration : none;
38+ height : 48px ;
39+ text-align : center;
40+ vertical-align : middle;
41+ font-size : 18px ;
42+ width : 48px ;
43+ font-weight : 700 ;
44+ line-height : 48px ;
45+ letter-spacing : 0.1px ;
46+ white-space : wrap;
47+ border-radius : 8px ;
48+ cursor : pointer;
49+ color : # 000000 ;
50+ background-color : # efefef
51+ }
52+ @media screen and (min-width : 600px ) {
53+ .sharebutton ,
54+ sharebutton {
55+ display : inline-block;
56+ text-decoration : none;
57+ height : 48px ;
58+ text-align : center;
59+ vertical-align : middle;
60+ font-size : 18px ;
61+ width : 150px ;
62+ font-weight : 700 ;
63+ line-height : 48px ;
64+ letter-spacing : 0.1px ;
65+ white-space : wrap;
66+ border-radius : 8px ;
67+ cursor : pointer;
68+ color : # 000000 ;
69+ background-color : # efefef
70+ }
71+ }
5272sharebutton : hover ,
5373.sharebutton : hover {
5474 color : # 000000 ;
@@ -62,4 +82,16 @@ sharebutton:hover,
6282.sharebutton .sharebutton-primary : hover ,
6383.sharebutton .sharebutton-primary : focus {
6484 color : # FFFFFF ;
65- filter : brightness (90% ) }
85+ filter : brightness (90% ) }
86+
87+ @media screen and (max-width : 600px ) {
88+ .sharebutton-mb {
89+ display : none;
90+ }
91+ .sharebutton-img {
92+ position : relative;
93+ left : 3px ;
94+ margin-left : auto;
95+ margin-right : auto;
96+ }
97+ }
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ function get_operating_system() {
107107
108108@if ($user_browser === ' Chrome' or get_operating_system () == ' mobile' )
109109<script src =" {{ asset (' littlelink/js/jquery.min.js' ) } }" ></script >
110- <div align =" right" class =" sharediv" ><div class =" button-entrance" ><a class =" sharebutton hvr-grow hvr-icon-wobble-vertical" id =' share-share-button' ><img class =" icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } share.svg" >Share</a ></div ></div >
110+ <div align =" right" class =" sharediv" ><div class =" button-entrance" ><a class =" sharebutton hvr-grow hvr-icon-wobble-vertical" id =' share-share-button' ><img class =" sharebutton-img icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } share.svg" >< span class = " sharebutton-mb " > Share</ span > </a ></div ></div >
111111<span class =" copy-icon" role =" button" >
112112</span >
113113@else
114114<span class =" copy-icon" role =" button" >
115- <div align =" right" class =" sharediv" ><div class =" button-entrance" ><a class =" sharebutton hvr-grow hvr-icon-wobble-vertical" ><img class =" icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } share.svg" >Share</a ></div ></div >
115+ <div align =" right" class =" sharediv" ><div class =" button-entrance" ><a class =" sharebutton hvr-grow hvr-icon-wobble-vertical" ><img class =" sharebutton-img icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } share.svg" >< span class = " sharebutton-mb " > Share</ span > </a ></div ></div >
116116</span >
117117@endif
118118<div class =" toastdiv" >
You can’t perform that action at this time.
0 commit comments