From 662a561dffd5709653a68b237248fcfd4876b227 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 4 Apr 2016 08:49:40 +0200 Subject: [PATCH] fixup! make the text bigger on small screens --- doc/api_assets/style.css | 10 +++++++--- doc/template.html | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index d746d2ea319da0..b093b2c3fe11fd 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -455,6 +455,7 @@ th > *:last-child, td > *:last-child { @media only screen and (max-width: 1024px) { #content { + font-size: 2.5em; overflow: visible; } #column1.interior { @@ -464,10 +465,13 @@ th > *:last-child, td > *:last-child { width: auto; overflow-y: visible; } - pre { - margin-right: 0; - } #column2 { display: none; } } + +@media only screen and (max-width: 1024px) and (orientation: portrait) { + #content { + font-size: 3.5em; + } +} diff --git a/doc/template.html b/doc/template.html index 7b5f8bb7c2b327..dec3f50670226e 100644 --- a/doc/template.html +++ b/doc/template.html @@ -2,7 +2,6 @@ - __SECTION__ Node.js __VERSION__ Manual & Documentation