Add postcss-import, re-organise CSS files
This commit is contained in:
parent
70f547ab06
commit
fac991fb41
10 changed files with 39 additions and 11 deletions
8
src/assets/css/components/footer.css
Normal file
8
src/assets/css/components/footer.css
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#footer a {
|
||||
@apply text-white no-underline border-b border-dotted border-white;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
@apply border-none
|
||||
}
|
||||
}
|
||||
8
src/assets/css/components/main.css
Normal file
8
src/assets/css/components/main.css
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#main a {
|
||||
@apply text-blue-300 no-underline border-b border-blue-100 border-dotted;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
@apply text-blue-100 border-solid
|
||||
}
|
||||
}
|
||||
4
src/assets/css/components/skip-link.css
Normal file
4
src/assets/css/components/skip-link.css
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.skip-link:focus {
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
3
src/assets/css/custom-components.css
Normal file
3
src/assets/css/custom-components.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@import 'components/footer.css';
|
||||
@import 'components/main.css';
|
||||
@import 'components/skip-link.css';
|
||||
7
src/assets/css/tailwind.css
Normal file
7
src/assets/css/tailwind.css
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
@import 'tailwindcss/base';
|
||||
|
||||
@import 'tailwindcss/components';
|
||||
|
||||
@import 'custom-components';
|
||||
|
||||
@import 'tailwindcss/utilities';
|
||||
Reference in a new issue