fix documentation CSS

- make documentation usable on small (narrow) screens
- slightly smaller font size in tables
- fix search input width
This commit is contained in:
narimiran 2019-02-05 14:01:47 +01:00
commit 21b256dbc9
4 changed files with 112 additions and 64 deletions

View file

@ -231,11 +231,9 @@ body {
.columns { .columns {
width: 100%; width: 100%;
float: left; float: left;
box-sizing: border-box; } box-sizing: border-box;
margin-left: 1%;
.column, }
.columns {
margin-left: 1%; }
.column:first-child, .column:first-child,
.columns:first-child { .columns:first-child {
@ -250,6 +248,18 @@ body {
.twelve.columns { .twelve.columns {
width: 100%; width: 100%;
margin-left: 0; } margin-left: 0; }
@media screen and (max-width: 860px) {
.three.columns {
display: none;
}
.nine.columns {
width: 98.0%;
}
body {
font-size: 1em;
line-height: 1.35;
}
} }
cite { cite {
@ -261,7 +271,7 @@ div#searchInputDiv {
margin-bottom: 1em; margin-bottom: 1em;
} }
input#searchInput { input#searchInput {
width: 145px; width: 80%;
} }
@ -608,7 +618,9 @@ table {
margin-bottom: 1.5em; margin-bottom: 1.5em;
border-collapse: collapse; border-collapse: collapse;
border-color: #ccc; border-color: #ccc;
border-spacing: 0; } border-spacing: 0;
font-size: 0.9em;
}
table th, table td { table th, table td {
padding: 0px 0.5em 0px; padding: 0px 0.5em 0px;

View file

@ -56,11 +56,9 @@ body {
.columns { .columns {
width: 100%; width: 100%;
float: left; float: left;
box-sizing: border-box; } box-sizing: border-box;
margin-left: 1%;
.column, }
.columns {
margin-left: 1%; }
.column:first-child, .column:first-child,
.columns:first-child { .columns:first-child {
@ -75,6 +73,18 @@ body {
.twelve.columns { .twelve.columns {
width: 100%; width: 100%;
margin-left: 0; } margin-left: 0; }
@media screen and (max-width: 860px) {
.three.columns {
display: none;
}
.nine.columns {
width: 98.0%;
}
body {
font-size: 1em;
line-height: 1.35;
}
} }
cite { cite {
@ -86,7 +96,7 @@ div#searchInputDiv {
margin-bottom: 1em; margin-bottom: 1em;
} }
input#searchInput { input#searchInput {
width: 145px; width: 80%;
} }
@ -433,7 +443,9 @@ table {
margin-bottom: 1.5em; margin-bottom: 1.5em;
border-collapse: collapse; border-collapse: collapse;
border-color: #ccc; border-color: #ccc;
border-spacing: 0; } border-spacing: 0;
font-size: 0.9em;
}
table th, table td { table th, table td {
padding: 0px 0.5em 0px; padding: 0px 0.5em 0px;

View file

@ -56,11 +56,9 @@ body {
.columns { .columns {
width: 100%; width: 100%;
float: left; float: left;
box-sizing: border-box; } box-sizing: border-box;
margin-left: 1%;
.column, }
.columns {
margin-left: 1%; }
.column:first-child, .column:first-child,
.columns:first-child { .columns:first-child {
@ -75,6 +73,18 @@ body {
.twelve.columns { .twelve.columns {
width: 100%; width: 100%;
margin-left: 0; } margin-left: 0; }
@media screen and (max-width: 860px) {
.three.columns {
display: none;
}
.nine.columns {
width: 98.0%;
}
body {
font-size: 1em;
line-height: 1.35;
}
} }
cite { cite {
@ -86,7 +96,7 @@ div#searchInputDiv {
margin-bottom: 1em; margin-bottom: 1em;
} }
input#searchInput { input#searchInput {
width: 145px; width: 80%;
} }
@ -433,7 +443,9 @@ table {
margin-bottom: 1.5em; margin-bottom: 1.5em;
border-collapse: collapse; border-collapse: collapse;
border-color: #ccc; border-color: #ccc;
border-spacing: 0; } border-spacing: 0;
font-size: 0.9em;
}
table th, table td { table th, table td {
padding: 0px 0.5em 0px; padding: 0px 0.5em 0px;

View file

@ -56,11 +56,9 @@ body {
.columns { .columns {
width: 100%; width: 100%;
float: left; float: left;
box-sizing: border-box; } box-sizing: border-box;
margin-left: 1%;
.column, }
.columns {
margin-left: 1%; }
.column:first-child, .column:first-child,
.columns:first-child { .columns:first-child {
@ -75,6 +73,18 @@ body {
.twelve.columns { .twelve.columns {
width: 100%; width: 100%;
margin-left: 0; } margin-left: 0; }
@media screen and (max-width: 860px) {
.three.columns {
display: none;
}
.nine.columns {
width: 98.0%;
}
body {
font-size: 1em;
line-height: 1.35;
}
} }
cite { cite {
@ -86,7 +96,7 @@ div#searchInputDiv {
margin-bottom: 1em; margin-bottom: 1em;
} }
input#searchInput { input#searchInput {
width: 145px; width: 80%;
} }
@ -433,7 +443,9 @@ table {
margin-bottom: 1.5em; margin-bottom: 1.5em;
border-collapse: collapse; border-collapse: collapse;
border-color: #ccc; border-color: #ccc;
border-spacing: 0; } border-spacing: 0;
font-size: 0.9em;
}
table th, table td { table th, table td {
padding: 0px 0.5em 0px; padding: 0px 0.5em 0px;