diff options
author | uPagge <git@upagge.ru> | 2021-01-25 21:12:11 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-01-25 21:12:11 +0300 |
commit | e86178a33d283009743dbcd052124684b058077b (patch) | |
tree | 94ebc9cb28dca618d8293f6fe1b8188e02d38bcb /assets/css | |
parent | ed61dde62e32236e9ccf0c4dd6c3aeed4d269f21 (diff) |
css hero fix
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_ublogger.scss | 30 | ||||
-rw-r--r-- | assets/css/_ublogger_media.scss | 3 |
2 files changed, 22 insertions, 11 deletions
diff --git a/assets/css/_ublogger.scss b/assets/css/_ublogger.scss index 6f532a0..56720f7 100644 --- a/assets/css/_ublogger.scss +++ b/assets/css/_ublogger.scss @@ -464,7 +464,7 @@ a.post-tag-summary { border-radius: 20px 20px 0 0; [theme=dark] & { - background: #1B1B1C; + background: $global-background-secondary-color-dark; } .single-title { @@ -644,16 +644,7 @@ footer { } } -.theme-hero { - .header-post { - max-width: none; - margin: 0 !important; - background: #FFFFFF; - display: block; - padding-bottom: 80px; - box-sizing: border-box; - } -} + .theme-classic, .theme-wide, .theme-full { .header-post { @@ -950,10 +941,18 @@ figure { .theme-hero { .header-post { + max-width: none; + margin: 0 !important; border-bottom: 1px solid #CDD2D4; padding-bottom: 80px; background-color: #fff; position: relative; + display: block; + box-sizing: border-box; + + [theme=dark] & { + background-color: $global-background-secondary-color-dark; + } } } @@ -1008,6 +1007,10 @@ figure { color: #000000; letter-spacing: 0.2px; line-height: 32px; + + [theme=dark] & { + color: $global-font-color-dark; + } } .hero-text-container p { @@ -1032,6 +1035,10 @@ figure { letter-spacing: -0.2px; text-align: left; line-height: 24px; + + [theme=dark] & { + color: $global-font-color-dark; + } } .hero-author .hero-author-profile .hero-author-profile-title { @@ -1115,6 +1122,7 @@ figure { margin-bottom: 4rem; border: 2.5px dashed $global-color-accent; padding: 10px; + [theme=dark] & { background: #dddddd; } diff --git a/assets/css/_ublogger_media.scss b/assets/css/_ublogger_media.scss index 5b2278c..0937032 100644 --- a/assets/css/_ublogger_media.scss +++ b/assets/css/_ublogger_media.scss @@ -290,6 +290,9 @@ .cat-cit { padding: 0; border: 0; + [theme=dark] & { + background: initial; + } } .cat-cit:before { |