Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2020-07-05 00:27:04 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2020-07-05 00:27:04 +0300
commit873480caf66b9cfe8b67df317386873c4e67924c (patch)
tree4cdb38106ae86ab20eed0f515fe78334b7bd254b /assets
parente155b17bf695a98f8007449b06d4f4e1e5d78853 (diff)
adding responsive variants to absolute center class and updating dependencies
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_position.sass11
-rw-r--r--assets/sass/_theme.sass3
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