Move CSS into a separate file, quicker to build

This commit is contained in:
Oliver Davies 2019-06-11 21:14:35 +01:00
parent c6bd4e5cd1
commit 444a7296bd
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,36 @@
@tailwind base;
html {
line-height: 1.15;
}
@tailwind components;
h1,
h2 {
@apply font-bold
}
h2 {
@apply text-2xl
}
.btn {
@apply text-sm font-thin antialiased text-white px-4 py-3 no-underline rounded mx-1 bg-blue-300;
&:hover,
&:focus {
@apply bg-blue-400
}
}
.btn.is-secondary {
@apply bg-gray-500;
&:hover,
&:focus {
@apply bg-gray-600
}
}
@tailwind utilities;