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

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2020-11-05 11:35:07 +0300
committerthingsym <thingsym@gmail.com>2020-11-05 11:35:07 +0300
commit96692aaad0a7b8ff3bf70c28684f462e279e0bf1 (patch)
tree3830b81c20866d6d0c4a814d8a6267525b069fc6 /src
parente598a98964108877bc2b0f68afd602fd1d3f2dd1 (diff)
fix: fix link style with Alert panel
Diffstat (limited to 'src')
-rw-r--r--src/scss/_component.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/scss/_component.scss b/src/scss/_component.scss
index ace1d28..59c9013 100644
--- a/src/scss/_component.scss
+++ b/src/scss/_component.scss
@@ -72,6 +72,11 @@ figure > figcaption {
background: var(--panel-background-color, unset);
border: 1px solid;
border-color: var(--panel-border-color, transparent);
+
+ a {
+ text-decoration: underline;
+ font-weight: bold;
+ }
}
.panel-primary {
@@ -80,22 +85,33 @@ figure > figcaption {
.panel-notice {
--panel-font-color: #fff;
--panel-background-color: #4ba0e1;
+ --custom-link-text-color: #fff;
+ --custom-link-text-hover-color: #fff;
+
}
.panel-success {
--panel-font-color: #fff;
--panel-background-color: #609f43;
+ --custom-link-text-color: #fff;
+ --custom-link-text-hover-color: #fff;
}
.panel-caution {
--panel-font-color: #fff;
--panel-background-color: #de776d;
+ --custom-link-text-color: #fff;
+ --custom-link-text-hover-color: #fff;
}
.panel-warning {
--panel-font-color: #fff;
--panel-background-color: #e67e22;
+ --custom-link-text-color: #fff;
+ --custom-link-text-hover-color: #fff;
}
.panel-danger {
--panel-font-color: #fff;
--panel-background-color: #ce3426;
+ --custom-link-text-color: #fff;
+ --custom-link-text-hover-color: #fff;
}
.panel-header {}