Change selection color

This commit is contained in:
Ivan R. 2023-10-01 11:21:33 +05:00
parent 73f95fb831
commit 7c0039902b
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C

View file

@ -31,7 +31,8 @@ const { title } = Astro.props;
<style is:global>
:root {
--link: #b283e5;
--bg: #13151a;
--accent: #b283e5;
}
@font-face {
font-family: "Lora";
@ -46,11 +47,15 @@ const { title } = Astro.props;
}
html {
font-family: "Lora", system-ui, sans-serif;
background: #13151A;
background-color: var(--bg);
background-size: 224px;
color: white;
font-size: 16px;
}
*::selection {
background-color: var(--accent);
color: var(--bg);
}
body {
display: flex;
justify-content: center;
@ -61,7 +66,7 @@ const { title } = Astro.props;
width: 100%;
}
a {
color: var(--link);
color: var(--accent);
text-decoration: none;
}
a:hover {