mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-01 23:24:30 +02:00
Merge branch 'svelte' of https://github.com/afnzmn/revanced-website into svelte
This commit is contained in:
commit
e47aba921e
@ -4,12 +4,11 @@
|
||||
export let href = '#';
|
||||
</script>
|
||||
|
||||
|
||||
<button class={type}>
|
||||
<a {href}>
|
||||
<slot/>
|
||||
</a>
|
||||
</button>
|
||||
<a {href}>
|
||||
<button class={type}>
|
||||
<slot/>
|
||||
</button>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
a {
|
||||
|
@ -5,7 +5,11 @@
|
||||
|
||||
</script>
|
||||
|
||||
<li class:selected="{current === true}"><a {href}><slot/></a></li>
|
||||
<a {href}>
|
||||
<li class:selected="{current === true}">
|
||||
<slot/>
|
||||
</li>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
li {
|
||||
@ -17,7 +21,6 @@
|
||||
margin-left: 7x;
|
||||
margin-right: 7px;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
|
@ -12,10 +12,9 @@
|
||||
<style>
|
||||
.social-host {
|
||||
justify-content: space-between;
|
||||
position: sticky;
|
||||
position: absolute;
|
||||
align-items: center;
|
||||
bottom:0;
|
||||
padding-left: 5rem;
|
||||
padding-bottom: 3rem;
|
||||
bottom: 3rem;
|
||||
left: 5rem;
|
||||
}
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user