Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* スマホでカードをリストにする */
- @media screen and (max-width: 480px) {
- .page-archive .archive-entries .archive-entry {
- padding: 16px 0 16px 160px;
- position: relative;
- min-height: 108px; /* タイトルが2行以下の場合にリストの高さが減るのを防ぐ */
- }
- .page-archive .archive-entries .archive-entry-header {
- padding: 0 16px;
- }
- .page-archive .archive-entries .archive-date{
- margin: 0;
- }
- .page-archive .archive-entries .entry-title,
- .page-archive .archive-entries .entry-title a{
- font-size: 1em; /*見出しのフォントサイズ */
- }
- .page-archive .archive-entries .categories {
- display: none; /* カテゴリ非表示 */
- }
- .page-archive .archive-entries .entry-thumb-link {
- position: absolute;
- top: 0;
- left: 0;
- width: 144px;
- height: auto;
- padding: 0;
- margin: 16px 0 0 16px;
- }
- .page-archive .archive-entries .entry-thumb {
- position: static;
- height: 0;
- padding-top: 52.5%;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement