a { color: blue; text-decoration: none; } tr:nth-child(odd) { background: #EEE; } th, td { vertical-align: top; padding: 3px; } table { border-spacing: 0px; } .chars { color: #007700; } .ja { text-align: center; font-size: 2rem; font-family: 'MS PGothic', Osaka, Arial, sans-serif; } .ja_main { margin-top: 0; } .ja_main a { color: black; } .ja rt { visibility: hidden; } .ja:hover rt { visibility: visible; } .ja:hover .char_cur { color: red; } .ja:hover .char_p1 { color: magenta; } .ja:hover .char_p2 { color: blue; } .ja:hover .char_bad { color: grey; } .en { text-align: center; font-size: 1.2rem; } details .chars { font-size: 3rem; } .index_page { max-width: 1000px; margin: auto; } .about_page, .batch_page { max-width: 800px; margin: auto; text-align: justify; } .about_page h2 { border-bottom: 1px solid #aaa; } .about_page h3:before { content: "➤ "; } .vocabtable { min-width: 50%; margin: auto; margin-top: 8px; margin-bottom: 8px; } .extratable { min-width: 60%; margin: auto; margin-top: 8px; margin-bottom: 8px; } .extratable td { padding: 4px; } .tab_large { font-size: 1.2em; } .tab_large2 { font-size: 1.5em; } .font_ja { font-family: 'MS PGothic', Osaka, Arial, sans-serif; } .extra_example { text-align: center; } .extra_ja { font-size: 1.5em; } .extra_en { margin: 4px; visibility: hidden; } .extra_ja rt { visibility: hidden; } .extra_example:hover .extra_ja rt, .extra_example:hover .extra_en { visibility: visible; } #gen_section { text-align: center; } #gen_ex_display { font-family: 'MS PGothic', Osaka, Arial, sans-serif; text-align: center; font-size: 2rem; padding-top: 2em; padding-bottom: 1em; } #gen_ex_words table, #gen_ex_kanji table { margin: auto; } #gen_ex_words table td, #gen_ex_kanji table td { text-align: left; } #gen_ex_en { text-align: center; font-size: 1.2rem; padding-bottom: 3em; } #gen_ex_words { padding-bottom: 1em; } #gen_section.gen_hidden #gen_ex_en { visibility: hidden; } #gen_section.gen_hidden #gen_ex_words { visibility: hidden; } #gen_section.gen_hidden #gen_ex_kanji { visibility: hidden; } #gen_section #gen_ex_display rt { visibility: hidden; } #gen_section:not(.gen_hidden) #gen_ex_display:hover rt { visibility: visible; } form p { text-align: center; }