@charset "utf-8"; /* TABLEをたてに重ねる ただ、display:block;にするだけ */ /*@media screen and (max-width:640px) { .table th, .table tr, .table td { display:block; width:100%; ] }*/ @media only screen and (max-width:800px){ .table{ display: block; margin:0px auto 0px auto; } .table thead{ display: none; } .table tbody{ display: block; } .table tbody tr{ display: block; margin-bottom: 1.0em; } .table tbody th, .table tbody td{ display: list-item; border: none; } .table tbody th{ margin-bottom: 5px; list-style-type: none; color: #fff; background: #999; } .table tbody td{ margin-left: 20px; padding: 0; background: #fff; } /* .table tbody td:nth-of-type(1):before { content: "[品詞]"; } .table tbody td:nth-of-type(2):before { content: "[意味]"; } .table tbody td:nth-of-type(3):before { content: "[用例]"; } */ } /***************************************************** /* GO TOP ******************************************************/ #gotop{ clear:both; float:right; padding:10px 25px 20px 10px; /*background:#fff;*/ font-size:10px; } #gotop a{ padding:0 0 0 12px; background:url(../images/bg_gotop.gif) 0 60% no-repeat; } /***************************** GOTO TOP ボタン演出 *****************************/ #page-top { position: fixed; bottom: 20px; right: 10px; font-size: 77%; } #page-top a { background: #666; text-decoration: none; color: #fff; width: 80px; padding: 15px 0; text-align: center; display: block; border-radius: 5px; } #page-top a:hover { text-decoration: none; background: #999; } /***************************** section.content:after 追加処理 *****************************/ /* 回り込み解除 */ section.content:after { content:""; display:block; height:0; clear:both; visibility:hidden; } /*************************************** IFRAME をレスポンシブ化する魔法のタグ この指定をしていればすべてのiframeタグを レスポンシブ対応させることができます。 使用方法