From 539c2a9621b37e9165a16577d11d0be33e04450e Mon Sep 17 00:00:00 2001 From: yuki540 Date: Thu, 19 Apr 2018 19:05:28 +0900 Subject: [PATCH] =?UTF-8?q?add:=20pc=E7=89=88=E3=81=AE=E3=82=B9=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=82=B7=E3=83=BC=E3=83=88=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scss/modules/pc/_memories-page.scss | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/scss/modules/pc/_memories-page.scss diff --git a/src/scss/modules/pc/_memories-page.scss b/src/scss/modules/pc/_memories-page.scss new file mode 100644 index 0000000..3cbb252 --- /dev/null +++ b/src/scss/modules/pc/_memories-page.scss @@ -0,0 +1,54 @@ +@include pc-layout { + .memories-page {} + + .memories-box { + width: 600px; + margin: 0 auto; + margin-top: 50px; + padding-bottom: 50px; + + a { + position: relative; + float: left; + display: block; + width: 290px; height: 250px; + margin-right: 10px; + margin-bottom: 10px; + 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: 16px; + color: $theme-bg; + padding: 5px; + box-sizing: border-box; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + + .date { + position: absolute; + bottom: 0; right: 0; + font-size: 12px; + color: #ccc; + text-align: right; + display: block; + padding: 5px; + box-sizing: border-box; + } + } + a:nth-child(2n) { margin-right: 0; } + a:hover { background-color: $theme-pink; } + + &:after { content: ""; display: block; clear: both; } + } +}