docs css refactor (#1198)

* fix cli docs toctree

* reorganize docs css
This commit is contained in:
Rikin Kachhia 2018-12-12 21:40:32 +05:30 committed by Shahidh K Muhammed
parent ff6c95c2f8
commit b76039b6be
2 changed files with 76 additions and 75 deletions

View File

@ -1167,20 +1167,6 @@ ol, ul {
/* Reference Page ends here */
/* Media Query */
@media (min-width: 0) and (max-width: 1220px) {
body
{
min-width: 100% !important;
overflow-y: auto;
}
html
{
font-size: 100% !important;
}
}
/* Note overrides */
.note, .admonition, .help-block {
background: #f1f9ff;
@ -1207,67 +1193,6 @@ ol, ul {
color: #333 !important;
}
/* Mobile + Tab overrides */
@media (max-width: 1024px) {
body {
max-width: 100%;
min-width: 0px !important;
}
.input_search_box {
width: 60%;
margin-left: 10px;
}
.mobile-only {
display: initial;
}
.mobile-hide {
display: none !important;
}
#sidebar {
position: absolute;
width: 90% !important;
max-width: 800px !important;
left: 0;
right: 0;
margin: 0 auto;
top: 120px;
height: calc(100% - 120px);
}
.main_container_wrapper {
min-width: 0px !important;
}
.content_inner_wrapper {
width: 100% !important;
}
[role="main"] {
float: none !important;
width: 90% !important;
margin: 0 auto !important;
}
.mobile-logo {
display: flex;
margin-top: 20px;
}
.search_head_wrapper {
margin-top: 20px;
}
#docs-content {
margin-left: 0;
margin-right: 0;
}
}
.api-tabs .docutils {
font-size: 16px !important;
margin: 0;
@ -1418,6 +1343,81 @@ ol, ul {
display: none !important;
}
/* Media Query */
@media (min-width: 0) and (max-width: 1220px) {
body
{
min-width: 100% !important;
overflow-y: auto;
}
html
{
font-size: 100% !important;
}
}
/* Mobile + Tab overrides */
@media (max-width: 1024px) {
body {
max-width: 100%;
min-width: 0px !important;
}
.input_search_box {
width: 60%;
margin-left: 10px;
}
.mobile-only {
display: initial;
}
.mobile-hide {
display: none !important;
}
#sidebar {
position: absolute;
width: 90% !important;
max-width: 800px !important;
left: 0;
right: 0;
margin: 0 auto;
top: 120px;
height: calc(100% - 120px);
}
.main_container_wrapper {
min-width: 0px !important;
}
.content_inner_wrapper {
width: 100% !important;
}
[role="main"] {
float: none !important;
width: 90% !important;
margin: 0 auto !important;
}
.mobile-logo {
display: flex;
margin-top: 20px;
}
.search_head_wrapper {
margin-top: 20px;
}
#docs-content {
margin-left: 0;
margin-right: 0;
}
}
/* Mobile overrides */
@media (max-width: 768px) {
.input_search_box {

View File

@ -67,6 +67,7 @@ Refer to :doc:`uninstall-hasura-cli`.
hasura metadata <hasura_metadata>
hasura metadata apply <hasura_metadata_apply>
hasura metadata export <hasura_metadata_export>
hasura metadata reload <hasura_metadata_reload>
hasura metadata reset <hasura_metadata_reset>
hasura migrate <hasura_migrate>
hasura migrate apply <hasura_migrate_apply>