diff --git a/themes/coo/source/css/components/bsa_carbon.css b/themes/coo/source/css/components/bsa_carbon.css index 66f91c8..730752b 100644 --- a/themes/coo/source/css/components/bsa_carbon.css +++ b/themes/coo/source/css/components/bsa_carbon.css @@ -1,69 +1,71 @@ #carbonads { - display: flex; - position: fixed; - bottom: 50px; - right: 20px; - max-width: 315px; - background-color: hsl(0, 0%, 98%); - box-shadow: 0 6px 8px rgba(102, 119, 136, 0.03), 0 1px 2px rgba(102, 119, 136, 0.3); - animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; - @apply dark:bg-slate-800 rounded-lg z-20 dark:shadow-3xl; + display: flex; + position: fixed; + bottom: 50px; + right: 20px; + max-width: 315px; + background-color: hsl(0, 0%, 98%); + box-shadow: + 0 6px 8px rgba(102, 119, 136, 0.03), + 0 1px 2px rgba(102, 119, 136, 0.3); + animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both; + @apply z-20 rounded-lg dark:bg-slate-800 dark:shadow-3xl; } #carbonads > span { - display: block; - position: relative; - padding: 6px; - background-color: #fff; - @apply dark:bg-slate-800 rounded-lg; + display: block; + position: relative; + padding: 6px; + background-color: #fff; + @apply rounded-lg dark:bg-slate-800; } #carbonads .carbon-wrap { - display: flex; + display: flex; } #carbonads .carbon-img { - margin-right: 10px; - line-height: 1; + margin-right: 10px; + line-height: 1; } -#carbonads .carbon-img > img{ - @apply rounded-lg; +#carbonads .carbon-img > img { + @apply rounded-lg; } #carbonads .carbon-text { - margin-bottom: 12px; - font-size: 12px; - line-height: 1.45; - text-decoration: none; - color: #637381; - @apply dark:text-slate-300; + margin-bottom: 12px; + font-size: 12px; + line-height: 1.45; + text-decoration: none; + color: #637381; + @apply dark:text-slate-300; } #carbonads .carbon-poweredby { - position: absolute; - bottom: 10px; - left: 152px; + position: absolute; + bottom: 10px; + left: 152px; - font-size: 8px; - font-weight: 500; - line-height: 1; - text-decoration: none; - letter-spacing: .5px; - text-transform: uppercase; - color: #c5cdd0; - @apply dark:text-slate-600; + font-size: 8px; + font-weight: 500; + line-height: 1; + text-decoration: none; + letter-spacing: 0.5px; + text-transform: uppercase; + color: #c5cdd0; + @apply dark:text-slate-600; } @keyframes scale-up-center { - 0% { - opacity: 0; - -webkit-transform: scale(0.9); - transform: scale(0.9); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); - } -} \ No newline at end of file + 0% { + opacity: 0; + -webkit-transform: scale(0.9); + transform: scale(0.9); + } + 100% { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} diff --git a/themes/coo/source/css/components/bsa_custom.css b/themes/coo/source/css/components/bsa_custom.css index 188f2a1..de1e3a8 100644 --- a/themes/coo/source/css/components/bsa_custom.css +++ b/themes/coo/source/css/components/bsa_custom.css @@ -8,44 +8,44 @@ */ #bsa_custom { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, - Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; - font-size: 12px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", + sans-serif; + font-size: 12px; } #bsa_custom .native-fixed { - box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.075); - position: fixed; - inset: auto 0 0 0; - display: flex; - justify-content: center; - align-items: center; - z-index: 10; - @apply bg-emerald-500 dark:bg-slate-700; + box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.075); + position: fixed; + inset: auto 0 0 0; + display: flex; + justify-content: center; + align-items: center; + z-index: 10; + @apply bg-emerald-500 dark:bg-slate-700; } #bsa_custom a { - text-decoration: none; - display: flex; - justify-content: center; - align-items: center; - /*padding: 1.75ex 2ch;*/ - color: #ffffff; + text-decoration: none; + display: flex; + justify-content: center; + align-items: center; + /*padding: 1.75ex 2ch;*/ + color: #ffffff; } #bsa_custom .native-sponsor { - border-radius: 0.5ex; - margin-right: 1ch; - line-height: 1; - /*padding: 1ex 1ch;*/ - font-weight: 600; - font-size: 0.75em; - text-transform: uppercase; - color: #2db67c; - @apply bg-white dark:bg-slate-900; + border-radius: 0.5ex; + margin-right: 1ch; + line-height: 1; + /*padding: 1ex 1ch;*/ + font-weight: 600; + font-size: 0.75em; + text-transform: uppercase; + color: #2db67c; + @apply bg-white dark:bg-slate-900; } #bsa_custom .native-text { - font-size: 1em; - line-height: 1.3; + font-size: 1em; + line-height: 1.3; } diff --git a/themes/coo/source/css/components/bsa_custom_right_card.css b/themes/coo/source/css/components/bsa_custom_right_card.css index fd34227..32158e7 100644 --- a/themes/coo/source/css/components/bsa_custom_right_card.css +++ b/themes/coo/source/css/components/bsa_custom_right_card.css @@ -25,4 +25,4 @@ }); } }); - */ \ No newline at end of file + */ diff --git a/themes/coo/source/css/components/code.css b/themes/coo/source/css/components/code.css index 8d846c1..837124f 100644 --- a/themes/coo/source/css/components/code.css +++ b/themes/coo/source/css/components/code.css @@ -1,58 +1,57 @@ code { - @apply text-emerald-600; - @apply dark:text-slate-300; + @apply text-emerald-600; + @apply dark:text-slate-300; } pre { - line-height: 1.5; - @apply p-4 overflow-hidden overflow-x-auto bg-white; - @apply dark:bg-slate-800; + line-height: 1.5; + @apply overflow-hidden overflow-x-auto bg-white p-4; + @apply dark:bg-slate-800; } .mdLayout pre + p:not(:last-child) { - @apply border-t border-slate-200; - @apply dark:border-slate-700/50; + @apply border-t border-slate-200; + @apply dark:border-slate-700/50; } /* When there is only one pre code block, the scroll bar is displayed at the bottom */ pre:only-child { - @apply h-full; + @apply h-full; } pre > code { - color: #345; - padding: 0!important; - background: transparent; - overflow: visible; + color: #345; + padding: 0 !important; + background: transparent; + overflow: visible; } pre > code.wrap { - @apply break-words whitespace-pre-wrap !important; + @apply whitespace-pre-wrap break-words !important; } .mdLayout .line-highlight { - transform: translate3d(0, 2px, 0); - background: linear-gradient(to right, rgba(20, 175, 131, 0.05) 25%, transparent); + transform: translate3d(0, 2px, 0); + background: linear-gradient(to right, rgba(20, 175, 131, 0.05) 25%, transparent); } .mdLayout .line-highlight[data-end] { - margin-top: 0; + margin-top: 0; } -.mdLayout .line-highlight::before, .mdLayout .line-highlight::after { - display: none; +.mdLayout .line-highlight::before, +.mdLayout .line-highlight::after { + display: none; } .mdLayout code.hljs { - background: transparent; + background: transparent; } - .note-content pre { - padding: 6px 0 !important; + padding: 6px 0 !important; } .note-content pre code { - padding: 1rem !important; + padding: 1rem !important; } - diff --git a/themes/coo/source/css/components/common.css b/themes/coo/source/css/components/common.css index 0fd4ec9..f137e73 100644 --- a/themes/coo/source/css/components/common.css +++ b/themes/coo/source/css/components/common.css @@ -1,11 +1,11 @@ a.underline { - text-decoration: none; - background-image: linear-gradient(transparent, transparent 6px, #34495e 6px, #34495e); - background-position: bottom; - background-size: 100% 6px; - background-repeat: repeat-x; + text-decoration: none; + background-image: linear-gradient(transparent, transparent 6px, #34495e 6px, #34495e); + background-position: bottom; + background-size: 100% 6px; + background-repeat: repeat-x; } a.underline:hover { - background-image: linear-gradient(transparent, transparent 4px, #1d1d1d 4px, #1D1D1DFF); -} \ No newline at end of file + background-image: linear-gradient(transparent, transparent 4px, #1d1d1d 4px, #1d1d1dff); +} diff --git a/themes/coo/source/css/components/custom_tag.css b/themes/coo/source/css/components/custom_tag.css index e96bcaf..6c97f33 100644 --- a/themes/coo/source/css/components/custom_tag.css +++ b/themes/coo/source/css/components/custom_tag.css @@ -1,15 +1,15 @@ yel { - @apply text-amber-600; + @apply text-amber-600; } red { - @apply text-red-600; + @apply text-red-600; } pur { - @apply text-purple-600; + @apply text-purple-600; } blu { - @apply text-blue-600; -} \ No newline at end of file + @apply text-blue-600; +} diff --git a/themes/coo/source/css/components/layer.css b/themes/coo/source/css/components/layer.css index 08da839..810ba97 100644 --- a/themes/coo/source/css/components/layer.css +++ b/themes/coo/source/css/components/layer.css @@ -1,38 +1,37 @@ @layer components { - .openAnimation { - animation: 200ms cubic-bezier(0, 0, 0.2, 1) 0s 1 normal both running openAnimation; - } + .openAnimation { + animation: 200ms cubic-bezier(0, 0, 0.2, 1) 0s 1 normal both running openAnimation; + } - .closeAnimation { - animation: 200ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both running closeAnimation; - } + .closeAnimation { + animation: 200ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both running closeAnimation; + } - .fadeIn { - @apply animate-in fade-in duration-100; - } + .fadeIn { + @apply duration-100 animate-in fade-in; + } } - @keyframes openAnimation { - from { - transform: scale(0.8); - opacity: 0; - } + from { + transform: scale(0.8); + opacity: 0; + } - to { - transform: scale(1); - opacity: 1; - } + to { + transform: scale(1); + opacity: 1; + } } @keyframes closeAnimation { - from { - transform: scale(1); - opacity: 1; - } + from { + transform: scale(1); + opacity: 1; + } - to { - transform: scale(0.8); - opacity: 0; - } + to { + transform: scale(0.8); + opacity: 0; + } } diff --git a/themes/coo/source/css/components/layout_list.css b/themes/coo/source/css/components/layout_list.css index 33188f2..ee0305f 100644 --- a/themes/coo/source/css/components/layout_list.css +++ b/themes/coo/source/css/components/layout_list.css @@ -1,134 +1,125 @@ .mdLayout .h3-wrap > .section ul > li { - padding: 9px; - padding-left: 26px; - position: relative; - border-bottom: solid 1px #ececec94; - @apply dark:border-slate-700/50; + padding: 9px; + padding-left: 26px; + position: relative; + border-bottom: solid 1px #ececec94; + @apply dark:border-slate-700/50; } .mdLayout .h3-wrap > .section ul > li > p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mdLayout .h3-wrap > .section ul:not(.marker-none):not(.collapsible) > li::before { - content: ''; - position: absolute; - display: inline-block; - width: 5px; - height: 5px; - background: #556677; - border-radius: 50%; - left: 14px; - top: 18px; + content: ""; + position: absolute; + display: inline-block; + width: 5px; + height: 5px; + background: #556677; + border-radius: 50%; + left: 14px; + top: 18px; } .mdLayout .h3-wrap > .section ul.marker-round > li { - padding-left: 30px; + padding-left: 30px; } -.mdLayout .h3-wrap > .section ul.marker-round > li::before{ - content: ""; - top: 16px; - @apply inline-block w-2 h-2 bg-white border border-2 border-emerald-600 rounded-full; +.mdLayout .h3-wrap > .section ul.marker-round > li::before { + content: ""; + top: 16px; + @apply inline-block h-2 w-2 rounded-full border border-2 border-emerald-600 bg-white; } - .mdLayout .h3-wrap > .section > ul.collapsible > li > pre { - display: none; + display: none; } -.mdLayout .h3-wrap > .section > ul.collapsible > li.active > pre { - display: block; +.mdLayout .h3-wrap > .section > ul.collapsible > li.active > pre { + display: block; } -.mdLayout .h3-wrap > .section > ul.collapsible > li > strong:hover{ - cursor: pointer; +.mdLayout .h3-wrap > .section > ul.collapsible > li > strong:hover { + cursor: pointer; } .mdLayout .h3-wrap > .section > ul.collapsible > li > strong.arrow-down:before { - content: "▼"; /*▼*/ + content: "▼"; /*▼*/ } .mdLayout .h3-wrap > .section > ul.collapsible > li > strong:before { - content: "▶"; /*▼*/ - position: absolute; - left: 10px; - font-size: 0.825em; - @apply text-emerald-500; + content: "▶"; /*▼*/ + position: absolute; + left: 10px; + font-size: 0.825em; + @apply text-emerald-500; } .mdLayout .h3-wrap > .section > ul.marker-timeline { - counter-reset: stepCount; - margin-top:1rem; + counter-reset: stepCount; + margin-top: 1rem; } .mdLayout .h3-wrap > .section > ul.marker-timeline > li { - padding-top: 2px; - padding-bottom: 1.25rem; - border-left: 2px solid #48c78e; - position: relative; - padding-left: 22px; - margin-left: 30px; - border-bottom: 0; - @apply text-slate-900 dark:text-slate-50 dark:border-slate-600; + padding-top: 2px; + padding-bottom: 1.25rem; + border-left: 2px solid #48c78e; + position: relative; + padding-left: 22px; + margin-left: 30px; + border-bottom: 0; + @apply text-slate-900 dark:border-slate-600 dark:text-slate-50; } - .mdLayout .h3-wrap > .section > ul.marker-timeline > li:last-child { - padding-bottom: 0.8rem; + padding-bottom: 0.8rem; } - .mdLayout .h3-wrap > .section > ul.marker-timeline > li > pre { - padding: 0; - margin-top: 1rem; + padding: 0; + margin-top: 1rem; } .mdLayout .h3-wrap > .section > ul.marker-timeline > li::before { - counter-increment: stepCount; - content: counter(stepCount); - left: -14px; - border: 2px solid #48c78e; - @apply absolute rounded-full w-6 h-6 top-0 text-center bg-white text-sm; - @apply dark:border-slate-600 dark:bg-slate-800; + counter-increment: stepCount; + content: counter(stepCount); + left: -14px; + border: 2px solid #48c78e; + @apply absolute top-0 h-6 w-6 rounded-full bg-white text-center text-sm; + @apply dark:border-slate-600 dark:bg-slate-800; } - .mdLayout .h3-wrap > .section > ul.marker-timeline > li:first-child::before { - background: #48c78e; - color:white; + background: #48c78e; + color: white; } - -.mdLayout .h3-wrap > .section > ul.marker-timeline > li:last-child{ - border-image: linear-gradient(to bottom, #48c78e, rgba(0, 0, 0, 0)) 1 100%; +.mdLayout .h3-wrap > .section > ul.marker-timeline > li:last-child { + border-image: linear-gradient(to bottom, #48c78e, rgba(0, 0, 0, 0)) 1 100%; } - .mdLayout .h3-wrap > .section > ul.marker-timeline > li > h4 { - color: #2a2839; - font-family: "Poppins", sans-serif; - font-weight: 500; - @apply dark:text-slate-300; + color: #2a2839; + font-family: "Poppins", sans-serif; + font-weight: 500; + @apply dark:text-slate-300; } - .mdLayout .h3-wrap > .section > ul.icon-list { - @apply list-none list-inside; + @apply list-inside list-none; } .mdLayout .h3-wrap > .section > ul.icon-list > li { - padding: 9px; + padding: 9px; } .mdLayout .h3-wrap > .section > ul.icon-list > li a { - @apply flex items-center hover:bg-gray-200 rounded-lg p-3 text-slate-800; - @apply fadeIn no-underline; + @apply flex items-center rounded-lg p-3 text-slate-800 hover:bg-gray-200; + @apply fadeIn no-underline; } .mdLayout .h3-wrap > .section > ul.icon-list > li a img { - @apply h-6 mr-4; + @apply mr-4 h-6; } - - diff --git a/themes/coo/source/css/components/layout_note.css b/themes/coo/source/css/components/layout_note.css index f1f4a5a..e73acb4 100644 --- a/themes/coo/source/css/components/layout_note.css +++ b/themes/coo/source/css/components/layout_note.css @@ -1,148 +1,154 @@ .note-content ul > li { - @apply py-2.5 md:px-2.5; - position: relative; + @apply py-2.5 md:px-2.5; + position: relative; } -.note-content ul > li:first-child{ - @apply pt-5; +.note-content ul > li:first-child { + @apply pt-5; } .note-content { - color: #34495e; - font-display: swap; - font-size: 18px; - font-family: source sans pro, open sans, helvetica neue, Arial, sans-serif; - line-height: 1.8; - /*@apply dark:text-slate-300;*/ + color: #34495e; + font-display: swap; + font-size: 18px; + font-family: + source sans pro, + open sans, + helvetica neue, + Arial, + sans-serif; + line-height: 1.8; + /*@apply dark:text-slate-300;*/ } .note-width { - max-width: 46rem; + max-width: 46rem; } .note-content { - min-height: 100%; - overflow-wrap: break-word + min-height: 100%; + overflow-wrap: break-word; } -.note-content ul, .note-content ol { - margin: 2px 0 16px +.note-content ul, +.note-content ol { + margin: 2px 0 16px; } .note-content p { - margin: 4px 0; - hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - -webkit-hyphens: auto + margin: 4px 0; + hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; } -.node-item pre, .node-item pre > code, -.note-content pre, .note-content pre > code{ - @apply bg-[#f6f6f6] rounded-lg mt-3; - @apply dark:bg-slate-800; +.node-item pre, +.node-item pre > code, +.note-content pre, +.note-content pre > code { + @apply mt-3 rounded-lg bg-[#f6f6f6]; + @apply dark:bg-slate-800; } .note-content a { - color: #0366d6; - text-decoration: none; - background-image: linear-gradient(transparent, transparent 6px, #34495e 6px, #34495e); - background-position: bottom; - background-size: 100% 6px; - background-repeat: repeat-x + color: #0366d6; + text-decoration: none; + background-image: linear-gradient(transparent, transparent 6px, #34495e 6px, #34495e); + background-position: bottom; + background-size: 100% 6px; + background-repeat: repeat-x; } .note-content a:hover { - background-image: linear-gradient(transparent, transparent 4px, #2bbc8a 4px, #2bbc8a) + background-image: linear-gradient(transparent, transparent 4px, #2bbc8a 4px, #2bbc8a); } .note-content h2 { - font-weight: 500; - font-size: 1.5rem; - margin: 24px 0 2px 0; + font-weight: 500; + font-size: 1.5rem; + margin: 24px 0 2px 0; } .note-content h3 { - font-weight: 400; - font-size: 1.3rem; - margin: 24px 0 2px 0; + font-weight: 400; + font-size: 1.3rem; + margin: 24px 0 2px 0; } - -.note-content img, .note-content video { - display: block; - margin: auto; - max-width: 100%; - height: auto +.note-content img, +.note-content video { + display: block; + margin: auto; + max-width: 100%; + height: auto; } .note-content blockquote { - border-left: 3px solid #2bbc8a; - border-left-width: 6px; - background-color: #f8f8f8; - padding: 15px 20px; - margin-left: -1rem; - margin-right: -1rem; + border-left: 3px solid #2bbc8a; + border-left-width: 6px; + background-color: #f8f8f8; + padding: 15px 20px; + margin-left: -1rem; + margin-right: -1rem; } .note-content blockquote p { - margin: 0 + margin: 0; } .note-content blockquote footer { - margin: 0; - color: #8c8c8c; - font-size: 11px + margin: 0; + color: #8c8c8c; + font-size: 11px; } .note-content blockquote footer a { - background-image: linear-gradient(transparent, transparent 5px, #8c8c8c 5px, #8c8c8c); - color: #8c8c8c + background-image: linear-gradient(transparent, transparent 5px, #8c8c8c 5px, #8c8c8c); + color: #8c8c8c; } .note-content blockquote footer a:hover { - background-image: linear-gradient(transparent, transparent 4px, #a3a3a3 4px, #a3a3a3); - color: #a3a3a3 + background-image: linear-gradient(transparent, transparent 4px, #a3a3a3 4px, #a3a3a3); + color: #a3a3a3; } .note-content blockquote footer cite:before { - padding: 0 .5em; - content: "—" + padding: 0 0.5em; + content: "—"; } - .note-content .h-anchor { - display: none; + display: none; } .note-content ul.popular-posts > li { - @apply py-2.5 ; - position: relative; - border-bottom: solid 1px #ececec94; + @apply py-2.5; + position: relative; + border-bottom: solid 1px #ececec94; } -.note-content ul.popular-posts > li:first-child{ - @apply pt-5; +.note-content ul.popular-posts > li:first-child { + @apply pt-5; } - /* tags style */ .post-tags-list { - margin-top: 20px; - margin-bottom: 30px; - display: table; + margin-top: 20px; + margin-bottom: 30px; + display: table; } .post-tags-list-item { - float: left; - font-size: 12px; - margin-right: 10px; - background: rgba(102, 128, 153, 0.075); - border-radius: 4px; - padding: 2px 5px; - color: rgba(44, 63, 81, 0.5); + float: left; + font-size: 12px; + margin-right: 10px; + background: rgba(102, 128, 153, 0.075); + border-radius: 4px; + padding: 2px 5px; + color: rgba(44, 63, 81, 0.5); } .post-tags-list-link { - cursor: default; -} \ No newline at end of file + cursor: default; +} diff --git a/themes/coo/source/css/components/layout_table.css b/themes/coo/source/css/components/layout_table.css index d6af529..a4505a0 100644 --- a/themes/coo/source/css/components/layout_table.css +++ b/themes/coo/source/css/components/layout_table.css @@ -1,118 +1,131 @@ .mdLayout table { - width: 100%; + width: 100%; } .mdLayout .section > table:last-child::after { - content: ''; - @apply block h-2; + content: ""; + @apply block h-2; } .mdLayout table tr + tr { - border-top: solid 1px #ececec94; - @apply dark:border-slate-700/50; + border-top: solid 1px #ececec94; + @apply dark:border-slate-700/50; } .mdLayout table tbody + tbody { - border-top: solid 1px rgb(135 137 139 / 30%); + border-top: solid 1px rgb(135 137 139 / 30%); } -.mdLayout table td, .mdLayout table th { - padding: 9px 14px; - text-align: left; +.mdLayout table td, +.mdLayout table th { + padding: 9px 14px; + text-align: left; } -.mdLayout table tr th:last-child, .mdLayout table tr td:last-child { - text-align: right; +.mdLayout table tr th:last-child, +.mdLayout table tr td:last-child { + text-align: right; } .mdLayout table td[rowspan] { - vertical-align: middle !important; + vertical-align: middle !important; } .mdLayout table td[colspan] { - text-align: center !important; + text-align: center !important; } .mdLayout table td:first-child { - white-space: nowrap; + white-space: nowrap; } .mdLayout table td:first-child > code { - @apply text-emerald-600; + @apply text-emerald-600; } -.mdLayout table a, .mdLayout table a:visited { - color: #35a; - text-decoration: none; +.mdLayout table a, +.mdLayout table a:visited { + color: #35a; + text-decoration: none; } .mdLayout table td:first-child > code ~ em { - font-size: 11px; - font-style: normal; - color: #556677; + font-size: 11px; + font-style: normal; + color: #556677; } .mdLayout table thead { - display: none; + display: none; } .mdLayout table thead th { - font-weight: normal; + font-weight: normal; } - -.mdLayout table.shortcuts td:not(:last-child) > code, .mdLayout ul.shortcuts > li > code, kbd { - letter-spacing: 0.075rem; - /*margin: 0px 0.1em;*/ - padding: 0.1em 0.54em; - border: 1px solid rgb(204, 204, 204); - line-height: 1.6; - font-family: Arial,Helvetica,sans-serif; - font-size: 12px; - display: inline-block; - box-shadow: 0px 1px 0px rgb(0 0 0 / 20%), inset 0px 0px 0px 2px #ffffff; - background-color: rgb(247, 247, 247); - -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset; - -webkit-box-shadow: 0 1px 0px rgb(0 0 0 / 20%), 0 0 0 2px #ffffff inset; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - /*text-shadow: 0 1px 0 #fff;*/ - color: #303835; - @apply dark:shadow-slate-500 dark:border-slate-700 dark:bg-slate-700/50 dark:text-slate-300 dark:shadow-none; +.mdLayout table.shortcuts td:not(:last-child) > code, +.mdLayout ul.shortcuts > li > code, +kbd { + letter-spacing: 0.075rem; + /*margin: 0px 0.1em;*/ + padding: 0.1em 0.54em; + border: 1px solid rgb(204, 204, 204); + line-height: 1.6; + font-family: Arial, Helvetica, sans-serif; + font-size: 12px; + display: inline-block; + box-shadow: + 0px 1px 0px rgb(0 0 0 / 20%), + inset 0px 0px 0px 2px #ffffff; + background-color: rgb(247, 247, 247); + -moz-box-shadow: + 0 1px 0px rgba(0, 0, 0, 0.2), + 0 0 0 2px #ffffff inset; + -webkit-box-shadow: + 0 1px 0px rgb(0 0 0 / 20%), + 0 0 0 2px #ffffff inset; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + /*text-shadow: 0 1px 0 #fff;*/ + color: #303835; + @apply dark:border-slate-700 dark:bg-slate-700/50 dark:text-slate-300 dark:shadow-none dark:shadow-slate-500; } - -.mdLayout table.left-text tr th, .mdLayout table.left-text tr td, .mdLayout table.left-text tr td:last-child { - text-align: left; +.mdLayout table.left-text tr th, +.mdLayout table.left-text tr td, +.mdLayout table.left-text tr td:last-child { + text-align: left; } -.mdLayout table.center-text tr th, .mdLayout table.center-text tr td, .mdLayout table.center-text tr td:last-child { - text-align: center; +.mdLayout table.center-text tr th, +.mdLayout table.center-text tr td, +.mdLayout table.center-text tr td:last-child { + text-align: center; } .mdLayout table.show-header thead { - display: table-header-group; - border-bottom: solid 1px rgba(85, 102, 119, 0.3); + display: table-header-group; + border-bottom: solid 1px rgba(85, 102, 119, 0.3); } .mdLayout table.bold-first tr > td:first-child { - font-weight: bold; + font-weight: bold; } .mdLayout table.plus-first tr > td:first-child { - @apply text-2xl; + @apply text-2xl; } -.mdLayout table.no-wrap td, .mdLayout table.no-wrap th { - white-space: nowrap; +.mdLayout table.no-wrap td, +.mdLayout table.no-wrap th { + white-space: nowrap; } .mdLayout table td em { - opacity: 0.6; - @apply dark:opacity-90; + opacity: 0.6; + @apply dark:opacity-90; } - .mdLayout table.style-list td + td, .mdLayout table.style-list-arrow td + td { padding-top: 0 !important; @@ -124,10 +137,9 @@ text-align: left !important; } - .mdLayout table.style-list-arrow td:first-child::before, ul.style-arrow li:before { - content: ''; + content: ""; display: inline-block; width: 0px; height: 0px; @@ -136,4 +148,3 @@ ul.style-arrow li:before { border-left: 6px solid #228e6c; border-bottom: 5px solid transparent; } - diff --git a/themes/coo/source/css/components/pagination.css b/themes/coo/source/css/components/pagination.css index f54eeb4..8ed92b3 100644 --- a/themes/coo/source/css/components/pagination.css +++ b/themes/coo/source/css/components/pagination.css @@ -1,15 +1,15 @@ .pagination .prev, .pagination .next, .pagination .page-number { - @apply shadow px-3 py-2.5 mx-1 font-medium text-slate-700 bg-white rounded-md hover:bg-emerald-500 hover:text-white; - @apply dark:text-slate-300 dark:bg-slate-800; + @apply mx-1 rounded-md bg-white px-3 py-2.5 font-medium text-slate-700 shadow hover:bg-emerald-500 hover:text-white; + @apply dark:bg-slate-800 dark:text-slate-300; } .pagination .space { - @apply px-3 py-2.5 mx-1 font-medium text-slate-700; - @apply dark:text-slate-300; + @apply mx-1 px-3 py-2.5 font-medium text-slate-700; + @apply dark:text-slate-300; } .pagination .page-number.current { - @apply bg-emerald-500 text-white; -} \ No newline at end of file + @apply bg-emerald-500 text-white; +} diff --git a/themes/coo/source/css/components/search.css b/themes/coo/source/css/components/search.css index b55a678..a64cbbf 100644 --- a/themes/coo/source/css/components/search.css +++ b/themes/coo/source/css/components/search.css @@ -1,58 +1,60 @@ #mysearch { - @apply animate-in fade-in duration-200; + @apply duration-200 animate-in fade-in; } #mysearch-box { - animation: 200ms cubic-bezier(0, 0, 0.2, 1) 0s 1 normal both running openAnimation; + animation: 200ms cubic-bezier(0, 0, 0.2, 1) 0s 1 normal both running openAnimation; } #mysearch em { - @apply not-italic text-emerald-500; + @apply not-italic text-emerald-500; } .text-color-inherit { - color: inherit + color: inherit; } @media (min-width: 1200px) { - .xl\:max-h-832 { - max-height: 800px - } + .xl\:max-h-832 { + max-height: 800px; + } } #mysearch-list li.inactive { - @apply border-slate-200; + @apply border-slate-200; } #mysearch-list li.inactive > a.link { - @apply text-slate-900 bg-transparent; + @apply bg-transparent text-slate-900; } #mysearch-list li.inactive .icon-enter { - @apply hidden; + @apply hidden; } -#mysearch-list li.inactive i.icon, #mysearch-list li.inactive .sub-intro { - @apply text-slate-400; +#mysearch-list li.inactive i.icon, +#mysearch-list li.inactive .sub-intro { + @apply text-slate-400; } #mysearch-list li.active { - @apply border-transparent z-10 shadow-sm; + @apply z-10 border-transparent shadow-sm; } #mysearch-list li.active > a { - @apply text-white bg-emerald-500 shadow; + @apply bg-emerald-500 text-white shadow; } #mysearch-list li.active em { - color: inherit; - @apply underline; + color: inherit; + @apply underline; } #mysearch-list li.active .icon-enter { - @apply block; + @apply block; } -#mysearch-list li.active i.icon, #mysearch-list li.active .sub-intro { - @apply text-white; -} \ No newline at end of file +#mysearch-list li.active i.icon, +#mysearch-list li.active .sub-intro { + @apply text-white; +}