Move yoga docs into docs folder on master branch

Summary: Move yoga docs into master branch so that pull requests are able to include doc updates as part of other changes.

Reviewed By: JoelMarcey

Differential Revision: D4365700

fbshipit-source-id: 2f46a88974104c454c00bcdf1257abb5c4075a68
This commit is contained in:
Emil Sjolander
2016-12-28 03:57:57 -08:00
committed by Facebook Github Bot
parent cd78291de5
commit f2080e520f
113 changed files with 5020 additions and 0 deletions

141
docs/_sass/_header.scss Normal file
View File

@@ -0,0 +1,141 @@
.fixedHeaderContainer {
background: $primary-bg;
color: $primary-overlay;
height: $header-height;
padding: $header-ptop 0 $header-pbot;
position: fixed;
width: 100%;
z-index: 9999;
a {
align-items: center;
border: 0;
color: $primary-overlay;
display: flex;
flex-flow: row nowrap;
height: $header-height;
}
header {
display: flex;
flex-flow: row nowrap;
position: relative;
text-align: left;
img {
height: 50px;
padding-right: 4px;
}
h2 {
display: block;
font-family: $header-font-family;
font-weight: 900;
line-height: 18px;
position: relative;
font-size: 22px;
color: #303846;
letter-spacing: 1px;
}
}
}
.navigationFull {
height: 34px;
margin-left: auto;
nav {
position: relative;
ul {
display: flex;
flex-flow: row nowrap;
margin: 0 -10px;
li {
padding: 0 10px;
display: block;
a {
border-bottom: 2px solid transparent;
color: $primary-overlay-special;
font-size: 16px;
font-weight: 400;
line-height: 1.2em;
&:hover {
border-bottom: 2px solid $primary-overlay;
color: $primary-overlay;
}
}
&.navItemActive {
a {
color: $primary-overlay;
}
}
}
}
}
}
/* 900px
.fixedHeaderContainer {
.navigationWrapper {
nav {
padding: 0 1em;
position: relative;
top: -9px;
ul {
margin: 0 -0.4em;
li {
display: inline-block;
a {
padding: 14px 0.4em;
border: 0;
color: $primary-overlay-special;
display: inline-block;
&:hover {
color: $primary-overlay;
}
}
&.navItemActive {
a {
color: $primary-overlay;
}
}
}
}
}
&.navigationFull {
display: inline-block;
}
&.navigationSlider {
display: none;
}
}
}
1200px
.fixedHeaderContainer {
header {
max-width: 1100px;
}
}
1500px
.fixedHeaderContainer {
header {
max-width: 1400px;
}
}
*/