pref(button): update styles
This commit is contained in:
parent
cdb5102710
commit
4919cd13d3
@ -1,13 +1,12 @@
|
|||||||
@import url("https://cdn.staticfile.org/hack-font/3.3.0/web/hack.min.css");
|
@import url("https://cdn.staticfile.org/hack-font/3.3.0/web/hack.min.css");
|
||||||
|
|
||||||
* {
|
* {
|
||||||
padding: 0;
|
--at-apply: p-0 m-0 box-border;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "Hack", Inter, ui-monospace, SFMono-Regular,
|
font-family: "Hack", Inter, ui-monospace, SFMono-Regular, Menlo, Monaco,
|
||||||
Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
--uno: flex items-center justify-center min-h-screen min-w-screen text-4
|
--at-apply: flex items-center justify-center min-h-screen min-w-screen text-4
|
||||||
leading-24px font-synthesis-none select-none;
|
leading-24px font-synthesis-none select-none;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<a
|
<a target="_blank" :href="to">
|
||||||
class="bg-white border-solid border-2 border-#dcdfe6 c-black decoration-none flex items-center rounded text-4 h-11 px-3 shadow"
|
|
||||||
target="_blank"
|
|
||||||
:href="to"
|
|
||||||
>
|
|
||||||
<div v-if="icon" :class="icon" class="h-24px w-24px" />
|
<div v-if="icon" :class="icon" class="h-24px w-24px" />
|
||||||
<div class="ml-2" />
|
<div class="ml-2" />
|
||||||
<slot />
|
<slot />
|
||||||
@ -17,4 +13,8 @@ defineProps<{
|
|||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped>
|
||||||
|
a {
|
||||||
|
--at-apply: bg-white active:bg-neutral-200 hover:border-3 border-solid border-2 border-light-950 c-coolgray-700 decoration-none flex items-center rounded text-4 h-11 px-3 shadow;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user