Merge pull request #1931 from def-/doc-css
Improve documentation CSS for smaller resolutions
This commit is contained in:
commit
95fe697afe
1 changed files with 9 additions and 8 deletions
|
|
@ -163,12 +163,12 @@ body {
|
|||
/* For devices larger than 400px */
|
||||
@media (min-width: 400px) {
|
||||
.container {
|
||||
width: 85%;
|
||||
width: 100%;
|
||||
padding: 0; } }
|
||||
/* For devices larger than 650px */
|
||||
@media (min-width: 650px) {
|
||||
.container {
|
||||
width: 80%; }
|
||||
width: 100%; }
|
||||
|
||||
.column,
|
||||
.columns {
|
||||
|
|
@ -481,7 +481,7 @@ h6 {
|
|||
ul,
|
||||
ol {
|
||||
padding: 0;
|
||||
margin: 0 0 10px 25px; }
|
||||
margin: 0 0 0px 15px; }
|
||||
|
||||
ul ul,
|
||||
ul ol,
|
||||
|
|
@ -574,15 +574,16 @@ code {
|
|||
border: 1px solid #777777; }
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
min-width: calc(100% - 19.5px);
|
||||
padding: 9.5px;
|
||||
margin: 0 10px 10px 10px;
|
||||
margin: 0 10px 0px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
white-space: pre !important;
|
||||
overflow-y: hidden;
|
||||
overflow: visible;
|
||||
overflow-x: auto;
|
||||
overflow-x: visible;
|
||||
background-color: whitesmoke;
|
||||
border: 1px solid #cccccc;
|
||||
-webkit-border-radius: 4px;
|
||||
|
|
@ -596,7 +597,7 @@ pre code {
|
|||
padding: 0;
|
||||
color: inherit;
|
||||
white-space: pre;
|
||||
overflow-x: scroll;
|
||||
overflow-x: visible;
|
||||
background-color: transparent;
|
||||
border: 0; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue