Skip to content

Commit baef6d5

Browse files
authored
Update branding colors (#580)
1 parent 0b14b4e commit baef6d5

File tree

6 files changed

+27
-5
lines changed

6 files changed

+27
-5
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const config = {
129129
logo: {
130130
alt: 'Cloud Posse Developer Hub',
131131
src: 'img/logo.svg',
132-
srcDark: 'img/logo-light.png',
132+
srcDark: 'img/logo-light.svg',
133133
},
134134
items: [
135135
{
@@ -286,7 +286,7 @@ const config = {
286286
}],
287287
logo: {
288288
alt: 'Cloud Posse',
289-
src: '/img/logo-light.png',
289+
src: '/img/logo-light.svg',
290290
href: 'https://cloudposse.com/'
291291
},
292292
copyright: ${new Date().getFullYear()} Cloud Posse, LLC`,

src/css/custom.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,18 @@ li > ul.menu__list {
4343
margin-left: 1em;
4444
}
4545

46+
.theme-admonition {
47+
max-width: 1200px;
48+
}
49+
50+
.pagination-nav__link {
51+
max-width: 700px;
52+
}
53+
54+
4655
/* You can override the default Infima variables here. */
4756
:root {
57+
--ifm-container-width-xl: 90%;
4858
--ifm-code-font-size: 95%;
4959
--ifm-menu-color: var(--c-gray-100);
5060
--ifm-menu-link-padding-horizontal: 0.25rem;
@@ -197,6 +207,11 @@ svg.landingLogo path {
197207
fill: #ebedf0
198208
}
199209

210+
.heroContainer_src-theme-sections-hero-hero-module {
211+
background: -webkit-linear-gradient(to right, #102445, #0a1922) !important; /* Chrome 10-25, Safari 5.1-6 */
212+
background: linear-gradient(to right, #102445, #0a1922) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
213+
}
214+
200215
.hero__title {
201216
font-size: 2.5rem;
202217
}
@@ -255,13 +270,17 @@ svg.landingLogo path {
255270
text-align: left;
256271
}
257272
.footer--dark {
258-
--ifm-footer-background-color: #20232a;
273+
--ifm-footer-background-color: #0a1922;
259274
--ifm-footer-padding-vertical: 85px;
260275
}
261276
.footer__copyright {
262277
margin-left: 0;
263278
}
264279

280+
.footer__bottom > div > a {
281+
opacity: 0.9;
282+
}
283+
265284
.github_buttons > ul {
266285
list-style-type: none;
267286
padding-left: 0px;
@@ -277,3 +296,5 @@ svg.landingLogo path {
277296
.markdown h1:first-child {
278297
--ifm-h1-font-size: 2.5rem;
279298
}
299+
300+

static/img/logo-dark.svg

Lines changed: 1 addition & 1 deletion
Loading

static/img/logo-light.png

-8.55 KB
Binary file not shown.

static/img/logo-light.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)