Skip to content

Commit

Permalink
Format css and js with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rwnobrega committed Nov 2, 2024
1 parent 5445602 commit 768d75b
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions site/docs/css/katex.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.katex-display {
overflow-y: hidden;
overflow-x: auto;
overflow-y: hidden;
overflow-x: auto;
}
4 changes: 2 additions & 2 deletions site/docs/css/markdown.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
div .centered {
text-align: center;
text-align: center;
}

div .centered span {
margin: 1em;
margin: 1em;
}
16 changes: 8 additions & 8 deletions site/docs/css/mkdocs.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.md-typeset h1 {
word-break: break-word;
word-break: break-word;
}

.md-typeset__table {
width: auto !important;
margin-left: auto;
margin-right: auto;
width: auto !important;
margin-left: auto;
margin-right: auto;
}

.md-nav__item a {
color: var(--md-primary-fg-color);
font-size: 1.1em;
color: var(--md-primary-fg-color);
font-size: 1.1em;
}

.md-nav__item li li a {
color: var(--md-secondary-fg-color);
font-size: 0.9em;
color: var(--md-secondary-fg-color);
font-size: 0.9em;
}
16 changes: 8 additions & 8 deletions site/docs/css/mkdocstrings.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/* Indentation. */
div.doc-contents:not(.first) {
padding-left: 25px;
border-left: .05rem solid var(--md-typeset-table-color);
padding-left: 25px;
border-left: 0.05rem solid var(--md-typeset-table-color);
}

.doc-param-annotation {
font-size: 0.9em;
font-size: 0.9em;
}

.doc-param-annotation code {
font-style: italic;
color: var(--md-code-hl-constant-color);
background-color: var(--md-code-hl-background-color);
font-style: italic;
color: var(--md-code-hl-constant-color);
background-color: var(--md-code-hl-background-color);
}

.doc cite::before {
content: "[";
content: "[";
}

.doc cite::after {
content: "]";
content: "]";
}
26 changes: 13 additions & 13 deletions site/docs/javascripts/katex.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {
delimiters: [
{ left: '$$', right: '$$', display: true },
{ left: '$', right: '$', display: false },
],
macros: {
"\\bch": "\\mathrm{BCH}",
"\\snr": "\\mathrm{SNR}",
"\\Enc": "\\mathrm{Enc}",
"\\Dec": "\\mathrm{Dec}",
},
throwOnError: false
});
renderMathInElement(document.body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
],
macros: {
"\\bch": "\\mathrm{BCH}",
"\\snr": "\\mathrm{SNR}",
"\\Enc": "\\mathrm{Enc}",
"\\Dec": "\\mathrm{Dec}",
},
throwOnError: false,
});
});

0 comments on commit 768d75b

Please sign in to comment.