diff --git a/littlelink/css/animations.css b/littlelink/css/animations.css index c88c8d1..d420bbe 100644 --- a/littlelink/css/animations.css +++ b/littlelink/css/animations.css @@ -52,7 +52,7 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– */ /* (Also apply to icon) */ -.button-hover, .credit-hover{ +.button-hover, .credit-hover, .social-hover{ display:inline-block; -webkit-transform:perspective(1px) translateZ(0); transform:perspective(1px) translateZ(0); @@ -62,9 +62,9 @@ -webkit-transition-property:transform; transition-property:transform } -.button-hover:active,.credit-hover:active, -.button-hover:focus,.credit-hover:focus, -.button-hover:hover,.credit-hover:hover{ +.button-hover:active,.credit-hover:active, .social-hover:active, +.button-hover:focus,.credit-hover:focus, .social-hover:focus, +.button-hover:hover,.credit-hover:hover, .social-hover:hover{ -webkit-transform:scale(1.1); transform:scale(1.1) } diff --git a/littlelink/css/brands.css b/littlelink/css/brands.css index b4bf88c..dd24d18 100644 --- a/littlelink/css/brands.css +++ b/littlelink/css/brands.css @@ -23,6 +23,7 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– - Rounded user avatars +- Social icons - Buttons - Brand Styles @@ -37,6 +38,16 @@ border-radius: 50%; } +/* Social icon +–––––––––––––––––––––––––––––––––––––––––––––––––– */ + +.social-icon { + font-size: 32px; + padding: 10px; +} +.social-icon-div { + padding-bottom: 30px; +} /* Buttons –––––––––––––––––––––––––––––––––––––––––––––––––– */ diff --git a/littlelink/css/skeleton-auto.css b/littlelink/css/skeleton-auto.css index ef9567b..8a869e1 100644 --- a/littlelink/css/skeleton-auto.css +++ b/littlelink/css/skeleton-auto.css @@ -138,6 +138,13 @@ a:hover { padding: 0 10px; } + @media (prefers-color-scheme: dark) { + .social-icon{color:#fff;} + } + @media (prefers-color-scheme: light) { + .social-icon{color:#222;} + } + /* Code –––––––––––––––––––––––––––––––––––––––––––––––––– */ code { diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 6cf1c2e..56f28b8 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -115,12 +115,16 @@ return $path;} @if ($color_scheme_override == 'dark') + @elseif ($color_scheme_override == 'light') + @elseif (config('advanced-config.theme') == 'dark') + @elseif (config('advanced-config.theme') == 'light') + @else @endif @@ -261,11 +265,10 @@ function get_operating_system() {

@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif

- @php $icons = DB::table('links')->where('user_id', 1)->where('button_id', 94)->get(); @endphp -
+
@foreach($icons as $icon) - + @endforeach