diff --git a/resources/css/app.css b/resources/css/app.css index 02131b4..1d1ed3e 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -1,10 +1,32 @@ @tailwind base; +@media (min-height: theme('screens.md')) { + main { + @apply flex flex-col justify-center h-full + } +} + @tailwind components; -@import 'components/balloon.css'; -@import 'components/button.css'; -@import 'components/main.css'; -@import 'components/markup.css'; +.tw-bg-balloon { + background-image: url(/themes/dcb2017/images/dcb-bg.jpg) +} + +.tw-button { + @apply block uppercase font-bold text-lg py-3 px-5 text-white no-underline bg-black !important; + + @screen md { + @apply w-1/2 inline-flex items-center justify-center mx-2 !important + } + + &:hover, + &:focus { + @apply bg-green-600 text-white !important + } +} + +.markup { + @apply leading-relaxed +} @tailwind utilities; diff --git a/resources/css/components/balloon.css b/resources/css/components/balloon.css deleted file mode 100644 index c1cf789..0000000 --- a/resources/css/components/balloon.css +++ /dev/null @@ -1,3 +0,0 @@ -.tw-bg-balloon { - background-image: url(/themes/dcb2017/images/dcb-bg.jpg); -} diff --git a/resources/css/components/button.css b/resources/css/components/button.css deleted file mode 100644 index d88207f..0000000 --- a/resources/css/components/button.css +++ /dev/null @@ -1,11 +0,0 @@ -.tw-button { - @apply block uppercase font-bold text-lg py-3 px-5 text-white no-underline bg-black !important; - @screen md { - @apply w-1/2 inline-flex items-center justify-center mx-2 !important - } - - &:hover, - &:focus { - @apply bg-green-600 text-white !important - } -} diff --git a/resources/css/components/main.css b/resources/css/components/main.css deleted file mode 100644 index a60122e..0000000 --- a/resources/css/components/main.css +++ /dev/null @@ -1,5 +0,0 @@ -@media (min-height: theme('screens.md')) { - main { - @apply flex flex-col justify-center h-full - } -} diff --git a/resources/css/components/markup.css b/resources/css/components/markup.css deleted file mode 100644 index a4015da..0000000 --- a/resources/css/components/markup.css +++ /dev/null @@ -1,3 +0,0 @@ -.markup { - @apply leading-relaxed -}