diff options
author | Alexandre Negrel <negrel.dev@protonmail.com> | 2020-07-05 00:27:04 +0300 |
---|---|---|
committer | Alexandre Negrel <negrel.dev@protonmail.com> | 2020-07-05 00:27:04 +0300 |
commit | 873480caf66b9cfe8b67df317386873c4e67924c (patch) | |
tree | 4cdb38106ae86ab20eed0f515fe78334b7bd254b /assets | |
parent | e155b17bf695a98f8007449b06d4f4e1e5d78853 (diff) |
adding responsive variants to absolute center class and updating dependencies
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/_position.sass | 11 | ||||
-rw-r--r-- | assets/sass/_theme.sass | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/assets/sass/_position.sass b/assets/sass/_position.sass index 963f835..f4aa69e 100644 --- a/assets/sass/_position.sass +++ b/assets/sass/_position.sass @@ -1,7 +1,8 @@ // Position class are generated by the position generator -.absolute-center - @apply .absolute - @apply .top-1/2 - @apply .left-1/2 - transform: translate(-50%, -50%) +@variants responsive + .absolute-center + @apply .absolute + @apply .top-1/2 + @apply .left-1/2 + transform: translate(-50%, -50%) diff --git a/assets/sass/_theme.sass b/assets/sass/_theme.sass index 276f0ea..84367ea 100644 --- a/assets/sass/_theme.sass +++ b/assets/sass/_theme.sass @@ -22,6 +22,9 @@ h2 h3 @apply text-lg my-2 +hr + @apply border-grey-700 + a @apply underline |