Add custom styling for html, body, and a tags

This commit is contained in:
Maciej Pędzich 2023-01-07 14:57:20 +01:00
parent ad709430fe
commit 38d1c55974

20
src/styles/global.css Normal file
View File

@ -0,0 +1,20 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
html,
body {
@apply w-screen h-screen overflow-x-hidden;
}
body {
@apply m-0 p-0;
}
a {
@apply text-primary hover:text-primary-focus focus:text-primary-focus;
}
li > a {
@apply hover:text-inherit focus:text-primary-content focus:bg-primary;
}