-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync from docker/docs@2f0e1ef by PCIT
- Loading branch information
Showing
11 changed files
with
393 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
.prose table { | ||
@apply block overflow-x-auto; | ||
@apply block overflow-x-auto text-base; | ||
thead tr { | ||
@apply bg-gray-light-300 dark:bg-gray-dark-300 | ||
} | ||
tbody tr:nth-of-type(2n) { | ||
@apply bg-gray-light-200 dark:bg-gray-dark-200 | ||
} | ||
th, td { | ||
@apply p-2 !important; | ||
@apply p-2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
.prose { | ||
li { | ||
@apply mt-1 mb-1; | ||
& > :first-child, & > :last-child { | ||
@apply m-0; | ||
} | ||
} | ||
a { | ||
font-weight: 400; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const codeblocks = document.querySelectorAll(".highlight") | ||
|
||
for (const codeblock of codeblocks) { | ||
codeblock.innerHTML = codeblock.innerHTML | ||
.replaceAll( | ||
/<([A-Z_]+)>/g, | ||
`<var class="text-violet-light dark:text-violet-dark" | ||
>$1</var>` | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.