diff options
author | uPagge <upagge@mail.ru> | 2021-01-11 23:25:22 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2021-01-11 23:25:22 +0300 |
commit | 3fb781c0e60aa26c4cfafdd179bb163c1573a572 (patch) | |
tree | 915c4046f5917ea45ba7f6ddec6d6790ea382c5c /assets/css | |
parent | 63aed54237e3723c9c818b9bb9ee2e60e655a67b (diff) |
admonition change
img wide change
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_partial/_single/_admonition.scss | 5 | ||||
-rw-r--r-- | assets/css/_ublogger.scss | 16 | ||||
-rw-r--r-- | assets/css/_ublogger_media.scss | 5 |
3 files changed, 10 insertions, 16 deletions
diff --git a/assets/css/_partial/_single/_admonition.scss b/assets/css/_partial/_single/_admonition.scss index a2e2404..07f66ae 100644 --- a/assets/css/_partial/_single/_admonition.scss +++ b/assets/css/_partial/_single/_admonition.scss @@ -40,6 +40,7 @@ } i.details-icon { + color: map-get($admonition-color-map, 'note'); position: absolute; top: .7rem; right: .3rem; @@ -52,6 +53,10 @@ i.icon { color: $color; } + + i.details-icon { + color: $color; + } } } diff --git a/assets/css/_ublogger.scss b/assets/css/_ublogger.scss index ca29e0f..f4d624a 100644 --- a/assets/css/_ublogger.scss +++ b/assets/css/_ublogger.scss @@ -305,16 +305,6 @@ a.post-tag-summary { .single { - div.img-full { - img { - width: 100%; - padding-top: 10px; - } - - margin-left: -60px; - margin-right: -60px; - } - blockquote { margin: auto; background: none; @@ -924,10 +914,14 @@ figure { } .split-post { - .code-header, .table-wrapper { + .code-header, .table-wrapper, .admonition { border-radius: 0 !important; } + .details-icon { + display: none; + } + img { width: 100%; } diff --git a/assets/css/_ublogger_media.scss b/assets/css/_ublogger_media.scss index 5e83d3f..7713c81 100644 --- a/assets/css/_ublogger_media.scss +++ b/assets/css/_ublogger_media.scss @@ -223,11 +223,6 @@ .single { border-radius: 0; - - div.img-full { - margin-left: -10px; - margin-right: -10px; - } } .featured-image-preview, .featured-image { |