From cc4208739a8f9606f0b6d33579d4934c194f20a5 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 4 Jan 2020 12:03:15 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Tabulka=20vypln=C3=AD=20celou=20=C5=A1?= =?UTF-8?q?=C3=AD=C5=99ku=20okna=20na=20mal=C3=A9=20obrazovce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/_tables.scss | 3 --- sass/style.scss | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/sass/_tables.scss b/sass/_tables.scss index 958e23a..65805a8 100644 --- a/sass/_tables.scss +++ b/sass/_tables.scss @@ -4,10 +4,7 @@ table { background:$secondary; padding:0; margin:0 2em 2em 0; - width:45%; - clear:both; - float:left; thead { diff --git a/sass/style.scss b/sass/style.scss index 2a43241..e5cb47c 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -14,6 +14,11 @@ padding:1em; border:none; border-radius:0; + + table { + float:none; + width:100%; + } } } @@ -33,6 +38,11 @@ padding:1em 4em; border:1px solid $border; border-radius:8px; + + table { + float:left; + width:45%; + } } } From 26350cbaf635ec86affbb70fa0a6f4a5a5ae8d7a Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 4 Jan 2020 12:26:26 +0100 Subject: [PATCH 2/2] =?UTF-8?q?P=C5=99ed=C4=9Bl=C3=A1n=C3=AD=20seznam?= =?UTF-8?q?=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/_lists.scss | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/sass/_lists.scss b/sass/_lists.scss index 6312c8c..b765281 100644 --- a/sass/_lists.scss +++ b/sass/_lists.scss @@ -2,30 +2,20 @@ ol { counter-reset:procedure; list-style-type: none; padding:0; - position:relative; // allow being pushed - left:3em; // push to the right because of counter overflow li { counter-increment:procedure; - margin-bottom:1em; - line-height:1.2rem; + margin-bottom:2.5em; + line-height:1em; &:before { - content:counter(procedure); + content:counter(procedure)"."; + display:block; + margin:0 .5em .5em 0; + width:auto; font-weight:bold; - font-size:1.1rem; - background:$secondary; - color:#000; - border-radius:100%; - border:1px solid $border; - width:2rem; - height:2rem; - display:inline-block; // allows float and keeps dimensions - position:relative; // allow being pushed - left:-2.7em; // move to the left not to overlap with text - text-align:center; - line-height:2.3rem; // vertical center on text - margin-right:-2em; // pull the first line of text to the left + font-size:2em; + color:$primary; } } }