From cee55b766230837c21453f85e76a921cb5b8b89e Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 31 Jan 2014 11:40:01 +0100 Subject: Changes to question presentation --- design/style.css | 9 ++++++++- lib/list/list_models.php | 17 +++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/design/style.css b/design/style.css index 99903d1..0743fc2 100644 --- a/design/style.css +++ b/design/style.css @@ -343,10 +343,17 @@ li p { font-size: 0.8em; } -.rtk_kr_q_1, .rtk_kr_a_1, .rtk_kr_q_2, .rtk_kr_a_2 { margin: 0px; padding: 0px; padding-top: 50px; } +.rtk_kr_q_1, .rtk_kr_a_1, .rtk_kr_q_2, .rtk_kr_a_2, .vocabqa, .vocabqb, .vocaba + { margin: 0px; padding: 0px; padding-top: 50px; } .rtk_kr_q_1, .rtk_kr_a_2 span { font-size: 4em; font-family: "IPAMincho", serif; } .rtk_kr_q_2, .rtk_kr_a_1 span { font-size: 1.3em; } +.vocabqa { font-size: 1.5em; } +.vocabqb { font-size: 2em; } +.vocaba { font-size: 1.5em; } +.vocaba .vocabreading { font-size: 0.7em; } +.vocaba span { padding-top: 16px; } + /* blog */ .blog_post { diff --git a/lib/list/list_models.php b/lib/list/list_models.php index 8db28a0..b68b538 100644 --- a/lib/list/list_models.php +++ b/lib/list/list_models.php @@ -18,12 +18,21 @@ $list_models = array( "columns" => array("N#", "Kanji", "Kana", "English"), "questions" => array( array( - 'q' => '

%3

', - 'a' => '

%2
%1
%3

', + 'q' => '

%3

', + 'a' => '

%2
%1
%3

', ), array( - 'q' => '

%1

', - 'a' => '

%1 【%2】
%3

', + 'q' => '

%1

', + 'a' => '

%2
%1
%3

', + ), + ), + ), + "JA-Vocab-fr" => array( + "columns" => array("N#", "Kanji", "Kana", "French"), + "questions" => array( + array( + 'q' => '

%1

', + 'a' => '

%2
%1
%3

', ), ), ), -- cgit v1.2.3