From 225716b88090c78aa8e364e372cf91b3eb53c679 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 5 Oct 2015 15:12:21 +0200 Subject: Add some padding --- css/codeq.css | 10 ++++------ css/codeq/hint.css | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'css') diff --git a/css/codeq.css b/css/codeq.css index c3f3634..e66ecd4 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -149,6 +149,10 @@ body { transition: all 1s ease; } +.block > .scrollable-content-container { + padding-left: 0.5em; + padding-right: 0.5em; +} /***** responsiveness *****/ /* lg */ @@ -172,8 +176,6 @@ body { #screen_python .block.block3 { min-height: 100%; height: 100%; } - - } /* md */ @@ -202,7 +204,6 @@ body { #screen_python .block.block3 { min-height: 50%; height: 50%; } - } /* md & ld */ @@ -254,7 +255,6 @@ body { .CodeMirror-scroll { height: 100%; } - } /* sm */ @@ -267,12 +267,10 @@ body { /* xs & sm */ @media (max-width: 991px) { - /* info */ .block.block4 { border-bottom: 1px solid #ddd; } - } /* codeq hints */ diff --git a/css/codeq/hint.css b/css/codeq/hint.css index 676d1aa..03f1b56 100644 --- a/css/codeq/hint.css +++ b/css/codeq/hint.css @@ -7,6 +7,7 @@ div:not(.hint-static-group) > div.hint-static { border: 1px solid gray; border-radius: 4px; margin-bottom: 0.5em; + margin-top: 0.5em; padding: 0.5em; } -- cgit v1.2.1 From 660d1b69d4551000182aa56e3b5b370db3a97e68 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 5 Oct 2015 15:32:42 +0200 Subject: Highlight only the border around newest hint --- css/codeq/hint.css | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'css') diff --git a/css/codeq/hint.css b/css/codeq/hint.css index 03f1b56..6e5fd25 100644 --- a/css/codeq/hint.css +++ b/css/codeq/hint.css @@ -2,15 +2,6 @@ a.hint-static-link { cursor: pointer; } -div.hint-static-group, -div:not(.hint-static-group) > div.hint-static { - border: 1px solid gray; - border-radius: 4px; - margin-bottom: 0.5em; - margin-top: 0.5em; - padding: 0.5em; -} - .hint-static img { max-width: 80%; /* center img trick */ @@ -19,6 +10,14 @@ div:not(.hint-static-group) > div.hint-static { margin-right: auto; } -.hints > :first-child { - font-weight: bold; -} \ No newline at end of file +.hints > div { + border: 1px solid gray; + border-radius: 4px; + margin-bottom: 0.5em; + margin-top: 0.5em; + padding: 0.5em; +} + +.hints > div:first-child { + border: 2px solid black; +} -- cgit v1.2.1