diff options
-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>', ), ), ), |