From 69dd40809a7a25ec545565c6b711afb3f8ad13eb Mon Sep 17 00:00:00 2001 From: yuki540 Date: Thu, 19 Apr 2018 18:36:13 +0900 Subject: [PATCH] =?UTF-8?q?add:=20sp=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/sp/_product-page.scss | 77 ++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 src/scss/modules/sp/_product-page.scss diff --git a/src/scss/modules/sp/_product-page.scss b/src/scss/modules/sp/_product-page.scss new file mode 100644 index 0000000..4df3b5c --- /dev/null +++ b/src/scss/modules/sp/_product-page.scss @@ -0,0 +1,77 @@ +@include sp-layout { + .product-page {} + + .product-box { + margin-top: 50px; + + .sub-title { + position: relative; + width: 100%; height: 40px; + font-size: 20px; + color: $theme-light-purple; + line-height: 40px; + text-align: center; + margin: 0 auto; + margin-bottom: 20px; + + &:before, + &::after { + position: absolute; + content: ""; display: block; + width: 70%; height: 1px; + background-color: $theme-light-purple; + opacity: 0.6; + } + &::before { top: 0; left: 0; } + &::after { bottom: 0; right: 0; } + } + + section { + margin-bottom: 50px; + + a { + position: relative; + display: block; + width: 90%; + background-color: #fff; + box-shadow: 0 0 5px #999; + margin: 0 auto; + margin-bottom: 20px; + overflow: hidden; + padding: 5px; + box-sizing: border-box; + transition: all 0.35s ease 0s; + + .name { + font-size: 18px; + color: $theme-purple; + padding: 5px; + box-sizing: border-box; + } + + .description { + font-size: 13px; + padding: 15px 10px; + box-sizing: border-box; + color: $theme-light-purple; + } + + .date { + display: block; + font-size: 11px; + text-align: right; + padding: 5px; + box-sizing: border-box; + color: $theme-light-purple; + } + + img { + width: 100%; + } + } + a:hover { opacity: 0.6; } + + &::after { content: ""; display: block; clear: both; } + } + } +}