| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- .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 $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: $bg-color-notice-note-content;
- .notice-title {
- background-color: $bg-color-notice-note-title;
- i {
- color: $fg-color-notice-note-icon;
- }
- }
- }
- .notice.tip {
- background-color: $bg-color-notice-tip-content;
- .notice-title {
- background-color: $bg-color-notice-tip-title;
- i {
- color: $fg-color-notice-tip-icon;
- }
- }
- }
- .notice.example {
- background-color: $bg-color-notice-example-content;
- .notice-title {
- background-color: $bg-color-notice-example-title;
- i {
- color: $fg-color-notice-example-icon;
- }
- }
- }
- .notice.question {
- background-color: $bg-color-notice-question-content;
- .notice-title {
- background-color: $bg-color-notice-question-title;
- i {
- color: $fg-color-notice-question-icon;
- }
- }
- }
- .notice.info {
- background-color: $bg-color-notice-info-content;
- .notice-title {
- background-color: $bg-color-notice-info-title;
- i {
- color: $fg-color-notice-info-icon;
- }
- }
- }
- .notice.warning {
- background-color: $bg-color-notice-warning-content;
- .notice-title {
- background-color: $bg-color-notice-warning-title;
- i {
- color: $fg-color-notice-warning-icon;
- }
- }
- }
- .notice.error {
- background-color: $bg-color-notice-error-content;
- .notice-title {
- background-color: $bg-color-notice-error-title;
- i {
- color: $fg-color-notice-error-icon;
- }
- }
- }
|