Files
ent/doc/website/static/css/custom.css
Ariel Mashraki 6913e80e43 ent/doc: minor changes for doc websote and readme
Reviewed By: dlvhdr

Differential Revision: D17163026

fbshipit-source-id: 62536da9a450ac80eb224252e12ae8dc835acb11
2019-09-03 07:56:32 -07:00

598 lines
11 KiB
CSS
Executable File

/*
Copyright 2019-present Facebook Inc. All rights reserved.
This source code is licensed under the Apache 2.0 license found
in the LICENSE file in the root directory of this source tree.
*/
@font-face {
font-family: 'Calibre Medium';
font-style: normal;
font-weight: normal;
src: local('Calibre Medium'), url('../font/CalibreMedium.woff') format('woff');
}
@font-face {
font-family: 'Calibre Light';
font-style: normal;
font-weight: normal;
src: local('Calibre Light'), url('../font/CalibreLight.woff') format('woff');
}
@font-face {
font-family: 'Calibre Regular';
font-style: normal;
font-weight: normal;
src: local('Calibre Regular'),
url('../font/CalibreRegular.woff') format('woff');
}
@font-face {
font-family: 'Calibre Thin';
font-style: normal;
font-weight: normal;
src: local('Calibre Thin'), url('../font/CalibreThin.woff') format('woff');
}
@font-face {
font-family: 'Calibre Thin Italic';
font-style: normal;
font-weight: normal;
src: local('Calibre Thin Italic'),
url('../font/CalibreThinItalic.woff') format('woff');
}
@font-face {
font-family: 'Calibre Light Italic';
font-style: normal;
font-weight: normal;
src: local('Calibre Light Italic'),
url('../font/CalibreLightItalic.woff') format('woff');
}
@font-face {
font-family: 'Calibre Semibold';
font-style: normal;
font-weight: normal;
src: local('Calibre Semibold'),
url('../font/CalibreSemibold.woff') format('woff');
}
@font-face {
font-family: 'Calibre Bold';
font-style: normal;
font-weight: normal;
src: local('Calibre Bold'), url('../font/CalibreBold.woff') format('woff');
}
@font-face {
font-family: 'Calibre Medium Italic';
font-style: normal;
font-weight: normal;
src: local('Calibre Medium Italic'),
url('../font/CalibreMediumItalic.woff') format('woff');
}
@font-face {
font-family: 'Calibre Regular Italic';
font-style: normal;
font-weight: normal;
src: local('Calibre Regular Italic'),
url('../font/CalibreRegularItalic.woff') format('woff');
}
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
}
@media only screen and (min-width: 1024px) {
}
@media only screen and (max-width: 1023px) {
.docsNavContainer {
position: absolute;
}
}
@media only screen and (min-width: 1400px) {
}
@media only screen and (max-width: 500px) {
.sideNavVisible .headerWrapper.wrapper header > a {
display: none!important;
}
}
@media only screen and (max-width: 800px) {
.gopherGraph {
margin-top: 25px;
display: block!important;
}
.features {
margin: 60px auto 0 !important;
}
}
@media only screen and (max-width: 400px) {
.gopherGraph {
margin-top: 40px;
}
.features {
margin: 30px auto 0!important;
}
}
@media only screen and (max-width: 320px) {
.gettingStartedText {
font-size: 22px!important;
}
}
body {
background: #3d3e3f;
}
.sideNavVisible {
background: white;
}
.fixedHeaderContainer {
background: #3d3e3f;
}
.sideNavVisible .fixedHeaderContainer {
background: white;
max-width: 1400px;
margin: 0 auto;
}
.sideNavVisible.navigationSlider .slidingNav ul {
background: white;
}
.sideNavVisible .navigationSlider .slidingNav ul li a {
color: #3d3e3f !important;
}
.navigationSlider .slidingNav ul li > a:focus,
.navigationSlider .slidingNav ul li > a:hover,
.navigationSlider .slidingNav ul li.siteNavItemActive > a,
.navigationSlider .slidingNav ul li.siteNavGroupActive > a {
background-color: transparent;
}
.imageAlignTop .blockImage {
max-width: 100%;
}
.projectTitleContainer {
display: flex;
flex-direction: row;
justify-content: left;
}
.projectTitleContainer img {
width: 109px;
height: 44px;
}
.projectDesc {
font-family: 'Calibre Light Italic', sans-serif;
font-size: 26px;
line-height: 34px;
color: white;
text-align: left;
margin-left: 5px;
margin-bottom: 19px;
}
@media only screen and (min-width: 480px) {
.projectTitle {
margin: 0;
}
}
.homeContainer {
padding: 0 15% 20px;
}
.features {
display: flex;
justify-content: space-between;
flex-direction: row;
margin: 100px auto 0;
}
.block {
width: 320px;
}
.navigationSlider .slidingNav ul li a {
height: 22px;
}
.block .blockTitle {
font-family: 'Calibre Light Italic', sans-serif;
line-height: 26px;
font-size: 23px;
color: #ffe800;
margin-bottom: 10px;
display: inline-block;
}
.blockContent {
font-family: 'Calibre Thin', sans-serif;
font-size: 22px;
line-height: 26px;
color: white;
}
.gettingStartedButton {
display: inline-block;
border-radius: 31px;
padding: 11px 15px 5px 22px;
background-image: linear-gradient(to right, #85c3e1, #29bbaf);
}
.gettingStartedText {
font-family: 'Calibre Regular', sans-serif;
letter-spacing: 0.03mm;
font-size: 27px;
color: white;
line-height: 35px;
}
.gettingStartedButtonArrow {
font-family: 'Calibre Medium', sans-serif;
line-height: 35px;
font-size: 35px;
color: white;
margin-top: 7px;
margin-left: 9px;
}
.homeContainer {
text-align: left;
}
.gettingStartedButtonText {
display: flex;
flex-direction: row;
align-items: center;
}
.projectTitle p {
display: inline-block;
color: white;
font-family: 'Calibre Medium', sans-serif;
font-size: 56px;
margin-left: 15px;
margin-bottom: 8px;
}
.navigationSlider .slidingNav ul li {
min-width: 124px;
text-align: left;
display: flex;
justify-content: flex-start;
}
.navigationSlider .slidingNav ul li a {
color: white;
font-family: 'Calibre Thin', sans-serif;
font-size: 22px;
padding: 0;
}
.navigationSlider .slidingNav ul li > a {
background-color: transparent;
}
.navigationSlider .slidingNav ul li a:hover {
background-color: transparent;
font-family: 'Calibre Light', sans-serif;
}
.headerWrapper.wrapper {
padding: 0;
}
body .homeContainer .homeWrapper {
padding-left: 0;
padding-right: 0;
}
.button {
border: 1px solid #4d8eaa;
color: #4d8eaa;
}
.button:hover {
background: #48849e;
}
.homeContainer .homeWrapper {
padding: 3em 10px 0 10px;
}
a {
color: #4d8eaa;
}
#er-linked-list,
#er-user-spouse,
#er-tree,
#er-following-followers,
#er-user-friends,
#er-city-streets {
height: 230px;
}
#gopher-schema-as-code {
height: 200px;
}
@media only screen and (max-width: 1500px) {
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-height: 136px;
}
}
@media only screen and (min-width: 1500px) {
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-height: 180px;
}
}
@media only screen and (max-width: 1126px) {
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-height: 122px;
}
}
@media only screen and (max-width: 1023px) {
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-height: 104px;
}
body .wrapper.homeWrapper {
display: flex;
justify-content: center;
}
.fixedHeaderContainer {
position: initial;
}
.headerWrapper.wrapper {
align-items: center;
justify-content: flex-start;
}
.navPusher {
padding-top: 0;
position: relative;
}
.features {
flex-direction: column;
}
.block {
margin-top: 20px;
width: 80%;
}
.projectTitleContainer {
flex-direction: column;
}
.projectTitle p {
margin-left: 0;
margin-top: 20px;
}
.homeContainer {
margin-bottom: 50px;
}
.fixedHeaderContainer {
margin-top: 0 !important;
overflow-x: hidden;
}
.sideNavVisible.separateOnPageNav .fixedHeaderContainer {
width: 100vw;
}
.navigationSlider .slidingNav ul li {
min-width: 100px;
}
.projectTitle {
line-height: 1.3em;
}
}
@media only screen and (max-width: 880px) {
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-height: 85px;
}
}
body,
html {
margin: 0;
padding: 0;
width: 100%;
}
.gopherGraph {
display: flex;
justify-content: flex-end;
}
.wrapper.homeWrapper {
display: block !important;
}
/*
Home Page
*/
.fixedHeaderContainer a {
display: none;
}
.fixedHeaderContainer {
position: relative;
margin-top: 100px;
padding: 0 15%;
}
.navigationSlider .slidingNav {
position: relative;
}
header > .navigationSlider {
margin-left: 0;
font-size: 20px;
}
/*
Docs Page
*/
.sideNavVisible header > .navigationSlider {
margin-left: 0;
}
.sideNavVisible .fixedHeaderContainer a {
display: flex !important;
}
.sideNavVisible .navigationSlider .slidingNav {
position: relative;
}
.sideNavVisible .fixedHeaderContainer {
display: flex;
align-items: center;
margin-top: 0;
padding: 0;
}
.sideNavVisible .navigationWrapper.navigationSlider {
align-self: flex-end;
align-items: center;
display: flex;
}
@media only screen and (min-width: 1024px) {
.navigationSlider {
height: 12px;
}
}
.sideNavVisible .headerWrapper.wrapper {
width: 100vw;
margin: 0 20px;
}
.sideNavVisible .headerWrapper.wrapper header {
width: 100vw;
}
.sideNavVisible .headerWrapper.wrapper header > a {
width: 288px;
}
.sideNavVisible .headerWrapper.wrapper header a {
}
.navigationSlider .slidingNav ul {
background: transparent;
}
.sideNavVisible .navigationSlider .slidingNav ul {
background: white;
margin-top: 0;
}
ul,
ol {
margin-bottom: 0;
}
@media only screen and (min-width: 1425px) {
.homeContainer {
max-width: 1100px;
margin: 0 auto;
padding: 0 0 50px;
}
.fixedHeaderContainer {
margin: 100px auto 0 auto;
width: 1100px;
padding: 0 0;
}
}
@media only screen and (min-width: 1000px) {
.sideNavVisible.separateOnPageNav .fixedHeaderContainer {
margin-top: 35px;
width: 100vw;
}
}
.sideNavVisible .navigationSlider .slidingNav ul li a {
font-family: 'Calibre Light', sans-serif;
}
.yellowArrow {
display: inline-block;
font-family: 'Calibre Light', sans-serif;
height: 26px;
position: relative;
top: 4px;
left: 5px;
font-size: 30px;
color: #ffe800;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.yellowArrow:hover {
color: #ffe800;
-webkit-transform: translateX(5px);
-moz-transform: translateX(5px);
-ms-transform: translateX(5px);
-o-transform: translateX(5px);
transform: translateX(5px);
}
.blockTitleText {
display: inline;
color: #ffe800;
}
.nav-footer .sitemap {
max-width: 1100px;
font-family: 'Calibre Light', sans-serif;
font-size: 18px;
}
.nav-footer .copyright {
margin: 0 auto 10px;
}