Skip to content

Commit 3096a92

Browse files
authored
bigger banner (#140)
1 parent 2d70e36 commit 3096a92

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ const config = {
9797
announcementBar: {
9898
id: 'reforge_acquisition',
9999
content:
100-
'Prefab has been acquired and has re-launched as Reforge Launch. Please use the new documentation at <a target="_blank" rel="noopener noreferrer" href="https://docs.reforge.com">docs.reforge.com</a>',
101-
backgroundColor: '#2962F5',
102-
textColor: '#ffffff',
100+
'Prefab is now <a target="_blank" rel="noopener noreferrer" href="https://www.reforge.com/blog/introducing-reforge-launch">Reforge Launch</a>. Please use the new documentation at <a href="https://docs.reforge.com">docs.reforge.com</a>',
101+
backgroundColor: '#FFF3B0',
102+
textColor: '#2E2B00',
103103
isCloseable: false,
104104
},
105105
navbar: {

src/css/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,15 @@ summary h4 {
8080
line-height: 1.5rem;
8181
margin-bottom: 0;
8282
}
83+
84+
/* Large acquisition announcement banner */
85+
div[class*='announcementBar'] {
86+
font-size: 2rem !important;
87+
padding: 4rem 2rem !important;
88+
font-weight: 600 !important;
89+
line-height: 1.5 !important;
90+
}
91+
92+
div[class*='announcementBarContent'] {
93+
font-size: 2rem !important;
94+
}

0 commit comments

Comments
 (0)