From 9d0a49c0392f9b6a8e35a9e629a5056c16fe96f4 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 21 Mar 2020 18:40:53 +0100 Subject: [PATCH] =?UTF-8?q?=C5=A0k=C3=A1lov=C3=A1n=C3=AD=20p=C5=99i=20mal?= =?UTF-8?q?=C3=A9=20=C5=A1=C3=AD=C5=99ce=20okna=20pomoc=C3=AD=20@media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/_media.scss | 14 ++++++++++++++ sass/style.scss | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 sass/_media.scss diff --git a/sass/_media.scss b/sass/_media.scss new file mode 100644 index 0000000..3b091f5 --- /dev/null +++ b/sass/_media.scss @@ -0,0 +1,14 @@ +@media only screen and (max-width: 700px) { + #nav { + border: 0; + border-bottom: 1px dotted #ccc; + margin-bottom: 1em; + width: 100%; + color: red !important; + } + + #main { + margin-left: 0; + } +} + diff --git a/sass/style.scss b/sass/style.scss index 039856f..d4a3240 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -90,3 +90,5 @@ body { width: 100%; } } + +@import "_media.scss";