Responsify

Reviewed By: danielbuechele

Differential Revision: D6998697

fbshipit-source-id: ea15f1b1ce3f518c194dc66169413a92e0d870bc
This commit is contained in:
Emil Sjölander
2018-02-15 06:03:18 -08:00
committed by Facebook Github Bot
parent 747c2a4208
commit fb30f7ddcb
6 changed files with 182 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/
.DocsSidebar {
.DocsSidebar {
height: 100%;
width: 450px;
padding: 36px;
@@ -24,3 +24,14 @@
margin-top: 10px;
margin-bottom: 5px;
}
@media only screen and (max-width: 1200px) {
.DocsSidebar {
width: 100%;
padding: 20px;
padding-top: 0px;
border: none;
}
}

View File

@@ -7,10 +7,16 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/
.Padded {
.Padded {
width: 100%;
max-width: 1200px;
padding: 0 50px;
margin-left: auto;
margin-right: auto;
}
@media only screen and (max-width: 576px) {
.Padded {
padding: 0 20px;
}
}

View File

@@ -42,3 +42,18 @@
.Toolbar .ToolbarToggle i {
margin-right: 5px;
}
@media only screen and (max-width: 576px) {
.Toolbar {
padding: 10px 5px;
}
.Toolbar a {
margin: 0 10px;
font-size: 12px;
}
.Toolbar .ToolbarToggle {
font-size: 12px;
}
}