Merge branch 'svelte' of https://github.com/afnzmn/revanced-website into svelte

This commit is contained in:
afnzmn 2022-07-18 20:17:37 -04:00
commit e47aba921e
3 changed files with 13 additions and 12 deletions

View File

@ -4,12 +4,11 @@
export let href = '#'; export let href = '#';
</script> </script>
<button class={type}>
<a {href}> <a {href}>
<button class={type}>
<slot/> <slot/>
</a>
</button> </button>
</a>
<style> <style>
a { a {

View File

@ -5,7 +5,11 @@
</script> </script>
<li class:selected="{current === true}"><a {href}><slot/></a></li> <a {href}>
<li class:selected="{current === true}">
<slot/>
</li>
</a>
<style> <style>
li { li {
@ -17,7 +21,6 @@
margin-left: 7x; margin-left: 7x;
margin-right: 7px; margin-right: 7px;
align-items: center; align-items: center;
user-select: none;
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.1s; transition-duration: 0.1s;
} }

View File

@ -12,10 +12,9 @@
<style> <style>
.social-host { .social-host {
justify-content: space-between; justify-content: space-between;
position: sticky; position: absolute;
align-items: center; align-items: center;
bottom:0; bottom: 3rem;
padding-left: 5rem; left: 5rem;
padding-bottom: 3rem;
} }
</style> </style>