Skip to content

Commit

Permalink
⬆️ update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
canstand committed Dec 19, 2023
1 parent f462696 commit cde3cdd
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 143 deletions.
62 changes: 31 additions & 31 deletions assets/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

body {
@apply text-neutral-700 dark:text-neutral-300 bg-neutral-50 dark:bg-neutral-800;
@apply bg-neutral-50 text-neutral-700 dark:bg-neutral-800 dark:text-neutral-300;
}

/* Heading anchors */
Expand All @@ -19,7 +19,7 @@ body {
}

.prose .heading-anchor {
@apply absolute top-0 no-underline -left-5 opacity-0;
@apply absolute -left-5 top-0 no-underline opacity-0;
}

.prose .heading-anchor:hover,
Expand All @@ -43,21 +43,21 @@ body {
.prose h1:lang(zh),
.prose h2:lang(zh),
.prose h3:lang(zh) {
@apply mt-6 tracking-wider font-semibold;
@apply mt-6 font-semibold tracking-wider;
/* margin-block-start: 24px;
font-weight: 600; */
}

.prose h4:lang(zh),
.prose h5:lang(zh) {
@apply mt-6 mb-3 font-semibold;
@apply mb-3 mt-6 font-semibold;
/* margin-block-start: 24px;
margin-block-end: 12px;
font-weight: 600; */
}

.prose h6:lang(zh) {
@apply mt-6 mb-3;
@apply mb-3 mt-6;
/* margin-block-start: 24px;
margin-block-end: 12px; */
}
Expand Down Expand Up @@ -96,7 +96,7 @@ body {
/* font-size: 18px;
font-weight: 600;
line-height: 24px; */
@apply text-lg leading-6 font-semibold;
@apply text-lg font-semibold leading-6;
}

.prose hr:lang(zh) {
Expand All @@ -105,13 +105,13 @@ body {
margin-block-end: 47px;
margin-inline-start: auto;
margin-inline-end: auto; */
@apply mt-12 mb-[47px] mx-auto w-1/3;
@apply mx-auto mb-[47px] mt-12 w-1/3;
}

.prose p:lang(zh) {
/* margin-block-start: 12px;
margin-block-end: 24px; */
@apply mt-3 mb-6;
@apply mb-6 mt-3;
/* text-align: justify; */
}

Expand All @@ -126,7 +126,7 @@ body {
.prose dl:lang(zh) {
/* margin-block-start: 12px;
margin-block-end: 24px; */
@apply mt-3 mb-6;
@apply mb-6 mt-3;
}

.prose ul:lang(zh) > li,
Expand Down Expand Up @@ -162,7 +162,7 @@ body {
margin-block-end: 24px;
margin-inline-start: auto;
margin-inline-end: auto; */
@apply box-border mx-auto mt-3 mb-6 border-neutral-300 dark:border-neutral-600;
@apply mx-auto mb-6 mt-3 box-border border-neutral-300 dark:border-neutral-600;
}

.prose thead:lang(zh) th,
Expand All @@ -174,25 +174,25 @@ body {
border-width: 1px;
border-collapse: collapse;
border-style: solid; */
@apply p-2 border border-collapse border-solid border-neutral-300 dark:border-neutral-600;
@apply border-collapse border border-solid border-neutral-300 p-2 dark:border-neutral-600;
}

.prose tbody:lang(zh) tr {
/* border-bottom-width: 0px;
border-collapse: collapse; */
@apply border-b-0 border-collapse;
@apply border-collapse border-b-0;
}

.prose tbody:lang(zh) tr:last-child {
/* border-bottom-width: 0px;
border-collapse: collapse; */
@apply border-b-0 border-collapse;
@apply border-collapse border-b-0;
}

.prose thead:lang(zh) tr:first-child {
/* border-top-width: 0px;
border-collapse: collapse; */
@apply border-t-0 border-collapse;
@apply border-collapse border-t-0;
}

.prose thead:lang(zh) th:last-child,
Expand All @@ -211,7 +211,7 @@ body {
.prose :lang(zh) code::after {
/* content: none;
width: 4px; */
@apply content-none w-1;
@apply w-1 content-none;
}

.prose blockquote:lang(zh) {
Expand Down Expand Up @@ -242,7 +242,7 @@ body {
}

.pagination .page-item .page-link {
@apply p-2 m-2;
@apply m-2 p-2;
}

.pagination .active {
Expand Down Expand Up @@ -271,7 +271,7 @@ body {
}

.article-pagination a:hover .article-pagination-title {
@apply underline decoration-primary-700 text-primary-700 dark:text-primary-400;
@apply text-primary-700 underline decoration-primary-700 dark:text-primary-400;
}

.article-pagination a:hover .article-pagination-direction {
Expand All @@ -281,7 +281,7 @@ body {
/* -- Chroma Highlight -- */
/* Background */
.prose .chroma {
@apply rounded-md text-neutral-700 bg-neutral-100 dark:bg-neutral-700 dark:text-neutral-200;
@apply rounded-md bg-neutral-100 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
}
/* Other */
.chroma .x {
Expand All @@ -292,29 +292,29 @@ body {
/* LineTableTD */
.chroma .lntd,
.chroma .lntd pre {
@apply p-0 m-0 align-top border-none;
@apply m-0 border-none p-0 align-top;
}
/* LineTable */
.chroma .lntable {
@apply block w-auto px-4 py-3 overflow-hidden text-base;
@apply block w-auto overflow-hidden px-4 py-3 text-base;
border-spacing: 0;
}
/* LineHighlight */
.chroma .hl {
@apply block w-auto px-4 -mx-4 bg-primary-100 dark:bg-primary-900;
@apply -mx-4 block w-auto bg-primary-100 px-4 dark:bg-primary-900;
}
.chroma .lntd .hl {
@apply p-0 m-0;
@apply m-0 p-0;
}
/* LineNumbersTable */
.chroma .lnt {
@apply text-neutral-600 dark:text-neutral-300 mr-2 py-0 px-2;
@apply mr-2 px-2 py-0 text-neutral-600 dark:text-neutral-300;
/* margin-right: 0.4em;
padding: 0 0.4em 0 0.4em; */
}
/* LineNumbers */
.chroma .ln {
@apply text-neutral-600 dark:text-neutral-300 mr-2 py-0 px-2;
@apply mr-2 px-2 py-0 text-neutral-600 dark:text-neutral-300;
/* margin-right: 0.4em;
padding: 0 0.4em 0 0.4em; */
}
Expand Down Expand Up @@ -539,7 +539,7 @@ body {
}
/* CommentHashbang */
.chroma .ch {
@apply italic font-semibold text-neutral-400 dark:text-neutral-500;
@apply font-semibold italic text-neutral-400 dark:text-neutral-500;
}
/* CommentMultiline */
.chroma .cm {
Expand Down Expand Up @@ -611,7 +611,7 @@ body {
}

#TableOfContents ul {
@apply pt-2 pl-0 list-none;
@apply list-none pl-0 pt-2;
}

#TableOfContents ul ul {
Expand All @@ -623,24 +623,24 @@ body {
}

#TableOfContents li a {
@apply block pl-2 border-l-2 border-transparent;
@apply block border-l-2 border-transparent pl-2;
}

#TableOfContents li.active > a {
@apply block pl-2 border-l-2 border-primary-500;
@apply block border-l-2 border-primary-500 pl-2;
}

/* Tabs shortcode (todo: use peer-checked if hugo support jit-mode directly ) */
.tabs {
@apply my-4 overflow-hidden flex flex-wrap rounded-md border border-neutral-500;
@apply my-4 flex flex-wrap overflow-hidden rounded-md border border-neutral-500;
}

.tab-label {
@apply inline-block px-4 py-1 border-b-2 border-transparent cursor-pointer hover:text-primary-500;
@apply inline-block cursor-pointer border-b-2 border-transparent px-4 py-1 hover:text-primary-500;
}

.tab-content {
@apply w-full p-4 order-last border-t border-neutral-500;
@apply order-last w-full border-t border-neutral-500 p-4;
}

.tab-control:checked + .tab-label {
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ publish = "exampleSite/public"
command = "hugo --gc -s ./exampleSite --minify --baseURL $URL"

[build.environment]
HUGO_VERSION = "0.116.0"
HUGO_VERSION = "0.121.1"
HUGO_THEMESDIR = "../.."
HUGO_THEME = "repo"

Expand Down
Loading

0 comments on commit cde3cdd

Please sign in to comment.