Modify doc css to be responsive
This commit is contained in:
parent
0b0308b617
commit
057a9e3fa4
1 changed files with 63 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ div.footer {
|
||||||
padding: 13px 0;
|
padding: 13px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
|
max-width:1080px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.footer a {
|
div.footer a {
|
||||||
|
|
@ -69,6 +70,7 @@ div.related {
|
||||||
color: #9FA0A0;
|
color: #9FA0A0;
|
||||||
/*! text-shadow: 0px 1px 0 #444; */
|
/*! text-shadow: 0px 1px 0 #444; */
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
|
max-width: 1090px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.related a {
|
div.related a {
|
||||||
|
|
@ -394,3 +396,64 @@ code.descname {
|
||||||
background-color: #fff9f9;
|
background-color: #fff9f9;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* -- screen sizes ------------------------------------------------------------------ */
|
||||||
|
|
||||||
|
@media print, screen and (max-width: 960px) {
|
||||||
|
|
||||||
|
div.body {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.bodywrapper {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-top: 110px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.document,
|
||||||
|
div.documentwrapper,
|
||||||
|
div.bodywrapper {
|
||||||
|
margin: 0 !important;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.sphinxsidebar {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search {
|
||||||
|
visibility: visible;
|
||||||
|
position: absolute;
|
||||||
|
top: -7px;
|
||||||
|
right: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#top-link {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print, screen and (max-width: 720px) {
|
||||||
|
|
||||||
|
div.related>ul {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.related>ul>li.nav-item.nav-item-0 {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search {
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print, screen and (max-width: 480px) {
|
||||||
|
|
||||||
|
div.body {
|
||||||
|
padding-left: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue