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

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/pages/_list.scss')
-rw-r--r--assets/sass/pages/_list.scss38
1 files changed, 36 insertions, 2 deletions
diff --git a/assets/sass/pages/_list.scss b/assets/sass/pages/_list.scss
index 0fd3049..d8f4a5b 100644
--- a/assets/sass/pages/_list.scss
+++ b/assets/sass/pages/_list.scss
@@ -10,12 +10,46 @@
#list-menu {
@include themify($themes) {
- border-right: 1px solid themed('border-line-color');
+ &[data-dir="ltr"] {
+ border-right: 1px solid themed('border-line-color');
+ }
+
+ &[data-dir="rtl"] {
+ border-left: 1px solid themed('border-line-color');
+ }
}
}
#list-side {
@include themify($themes) {
- border-left: 1px solid themed('border-line-color');
+ &[data-dir="ltr"] {
+ border-left: 1px solid themed('border-line-color');
+ }
+
+ &[data-dir="rtl"] {
+ border-right: 1px solid themed('border-line-color');
+ }
+ }
+}
+
+.list-section {
+ &__item {
+ margin: auto;
+ padding: 0.25rem 0;
+ width: 95%;
+ border-radius: 0.2rem;
+
+ &--link {
+ display: inline-block;
+ font-size: 1rem;
+ font-family: $title-font;
+ margin-top: 0.5rem;
+ margin-bottom: 0.125rem;
+ }
+
+ &--desc {
+ font-size: 1rem;
+ margin: 0.25rem 0;
+ }
}
} \ No newline at end of file