fix font size of html docs on mobiles

This commit is contained in:
stefan schippers 2023-03-05 01:33:34 +01:00
parent 9de818c8e9
commit eb2e5eff50
1 changed files with 8 additions and 4 deletions

View File

@ -22,6 +22,10 @@ html, body{
background-color: #cccccc; background-color: #cccccc;
} }
pre{
white-space:pre-wrap;
}
kbd{ kbd{
color: #993333; color: #993333;
text-align: left; text-align: left;
@ -194,9 +198,9 @@ h3{
} }
/* mobile rendering */ /* mobile rendering */
@media all and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) and (orientation : portrait){ @media all and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 92dpi) and (orientation : portrait){
* { * {
font-size:16; font-size:18;
} }
.prev { .prev {
width: 10%; width: 10%;
@ -217,9 +221,9 @@ h3{
left:24% left:24%
} }
} }
@media all and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) and (orientation : landscape){ @media all and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 92dpi) and (orientation : landscape){
* { * {
font-size:20px; font-size:23px;
} }
li{ li{