From d9f2e492d61fd5e18cd4a5c602b2e9313e0c90f5 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sat, 9 May 2020 10:29:13 +0200 Subject: [PATCH] style memo checkbox --- resources/sass/pages/memos.scss | 90 ++------------------------------- 1 file changed, 4 insertions(+), 86 deletions(-) diff --git a/resources/sass/pages/memos.scss b/resources/sass/pages/memos.scss index 539d21b..c13edc5 100644 --- a/resources/sass/pages/memos.scss +++ b/resources/sass/pages/memos.scss @@ -1,89 +1,3 @@ -/* -.memo { - - &-list { - - h1 { - font-size: 2.2rem; - } - - a { - text-decoration: none; - } - - &:nth-child(even) { - background-color: $light; - } - - &:hover { - background-color: $mediumLight; - - .memo-date { - opacity: 1; - } - } - } - - &-date { - opacity: 0.6; - } - - &-change { - text-align: right; - background: $greyLight; - padding: 0.5rem 1rem; - } - - &-title { - color: $white; - text-shadow: 1px 1px 2px $dark; - background-image: linear-gradient(transparent, rgba(0,0,0,0.7)); - } - - &-cover { - height: calc(100% - 5px); - top: 0; - width: 100%; - } - -} - -.memo-edit { - - .memo-text-area textarea { - height: 50vh; - } - -} - -.memo-style { - p { - margin: 0.25rem 0 0.5rem; - } - - code, - pre { - background-color: $greyLight; - } - - pre { - padding: 0.5rem; - } - - a { - color: $mediumDark; - - &:hover { - text-decoration: underline; - } - } - - img { - width: 100%; - } -} - -*/ .memo-style { @@ -135,4 +49,8 @@ ol { @apply list-decimal ml-8; } + + input[type="checkbox"] { + width: 2rem; + } }