Skip to content

Commit a26a2c6

Browse files
committed
update style
1 parent 1d485fb commit a26a2c6

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

blog/src/css/customTheme.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,3 +479,33 @@ a:hover {
479479
transform: scale(1.2);
480480
}
481481
}
482+
483+
/* Announcement Bar */
484+
div[class*="announcementBar_"] {
485+
height: 40px;
486+
}
487+
488+
div[class*="announcementBarContent"] {
489+
font-size: 15px !important;
490+
font-weight: 500;
491+
}
492+
493+
div[class*="announcementBarPlaceholder"] {
494+
height: 40px;
495+
}
496+
497+
button[class*="announcementBarClose"] {
498+
height: 40px !important;
499+
}
500+
501+
@media screen and (max-width: 996px) {
502+
div[class*="announcementBar_"] {
503+
height: auto !important;
504+
min-height: 40px;
505+
}
506+
507+
div[class*="announcementBarContent"] {
508+
font-size: 15px !important;
509+
font-weight: 500;
510+
}
511+
}

doc/src/css/customTheme.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,3 +472,33 @@ a:hover {
472472
transform: scale(1.2);
473473
}
474474
}
475+
476+
/* Announcement Bar */
477+
div[class*="announcementBar_"] {
478+
height: 40px;
479+
}
480+
481+
div[class*="announcementBarContent"] {
482+
font-size: 15px !important;
483+
font-weight: 500;
484+
}
485+
486+
div[class*="announcementBarPlaceholder"] {
487+
height: 40px;
488+
}
489+
490+
button[class*="announcementBarClose"] {
491+
height: 40px !important;
492+
}
493+
494+
@media screen and (max-width: 996px) {
495+
div[class*="announcementBar_"] {
496+
height: auto !important;
497+
min-height: 40px;
498+
}
499+
500+
div[class*="announcementBarContent"] {
501+
font-size: 15px !important;
502+
font-weight: 500;
503+
}
504+
}

website/src/css/customTheme.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,3 +478,33 @@ a:hover {
478478
transform: scale(1.2);
479479
}
480480
}
481+
482+
/* Announcement Bar */
483+
div[class*="announcementBar_"] {
484+
height: 40px;
485+
}
486+
487+
div[class*="announcementBarContent"] {
488+
font-size: 15px !important;
489+
font-weight: 500;
490+
}
491+
492+
div[class*="announcementBarPlaceholder"] {
493+
height: 40px;
494+
}
495+
496+
button[class*="announcementBarClose"] {
497+
height: 40px !important;
498+
}
499+
500+
@media screen and (max-width: 996px) {
501+
div[class*="announcementBar_"] {
502+
height: auto !important;
503+
min-height: 40px;
504+
}
505+
506+
div[class*="announcementBarContent"] {
507+
font-size: 15px !important;
508+
font-weight: 500;
509+
}
510+
}

0 commit comments

Comments
 (0)