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; } + } +}