From 932aac1a1930fa43ce2d0f3ec7bcff01e3c84d99 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 16 Oct 2015 16:30:04 +0200 Subject: Improve (hopefully) the problem list screen --- css/codeq.css | 23 ++++++++++++++++++++++- js/codeq/problem_list.js | 10 ++++------ 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/css/codeq.css b/css/codeq.css index ac63970..77d1d9c 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -503,6 +503,27 @@ ul.dropdown-menu a { } /* problem index screen */ -#screen_problem_list .language-problems a { +#screen_problem_list .language-description { + margin-bottom: 1em; +} + +#screen_problem_list .group-description { + margin-bottom: 0.5em; +} + +#screen_problem_list h2 { + font-size: 1.4em; + font-weight: bold; +} + +#screen_problem_list ul.group-problems { + padding-left: 1em; +} + +#screen_problem_list .group-problems li { + list-style-type: none; +} + +#screen_problem_list a { cursor: pointer; } diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index eae86ed..4a3d24d 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -205,15 +205,14 @@ groupDict, problemDict; // title: HTML structure for "name" and "desc" html.push('


'); - html.push('
'); + html.push('

'); // content: problem directory - html.push(''); } - html.push(''); return { 'language': languageIdentifier, // 'prolog', 'python', ... -- cgit v1.2.1