2022-08-07 19:05:50 +05:30
|
|
|
<script lang="ts">
|
2022-08-08 10:50:03 +05:30
|
|
|
export let url: any;
|
|
|
|
export let classes: string;
|
2022-08-07 19:05:50 +05:30
|
|
|
</script>
|
|
|
|
|
2022-08-08 10:50:03 +05:30
|
|
|
<a href={url} class={classes}>
|
|
|
|
<slot />
|
2022-08-07 19:05:50 +05:30
|
|
|
</a>
|
|
|
|
|
|
|
|
<style>
|
2022-08-08 10:50:03 +05:30
|
|
|
.web,
|
2022-08-07 19:05:50 +05:30
|
|
|
.email,
|
|
|
|
.picture,
|
|
|
|
.pgp {
|
2022-08-08 13:16:52 +05:30
|
|
|
background-color: var(--alt);
|
|
|
|
color: var(--alt-text);
|
2022-08-07 19:05:50 +05:30
|
|
|
font-size: 20px;
|
|
|
|
transition: all 0.25s;
|
2022-08-08 13:16:52 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.web:hover,
|
|
|
|
.email:hover,
|
|
|
|
.picture:hover,
|
|
|
|
.pgp:hover {
|
|
|
|
background-color: var(--accent);
|
2022-08-08 13:16:52 +05:30
|
|
|
color: var(--alt);
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
2022-08-08 10:50:03 +05:30
|
|
|
.matrixcolored {
|
2022-08-08 13:16:52 +05:30
|
|
|
background-color: var(--alt);
|
|
|
|
color: var(--alt-text);
|
2022-08-07 19:05:50 +05:30
|
|
|
font-size: 20px;
|
2022-08-08 13:16:52 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.discordcolored {
|
|
|
|
background-color: #5865f2;
|
2022-08-08 13:16:52 +05:30
|
|
|
color: #fff;
|
2022-08-07 19:05:50 +05:30
|
|
|
font-size: 20px;
|
2022-08-08 13:16:52 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
2022-08-11 18:00:23 +05:30
|
|
|
.gitcolored {
|
2022-08-12 16:45:39 +05:30
|
|
|
background-color: #f05032;
|
2022-08-11 18:00:23 +05:30
|
|
|
color: #fff;
|
|
|
|
font-size: 20px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2022-08-08 10:50:03 +05:30
|
|
|
a {
|
2022-08-07 19:05:50 +05:30
|
|
|
border: none;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 0.5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: var(--font-primary);
|
|
|
|
color: var(--secondary);
|
|
|
|
text-decoration: none;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
2022-08-12 16:45:39 +05:30
|
|
|
</style>
|