From 4dbb919d9ad35f4bbb1358ad69f1d8ea37708c6e Mon Sep 17 00:00:00 2001 From: yuki540 Date: Thu, 19 Apr 2018 19:06:27 +0900 Subject: [PATCH] =?UTF-8?q?add:=20=E3=82=BF=E3=83=96=E3=83=AC=E3=83=83?= =?UTF-8?q?=E3=83=88=E7=89=88=E3=81=AE=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=82=B7=E3=83=BC=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scss/modules/tablet/_memories-page.scss | 46 +++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/scss/modules/tablet/_memories-page.scss diff --git a/src/scss/modules/tablet/_memories-page.scss b/src/scss/modules/tablet/_memories-page.scss new file mode 100644 index 0000000..1a65be4 --- /dev/null +++ b/src/scss/modules/tablet/_memories-page.scss @@ -0,0 +1,46 @@ +@include tablet-layout { + .memories-page {} + + .memories-box { + margin-top: 50px; + padding-bottom: 50px; + + a { + position: relative; + display: block; + width: 80%; + margin: 0 auto; + margin-bottom: 40px; + background-color: $theme-light-purple; + overflow: hidden; + padding: 5px; + box-sizing: border-box; + transition: all 0.35s ease 0s; + + img { + width: 100%; + display: block; + } + + .title { + font-size: 18px; + color: $theme-bg; + padding: 10px 5px; + box-sizing: border-box; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + + .date { + font-size: 14px; + color: #ccc; + text-align: right; + display: block; + padding: 5px; + box-sizing: border-box; + } + } + a:hover { background-color: $theme-pink; } + } +}