diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-31 11:40:01 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-31 11:40:01 +0100 |
commit | cee55b766230837c21453f85e76a921cb5b8b89e (patch) | |
tree | abee4f0af6044ea49b8676b0bd8d8233b14c6e0c | |
parent | 89057a32d9f28d9931f23676033dd4a126765999 (diff) | |
download | Bits-cee55b766230837c21453f85e76a921cb5b8b89e.tar.gz Bits-cee55b766230837c21453f85e76a921cb5b8b89e.zip |
Changes to question presentation
-rw-r--r-- | design/style.css | 9 | ||||
-rw-r--r-- | 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' => '<p class="rtk_kr_q_2">%3</p>', - 'a' => '<p class="rtk_kr_a_2">%2<br /><span>%1</span><br />%3</p>', + 'q' => '<p class="vocabqa">%3</p>', + 'a' => '<p class="vocaba"><span class="vocabreading">%2</span><br />%1<br /><span>%3</span></p>', ), array( - 'q' => '<p class="rtk_kr_q_1">%1</p>', - 'a' => '<p class="rtk_kr_a_1">%1 【%2】<br /><span>%3</span></p>', + 'q' => '<p class="vocabqb">%1</p>', + 'a' => '<p class="vocaba"><span class="vocabreading">%2</span><br />%1<br /><span>%3</span></p>', + ), + ), + ), + "JA-Vocab-fr" => array( + "columns" => array("N#", "Kanji", "Kana", "French"), + "questions" => array( + array( + 'q' => '<p class="vocabqb">%1</p>', + 'a' => '<p class="vocaba"><span class="vocabreading">%2</span><br />%1<br /><span>%3</span></p>', ), ), ), |