.notice {
|
border-radius: 0.2rem;
|
position: relative;
|
margin: 2rem 0;
|
padding: 0 0.75rem;
|
overflow: auto;
|
|
.notice-title {
|
position: relative;
|
font-weight: 700;
|
margin: 0 -0.75rem;
|
padding: 0.2rem 3.5rem;
|
border-bottom: 1px solid var(--bg-color);
|
|
i {
|
position: absolute;
|
top: 50%;
|
left: 1.8rem;
|
transform: translate(-50%, -50%);
|
}
|
}
|
|
.notice-content {
|
display: block;
|
margin: 2rem 2rem;
|
}
|
}
|
|
.notice.note {
|
background-color: var(--bg-color-notice-note-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-note-title);
|
|
i {
|
color: var(--fg-color-notice-note-icon);
|
}
|
}
|
}
|
|
.notice.tip {
|
background-color: var(--bg-color-notice-tip-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-tip-title);
|
|
i {
|
color: var(--fg-color-notice-tip-icon);
|
}
|
}
|
}
|
|
.notice.example {
|
background-color: var(--bg-color-notice-example-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-example-title);
|
|
i {
|
color: var(--fg-color-notice-example-icon);
|
}
|
}
|
}
|
|
.notice.question {
|
background-color: var(--bg-color-notice-question-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-question-title);
|
|
i {
|
color: var(--fg-color-notice-question-icon);
|
}
|
}
|
}
|
|
.notice.info {
|
background-color: var(--bg-color-notice-info-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-info-title);
|
|
i {
|
color: var(--fg-color-notice-info-icon);
|
}
|
}
|
}
|
|
.notice.warning {
|
background-color: var(--bg-color-notice-warning-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-warning-title);
|
|
i {
|
color: var(--fg-color-notice-warning-icon);
|
}
|
}
|
}
|
|
.notice.error {
|
background-color: var(--bg-color-notice-error-content);
|
|
.notice-title {
|
background-color: var(--bg-color-notice-error-title);
|
|
i {
|
color: var(--fg-color-notice-error-icon);
|
}
|
}
|
}
|