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/components/_summary.scss')
-rw-r--r--assets/sass/components/_summary.scss13
1 files changed, 8 insertions, 5 deletions
diff --git a/assets/sass/components/_summary.scss b/assets/sass/components/_summary.scss
index 50f64e2..83100c4 100644
--- a/assets/sass/components/_summary.scss
+++ b/assets/sass/components/_summary.scss
@@ -1,8 +1,7 @@
.summary-card {
- padding: 0.5rem;
+ padding: 1rem;
padding-bottom: 0;
- margin-top: 0.5rem;
- margin-bottom: 2rem;
+ margin: 1.5rem 0;
position: relative;
@include themify($themes) {
@@ -11,13 +10,14 @@
}
.title {
+ text-align: center;
a {
font-family: $title-font;
font-weight: 700;
word-break: break-word;
@include themify($themes) {
- color: themed('title-color');
+ color: themed('link');
@include on-event {
color: themed('link-hover');
}
@@ -26,8 +26,11 @@
}
.subtitle {
+ padding: 1rem 0;
+
@include flexbox();
@include align-items(center);
+ @include justify-content(center);
@include themify($themes) {
color: themed('meta-color');
}
@@ -78,7 +81,7 @@
height: 100%;
width: auto;
margin: 0 auto;
- padding: 1rem;
+ padding: 1rem 0;
padding-bottom: 0;
}
}