diff options
author | 2020-12-15 13:19:10 -0500 | |
---|---|---|
committer | 2020-12-15 13:19:10 -0500 | |
commit | 0ad6994a85c6dcd0db14af0224dab2675f3fc8c3 (patch) | |
tree | 6e76682003252e4168e139e47464237bd1117001 /docs | |
parent | 2bf2867a5095fa88cbe4c22ba39ad87c04b8b393 (diff) | |
download | textadept-0ad6994a85c6dcd0db14af0224dab2675f3fc8c3.tar.gz textadept-0ad6994a85c6dcd0db14af0224dab2675f3fc8c3.zip |
Attempt to improve mobile presentation of docs.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_layouts/default.html | 1 | ||||
-rw-r--r-- | docs/index.html | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index f0d48391..abcdc522 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -5,6 +5,7 @@ <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="icon" href="icon.png" type="image/png" /> <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width,initial-scale=1.0" /> </head> <body> <div id="content"> diff --git a/docs/index.html b/docs/index.html index 469042f6..eec8b542 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,6 +5,7 @@ <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="icon" href="icon.png" type="image/png" /> <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <style type="text/css"> #left, #right { margin: -1em 0 1em 0; @@ -38,6 +39,10 @@ #main div.left-col .center, #main div.right-col .center { text-align: center; } + + @media screen and (max-width: 1000px) { + #main div.left-col, #main div.right-col { width: 100%; } + } </style> </head> <body> |