From 3feda63e7a205649e1e7513f2e8efabbfff25e2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Thu, 28 Sep 2017 15:50:11 +0200 Subject: [PATCH] css: add main.de.css and main.ru.css: adjust h1 font size to keep long words inside the screen down to ~360px. --- css/main.de.css | 17 +++++++++++++++++ css/main.ru.css | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 css/main.de.css create mode 100644 css/main.ru.css diff --git a/css/main.de.css b/css/main.de.css new file mode 100644 index 0000000..0f8a0ad --- /dev/null +++ b/css/main.de.css @@ -0,0 +1,17 @@ +/* Modifications to the main stylesheet of Email Self-Defense for the German + version */ + +h1 { font-size: 1.9em; } +h2 { font-size: 1.9em; } + +@media only screen and (min-width: 400px) and (max-width: 599px) { + #header h1 { font-size: 2.1em; } +} + +@media only screen and (min-width: 600px) and (max-width: 899px) { + #header h1 { font-size: 3em; } +} + +@media only screen and (min-width: 900px) { + #header h1 { font-size: 4.5em; } +} diff --git a/css/main.ru.css b/css/main.ru.css new file mode 100644 index 0000000..c530563 --- /dev/null +++ b/css/main.ru.css @@ -0,0 +1,17 @@ +/* Modifications to the main stylesheet of Email Self-Defense for the Russian + version */ + +h1 { font-size: 1.9em; } +h2 { font-size: 1.9em; } + +@media only screen and (min-width: 400px) and (max-width: 599px) { + #header h1 { font-size: 2.1em; } +} + +@media only screen and (min-width: 600px) and (max-width: 899px) { + #header h1 { font-size: 3em; } +} + +@media only screen and (min-width: 900px) { + #header h1 { font-size: 4em; } +} -- 2.25.1