Skip to content

Commit

Permalink
refreshed FB OSS logo, footer and menu small UI tweaks (facebook#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Dec 3, 2020
1 parent feb0d32 commit bfe4f83
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
--ifm-alert-color: var(--ifm-font-color-base);
--ifm-pagination-nav-color-hover: var(--ifm-color-emphasis-300);
--ifm-navbar-sidebar-width: 50%;
--doc-sidebar-width: 100%;
}

html[data-theme="light"] {
Expand Down Expand Up @@ -581,10 +582,18 @@ html[data-theme="dark"] .menu {
@extend %scrollbar-style-dark;
}

@media (max-width: 1080px) {
@media (max-width: 1120px) {
div[class^="docSidebarContainer"] {
width: 240px;
min-width: 240px;
}
}

@media (max-width: 996px) {
div[class^="docSidebarContainer"] {
width: 236px;
min-width: 236px;
.menu {
padding: 0;
}
}
}

Expand Down Expand Up @@ -710,7 +719,7 @@ div[class^="tableOfContents"] {
}

.footer__item {
font-size: 15px;
font-size: 14px;
padding: 8px 0 0;
min-height: 30px;
}
Expand All @@ -732,13 +741,19 @@ div[class^="tableOfContents"] {
line-height: 1.44;
display: inline-block;
}

.footer__links {
margin-bottom: 8px;
}
}

@media (max-width: 996px) {
.footer {
.footer__col {
flex-basis: 32% !important;
max-width: 32% !important;
text-align: center;
flex-basis: 48% !important;
max-width: 48% !important;
margin-bottom: 28px;
}

.footer__links {
Expand All @@ -747,22 +762,12 @@ div[class^="tableOfContents"] {
}
}

@media (max-width: 768px) {
.footer .footer__col {
flex-basis: 48% !important;
max-width: 48% !important;
}
}

@media (max-width: 500px) {
.footer {
.footer__col {
flex-basis: 99% !important;
max-width: 99% !important;
margin-bottom: 24px;
}

.footer__links {
text-align: center;
}
}
Expand Down
Binary file modified website/static/img/oss_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bfe4f83

Please sign in to comment.