mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Updated CSS for social icons
This commit is contained in:
parent
34133543f1
commit
1d48f8706b
8
littlelink/css/animations.css
vendored
8
littlelink/css/animations.css
vendored
@ -52,7 +52,7 @@
|
|||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
/* (Also apply to icon) */
|
/* (Also apply to icon) */
|
||||||
|
|
||||||
.button-hover, .credit-hover{
|
.button-hover, .credit-hover, .social-hover{
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
-webkit-transform:perspective(1px) translateZ(0);
|
-webkit-transform:perspective(1px) translateZ(0);
|
||||||
transform:perspective(1px) translateZ(0);
|
transform:perspective(1px) translateZ(0);
|
||||||
@ -62,9 +62,9 @@
|
|||||||
-webkit-transition-property:transform;
|
-webkit-transition-property:transform;
|
||||||
transition-property:transform
|
transition-property:transform
|
||||||
}
|
}
|
||||||
.button-hover:active,.credit-hover:active,
|
.button-hover:active,.credit-hover:active, .social-hover:active,
|
||||||
.button-hover:focus,.credit-hover:focus,
|
.button-hover:focus,.credit-hover:focus, .social-hover:focus,
|
||||||
.button-hover:hover,.credit-hover:hover{
|
.button-hover:hover,.credit-hover:hover, .social-hover:hover{
|
||||||
-webkit-transform:scale(1.1);
|
-webkit-transform:scale(1.1);
|
||||||
transform:scale(1.1)
|
transform:scale(1.1)
|
||||||
}
|
}
|
||||||
|
11
littlelink/css/brands.css
vendored
11
littlelink/css/brands.css
vendored
@ -23,6 +23,7 @@
|
|||||||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
|
|
||||||
- Rounded user avatars
|
- Rounded user avatars
|
||||||
|
- Social icons
|
||||||
- Buttons
|
- Buttons
|
||||||
- Brand Styles
|
- Brand Styles
|
||||||
|
|
||||||
@ -37,6 +38,16 @@
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Social icon
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
|
||||||
|
.social-icon {
|
||||||
|
font-size: 32px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.social-icon-div {
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Buttons
|
/* Buttons
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
7
littlelink/css/skeleton-auto.css
vendored
7
littlelink/css/skeleton-auto.css
vendored
@ -138,6 +138,13 @@ a:hover {
|
|||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.social-icon{color:#fff;}
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
.social-icon{color:#222;}
|
||||||
|
}
|
||||||
|
|
||||||
/* Code
|
/* Code
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
code {
|
code {
|
||||||
|
@ -115,12 +115,16 @@ return $path;}
|
|||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
|
||||||
@if ($color_scheme_override == 'dark')
|
@if ($color_scheme_override == 'dark')
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
||||||
|
<style>.social-icon{color:#fff;}</style>
|
||||||
@elseif ($color_scheme_override == 'light')
|
@elseif ($color_scheme_override == 'light')
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}">
|
||||||
|
<style>.social-icon{color:#222;}</style>
|
||||||
@elseif (config('advanced-config.theme') == 'dark')
|
@elseif (config('advanced-config.theme') == 'dark')
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
||||||
|
<style>.social-icon{color:#fff;}</style>
|
||||||
@elseif (config('advanced-config.theme') == 'light')
|
@elseif (config('advanced-config.theme') == 'light')
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}">
|
||||||
|
<style>.social-icon{color:#222;}</style>
|
||||||
@else
|
@else
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-auto.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-auto.css') }}">
|
||||||
@endif
|
@endif
|
||||||
@ -261,11 +265,10 @@ function get_operating_system() {
|
|||||||
<p style="width:50%;min-width:300px;" class="fadein">@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif</p>
|
<p style="width:50%;min-width:300px;" class="fadein">@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif</p>
|
||||||
|
|
||||||
<!-- Icons -->
|
<!-- Icons -->
|
||||||
<style>.social-icon{font-size:32px;padding:10px;padding-bottom:30px;color:#fff;}</style>
|
|
||||||
@php $icons = DB::table('links')->where('user_id', 1)->where('button_id', 94)->get(); @endphp
|
@php $icons = DB::table('links')->where('user_id', 1)->where('button_id', 94)->get(); @endphp
|
||||||
<div class="row fadein">
|
<div class="row fadein social-icon-div">
|
||||||
@foreach($icons as $icon)
|
@foreach($icons as $icon)
|
||||||
<a href="{{$icon->link}}"><i class="social-icon fa-brands fa-{{$icon->title}}"></i></a>
|
<a class="social-hover social-link" href="{{$icon->link}}"><i class="social-icon fa-brands fa-{{$icon->title}}"></i></a>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user