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

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/shortcodes/notice.scss')
-rw-r--r--assets/sass/shortcodes/notice.scss66
1 files changed, 38 insertions, 28 deletions
diff --git a/assets/sass/shortcodes/notice.scss b/assets/sass/shortcodes/notice.scss
index e6291c5..eb2dff9 100644
--- a/assets/sass/shortcodes/notice.scss
+++ b/assets/sass/shortcodes/notice.scss
@@ -9,38 +9,48 @@ $color_dark : #343a40 ;
$color_white : #fff ;
$color_transparent : transparent ;
+div.notices {
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+}
- div.notices p {
- /*box-shadow: inset 4px 0 0 black;*/
- /*border-radius: .2rem;*/
- background: white;
- padding: .5rem 1rem .5rem 1rem;
- margin-top: 0px;
- box-sizing: border-box;
- box-shadow: inset 4px 0 0 black;
- background-color: lighten(black,90%);
- font-size: smaller;
- }
+div.notices > * {
+ background: white;
+ margin-top: 0px!important;
+ margin-bottom: 0px!important;
+ box-sizing: border-box;
+ box-shadow: inset 4px 0 0 black;
+ background-color: lighten(black,90%);
+ font-size: smaller;
+}
+div.notices > *:not(ul) {
+ /*box-shadow: inset 4px 0 0 black;*/
+ /*border-radius: .2rem;*/
+ padding: .5rem 1rem .5rem 1rem;
+}
+div.notices > ul {
+
+}
- div.notices label{
- font-size: 0.5em;
- position: absolute;
- margin-left: 0em;
- margin-top: -1.8em;
- font-weight: bold;
- font-variant: small-caps;
- letter-spacing: 0.6em;
- }
+div.notices label{
+ font-size: 0.5em;
+ position: absolute;
+ margin-left: 0em;
+ margin-top: -1.8em;
+ font-weight: bold;
+ font-variant: small-caps;
+ letter-spacing: 0.6em;
+}
- div.notices.note {
- p {
- box-shadow: inset 4px 0 0 $color_primary;
- background: transparentize($color_primary, 0.95);
- color: darken($color_primary,20%) !important;
- }
- label{color: $color_primary;}
+div.notices.note {
+ p {
+ box-shadow: inset 4px 0 0 $color_primary;
+ background: transparentize($color_primary, 0.95);
+ color: darken($color_primary,20%) !important;
}
+ label{color: $color_primary;}
+}
div.notices.primary {
p {
@@ -79,7 +89,7 @@ div.notices.danger {
}
div.notices.warning {
- p {
+ >* {
box-shadow: inset 4px 0 0 $color_warning;
background: transparentize($color_warning, 0.95);
color: darken($color_warning,20%) !important;