From 4f735bdc73839c2b79623776113caf3ec7f1b045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zden=C4=9Bk=20Papu=C4=8D=C3=ADk?= Date: Tue, 31 Jan 2017 09:28:44 +0100 Subject: [PATCH] Separation of styles --- src/css/style.css | 15 +++++++++++++++ src/css/style.sign.in.css | 18 ++---------------- src/index.html | 2 +- 3 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 src/css/style.css diff --git a/src/css/style.css b/src/css/style.css new file mode 100644 index 0000000..c897cc0 --- /dev/null +++ b/src/css/style.css @@ -0,0 +1,15 @@ + +/* + import css styles +*/ +@import url(css.ui.min.css); +@import url(style.sign.in.css); + +/* + elements +*/ +body { + background-color: #f4f4f4; + font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif; + padding: 10px 10px 0; +} diff --git a/src/css/style.sign.in.css b/src/css/style.sign.in.css index 427e8e2..1266e8c 100644 --- a/src/css/style.sign.in.css +++ b/src/css/style.sign.in.css @@ -1,18 +1,4 @@ -/* - import css styles -*/ -@import url(css.ui.min.css); - -/* - elements -*/ -body { - background-color: #f4f4f4; - font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif; - padding: 10px 10px 0; -} - /* form */ @@ -62,7 +48,7 @@ body { @media only screen and (min-width: 768px) { - body { + html body { padding-top: 70px; } @@ -80,7 +66,7 @@ body { @media only screen and (min-width: 1170px) { - body { + html body { padding-top: 150px; } diff --git a/src/index.html b/src/index.html index 912695c..74049c5 100644 --- a/src/index.html +++ b/src/index.html @@ -8,7 +8,7 @@ CSS UI - Sign in - +