File tree Expand file tree Collapse file tree 3 files changed +20
-22
lines changed Expand file tree Collapse file tree 3 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 60
60
}
61
61
}
62
62
63
- .parent {
64
- margin : auto;
65
- padding-top : 50px ;
66
- position : relative;
67
- left : 34px ;
68
- }
69
- .image1 {
70
- position : relative;
71
- width : 150px !important ;
72
- min-width : 150px ;
63
+ .logo-container {
64
+ position : relative;
65
+ text-align : center;
66
+ color : white;
73
67
}
74
68
75
- .image2 {
76
- position : relative;
77
- bottom : 38px ;
78
- right : 107px ;
79
- width : 55px !important ;
80
- min-width : 55px ;
81
- height : auto;
69
+ .logo-centered {
70
+ position : absolute;
71
+ top : 50% ;
72
+ left : 50% ;
73
+ font-family : ll;
74
+ font-size : 78px ;
75
+ font-weight : 100 ;
76
+ transform : translate (-50% , -50% );
82
77
}
83
78
84
79
.parent-footer {
Original file line number Diff line number Diff line change 17
17
<link rel =" icon" type =" image/svg+xml" href =" {{ asset (' littlelink/images/logo.svg' ) } }" >
18
18
@endif
19
19
20
+ {{-- custom font for logo text --}}
21
+ <style >@font -face{font-family :' ll' ;src :url ({{ asset (' littlelink/fonts/littlelink-custom.otf' ) } } ) format (" opentype" )} </style >
22
+
20
23
<?php // override dark/light mode if override cookie is set
21
24
$color_scheme_override = isset ($_COOKIE [" color_scheme_override" ]) ? $_COOKIE [" color_scheme_override" ] : false ; ? >
22
25
@if ($color_scheme_override == ' dark' )
54
57
@endauth
55
58
@endif
56
59
</div >
57
- <div class =" column" style =" margin-top : 10 % " >
60
+ <div class =" column" style =" margin-top : 15 % " >
58
61
<!-- Your Image Here -->
59
62
@if (file_exists (base_path (" littlelink/images/avatar.png" )) )
60
63
<
img alt =
" avatar" src =
" {{ asset (' littlelink/images/avatar.png' ) } }" srcset =
" {{ asset (' littlelink/images/[email protected] 2x' ) } }" width =
" 128px" height =
" 128px" >
61
64
@else
62
- <div class =" parent fadein" >
63
- <img alt = " logo " class =" image1 rotate" src =" {{ asset (' littlelink/images/just-gear.svg' ) } }" alt =" Logo" ></ img >
64
- < img alt = " logo " class = " image2 " src = " {{ asset ( ' littlelink/images/just-ll.svg ' ) } } " alt = " Logo " ></ img >
65
- </div >
65
+ <div class =" logo-container fadein" >
66
+ <img class =" rotate" src =" {{ asset (' littlelink/images/just-gear.svg' ) } }" alt =" Logo" style = " width : 150 px ; height : 150 px ; " >
67
+ < div class = " logo-centered " >l</ div >
68
+ </div >
66
69
@endif
67
70
68
71
<!-- Your Name -->
You can’t perform that action at this time.
0 commit comments