CoolFace
Apppublic

rishidahiya/MiniMax-Speech-Tech-Report

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
style.css843 linesDownload Raw Back to root
1/*!2 * LaTeX.css (https://latex.vercel.app/)3 *4 * Source: https://github.com/vincentdoerig/latex-css5 * Licensed under MIT (https://github.com/vincentdoerig/latex-css/blob/master/LICENSE)6*/7 8@font-face {9  font-family: 'Latin Modern';10  font-style: normal;11  font-weight: normal;12  font-display: swap;13  src: url('./fonts/LM-regular.woff2') format('woff2'),14    url('./fonts/LM-regular.woff') format('woff'),15    url('./fonts/LM-regular.ttf') format('truetype');16}17 18@font-face {19  font-family: 'Latin Modern';20  font-style: italic;21  font-weight: normal;22  font-display: swap;23  src: url('./fonts/LM-italic.woff2') format('woff2'),24    url('./fonts/LM-italic.woff') format('woff'),25    url('./fonts/LM-italic.ttf') format('truetype');26}27 28@font-face {29  font-family: 'Latin Modern';30  font-style: normal;31  font-weight: bold;32  font-display: swap;33  src: url('./fonts/LM-bold.woff2') format('woff2'),34    url('./fonts/LM-bold.woff') format('woff'),35    url('./fonts/LM-bold.ttf') format('truetype');36}37 38@font-face {39  font-family: 'Latin Modern';40  font-style: italic;41  font-weight: bold;42  font-display: swap;43  src: url('./fonts/LM-bold-italic.woff2') format('woff2'),44    url('./fonts/LM-bold-italic.woff') format('woff'),45    url('./fonts/LM-bold-italic.ttf') format('truetype');46}47 48@font-face {49  font-family: 'Libertinus';50  font-style: normal;51  font-weight: normal;52  font-display: swap;53  src: url('./fonts/Libertinus-regular.woff2') format('woff2');54}55 56@font-face {57  font-family: 'Libertinus';58  font-style: italic;59  font-weight: normal;60  font-display: swap;61  src: url('./fonts/Libertinus-italic.woff2') format('woff2');62}63 64@font-face {65  font-family: 'Libertinus';66  font-style: normal;67  font-weight: bold;68  font-display: swap;69  src: url('./fonts/Libertinus-bold.woff2') format('woff2');70}71 72@font-face {73  font-family: 'Libertinus';74  font-style: italic;75  font-weight: bold;76  font-display: swap;77  src: url('./fonts/Libertinus-bold-italic.woff2') format('woff2');78}79 80@font-face {81  font-family: 'Libertinus';82  font-style: normal;83  font-weight: 600;84  font-display: swap;85  src: url('./fonts/Libertinus-semibold.woff2') format('woff2');86}87 88@font-face {89  font-family: 'Libertinus';90  font-style: italic;91  font-weight: 600;92  font-display: swap;93  src: url('./fonts/Libertinus-semibold-italic.woff2') format('woff2');94}95 96/* Box sizing rules */97*,98*::before,99*::after {100  box-sizing: border-box;101}102 103:root {104  --body-color: hsl(0, 5%, 10%);105  --body-bg-color: hsl(210, 20%, 98%);106  --link-visited: hsl(0, 100%, 33%);107  --link-focus-outline: hsl(220, 90%, 52%);108  --pre-bg-color: hsl(210, 28%, 93%);109  --kbd-bg-color: hsl(210, 5%, 100%);110  --kbd-border-color: hsl(210, 5%, 70%);111  --table-border-color: black;112  --border-width-thin: 1.36px;113  --border-color-thin: rgba(0, 0, 0, 0.1);114  --border-width-thick: 2.27px;115  --sidenote-target-border-color: hsl(55, 55%, 70%);116  --footnotes-border-color: hsl(0, 0%, 39%);117  --text-indent-size: 1.463rem; /* In 12pt [Latin Modern font] LaTeX article118  \parindent =~ 17.625pt; taking also into account the ratio119  1pt[LaTeX] = (72 / 72.27) * 1pt[HTML], with default 12pt/1rem LaTeX.css font120  size, the identation value in rem CSS units is:121  \parindent =~ 17.625 * (72 / 72.27) / 12 = 1.463rem. */122}123 124.latex-dark {125  --body-color: hsl(0, 0%, 86%);126  --body-bg-color: hsl(0, 0%, 16%);127  --link-visited: hsl(196 80% 77%);128  --link-focus-outline: hsl(215, 63%, 73%);129  --pre-bg-color: hsl(0, 1%, 25%);130  --kbd-bg-color: hsl(0, 0%, 16%);131  --kbd-border-color: hsl(210, 5%, 70%);132  --table-border-color: white;133  --sidenote-target-border-color: hsl(0, 0%, 59%);134  --footnotes-border-color: hsl(0, 0%, 59%);135  --proof-symbol-filter: invert(80%);136}137 138@media (prefers-color-scheme: dark) {139   .latex-dark-auto {140    --body-color: hsl(0, 0%, 86%);141    --body-bg-color: hsl(0, 0%, 16%);142    --link-visited: hsl(196 80% 77%);143    --link-focus-outline: hsl(215, 63%, 73%);144    --pre-bg-color: hsl(0, 1%, 25%);145    --kbd-bg-color: hsl(0, 0%, 16%);146    --kbd-border-color: hsl(210, 5%, 70%);147    --table-border-color: white;148    --sidenote-target-border-color: hsl(0, 0%, 59%);149    --footnotes-border-color: hsl(0, 0%, 59%);150    --proof-symbol-filter: invert(80%);151  }152}153 154/* Remove default margin */155body,156h1,157h2,158h3,159h4,160p,161ul[class],162ol[class],163li,164figure,165figcaption,166dl,167dd {168  margin: 0;169}170 171/* Make default font-size 1rem and add smooth scrolling to anchors */172html {173  font-size: 1rem;174}175@media (prefers-reduced-motion: no-preference) {176  html {177    scroll-behavior: smooth;178  }179}180 181body.libertinus {182  font-family: 'Libertinus', Georgia, Cambria, 'Times New Roman', Times, serif;183}184 185.text-justify {186  text-align: justify;187}188 189body {190  font-family: 'Latin Modern', Georgia, Cambria, 'Times New Roman', Times, serif;191  line-height: 1.8;192 193  max-width: 60vw;194  min-height: 100vh;195  overflow-x: hidden;196  margin: 0 auto;197  padding: 2rem 1.25rem;198 199  counter-reset: theorem definition sidenote-counter;200 201  color: var(--body-color);202  background-color: var(--body-bg-color);203 204  text-rendering: optimizeLegibility;205 206  /* Allow automatic hyphenation for all text in the document */207  hyphens: auto;208  -webkit-hyphens: auto;209  -moz-hyphens: auto;210}211 212@media (min-width: 1050px) {213  body {214    max-width: 80vw;215  }216}217 218@media (max-width: 768px) {219  body {220    max-width: 90vw;221  }222}223 224p {225  margin-top: 1rem;226}227 228/* Indents paragraphs like in LaTeX documents*/229.indent-pars p {230  text-indent: var(--text-indent-size);231}232 233.indent-pars p.no-indent,234p.no-indent {235  text-indent: 0;236}237 238.indent-pars ol p,239.indent-pars ul p {240  text-indent: 0;241}242 243.indent-pars h2 + p,244.indent-pars h3 + p,245.indent-pars h4 + p {246  text-indent: 0;247}248 249/* A elements that don't have a class get default styles */250a:not([class]) {251  text-decoration-skip-ink: auto;252}253 254/* Make links red */255a,256a:visited {257  color: var(--link-visited);258}259 260a:focus {261  outline-offset: 2px;262  outline: 2px solid var(--link-focus-outline);263}264 265/* Allow line breaks between any two characters */266.break-all {267  /*268    NOTE: Whith `break-all` value no hyphens are shown, even if the word breaks269    at a hyphenation point270  */271  word-break: break-all;272}273 274/* Make images easier to work with */275img {276  max-width: 100%;277  height: auto;278  display: block;279}280 281audio {282  display: block;283  width: 100%;284  margin: 0.7rem auto;285}286 287.audio-sm {288  min-width: 190px;289}290 291.audio-md {292  min-width: 220px;293}294 295.audio-lg {296  min-width: 300px;297}298 299 300 301/* Inherit fonts for inputs and buttons */302input,303button,304textarea,305select {306  font: inherit;307}308 309/* Prevent textarea from overflowing */310textarea {311  width: 100%;312}313 314/* Natural flow and rhythm in articles by default */315article > * + * {316  margin-top: 1em;317}318 319.article-block {320  border-radius: 8px;321  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);322  padding: 2rem;323  margin: 3rem 0;324  box-sizing: border-box;325 326}327 328.article-block h2 {329  margin-top: 0 !important;330}331 332.article-block p {333  font-size: 1.1rem;334  line-height: 1.6;335}336 337/* Styles for inline code or code snippets */338code,339pre,340kbd {341  font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',342    monospace;343  font-size: 85%;344  hyphens: none;345  text-align: left;346}347pre {348  padding: 1rem 1.4rem;349  max-width: 100%;350  overflow: auto;351  border-radius: 4px;352  background: var(--pre-bg-color);353}354pre code {355  font-size: 95%;356  position: relative;357}358kbd {359  background: var(--kbd-bg-color);360  border: 1px solid var(--kbd-border-color);361  border-radius: 2px;362  padding: 2px 4px;363  font-size: 75%;364}365 366/* Better tables */367table:not(.borders-custom) {368  border-collapse: collapse;369  border-spacing: 0;370  width: auto;371  max-width: 100%;372  border-top: var(--border-width-thick) solid var(--table-border-color);373  border-bottom: var(--border-width-thick) solid var(--table-border-color);374  /* display: block; */375  overflow-x: auto; /* does not work because element is not block */376  /* white-space: nowrap; */377  counter-increment: caption;378}379/* add bottom border on column table headings  */380table:not(.borders-custom) tr > th[scope='col'] {381  border-bottom: var(--border-width-thin) solid var(--table-border-color);382}383/* add right border on row table headings  */384table:not(.borders-custom) tr > th[scope='row'] {385  border-right: var(--border-width-thin) solid var(--table-border-color);386}387table:not(.borders-custom) > tbody > tr:first-child > td,388table:not(.borders-custom) > tbody > tr:first-child > th {389  border-top: var(--border-width-thin) solid var(--table-border-color);390}391table:not(.borders-custom) > tbody > tr:last-child > td,392table:not(.borders-custom) > tbody > tr:last-child > th {393  border-bottom: var(--border-width-thin) solid var(--table-border-color);394}395 396th,397td {398  text-align: left;399  padding: 0.5rem;400  line-height: 1.1;401}402 403/* Table caption */404caption {405  text-align: left;406  font-size: 0.923em;407  /* border-bottom: 2pt solid #000; */408  padding: 0 0.25em 0.25em;409  width: 100%;410  margin-left: 0;411}412 413caption::before {414  content: 'Table ' counter(caption) '. ';415  font-weight: bold;416}abstract417 418/* allow scroll on the x-axis */419.scroll-wrapper, .article-block .scroll-wrapper {420  overflow-x: auto;421  width: 100%;422}423 424/* if a table is wrapped in a scroll wrapper,425  the table cells shouldn't wrap */426.scroll-wrapper > table td, .article-block .scroll-wrapper > table td {427  white-space: nowrap;428}429 430/* Table custom borders */431table.borders-custom {432  border-collapse: collapse;433  border-spacing: 0;434  width: auto;435  max-width: 100%;436  overflow-x: auto;437  counter-increment: caption;438}439 440.border-top-thick {441  border-top: var(--border-width-thick) solid var(--table-border-color);442}443.border-right-thick {444  border-right: var(--border-width-thick) solid var(--table-border-color);445}446.border-bottom-thick {447  border-bottom: var(--border-width-thick) solid var(--table-border-color);448}449.border-left-thick {450  border-left: var(--border-width-thick) solid var(--table-border-color);451}452 453.border-top-thin {454  border-top: var(--border-width-thin) solid var(--table-border-color);455}456.border-right-thin {457  border-right: var(--border-width-thin) solid var(--table-border-color);458}459.border-bottom-thin {460  border-bottom: var(--border-width-thin) solid var(--border-color-thin);461}462.border-left-thin {463  border-left: var(--border-width-thin) solid var(--table-border-color);464}465 466/* Table column alignment */467.col-1-l tr > :nth-child(1),468.col-2-l tr > :nth-child(2),469.col-3-l tr > :nth-child(3),470.col-4-l tr > :nth-child(4),471.col-5-l tr > :nth-child(5),472.col-6-l tr > :nth-child(6),473.col-7-l tr > :nth-child(7),474.col-8-l tr > :nth-child(8),475.col-9-l tr > :nth-child(9),476.col-10-l tr > :nth-child(10),477.col-11-l tr > :nth-child(11),478.col-12-l tr > :nth-child(12) {479  text-align: left;480}481.col-1-c tr > :nth-child(1),482.col-2-c tr > :nth-child(2),483.col-3-c tr > :nth-child(3),484.col-4-c tr > :nth-child(4),485.col-5-c tr > :nth-child(5),486.col-6-c tr > :nth-child(6),487.col-7-c tr > :nth-child(7),488.col-8-c tr > :nth-child(8),489.col-9-c tr > :nth-child(9),490.col-10-c tr > :nth-child(10),491.col-11-c tr > :nth-child(11),492.col-12-c tr > :nth-child(12) {493  text-align: center;494}495.col-1-r tr > :nth-child(1),496.col-2-r tr > :nth-child(2),497.col-3-r tr > :nth-child(3),498.col-4-r tr > :nth-child(4),499.col-5-r tr > :nth-child(5),500.col-6-r tr > :nth-child(6),501.col-7-r tr > :nth-child(7),502.col-8-r tr > :nth-child(8),503.col-9-r tr > :nth-child(9),504.col-10-r tr > :nth-child(10),505.col-11-r tr > :nth-child(11),506.col-12-r tr > :nth-child(12) {507  text-align: right;508}509 510/* Format figure captions (based on table captions) */511figure {512  counter-increment: figcaption;513}514figcaption {515  text-align: left;516  font-size: 0.923em;517  padding: 0.25em 0.25em 0;518  width: 100%;519  margin-left: 0;520}521figcaption::before {522  content: 'Figure ' counter(figcaption) '. ';523  font-weight: bold;524}525 526/* Center align the title */527h1:first-child {528  text-align: center;529}530 531/* Nested ordered list for ToC */532nav ol {533  counter-reset: item;534  padding-left: 2rem;535}536nav ol > li {537  display: block;538}539nav ol > li::before {540  content: counters(item, '.') ' ';541  counter-increment: item;542  padding-right: 0.85rem;543}544 545/* Center definitions (most useful for display equations) */546dl dd {547  text-align: center;548}549 550/* Theorem */551.theorem {552  counter-increment: theorem;553  display: block;554  margin: 12px 0;555  font-style: italic;556}557.theorem::before {558  content: 'Theorem ' counter(theorem) '. ';559  font-weight: bold;560  font-style: normal;561}562 563/* Lemma */564.lemma {565  counter-increment: theorem;566  display: block;567  margin: 12px 0;568  font-style: italic;569}570.lemma::before {571  content: 'Lemma ' counter(theorem) '. ';572  font-weight: bold;573  font-style: normal;574}575 576/* Proof */577.proof {578  display: block;579  margin: 12px 0;580  font-style: normal;581  position: relative;582}583.proof::before {584  content: 'Proof. ' attr(title);585  font-style: italic;586}587.proof::after {588  content: '◾️';589  filter: var(--proof-symbol-filter);590  position: absolute;591  right: -12px;592  bottom: -2px;593}594 595/* Definition */596.definition {597  counter-increment: definition;598  display: block;599  margin: 12px 0;600  font-style: normal;601}602.definition::before {603  content: 'Definition ' counter(definition) '. ';604  font-weight: bold;605  font-style: normal;606}607 608/* Center align author name, use small caps and add vertical spacing  */609.author {610  margin: 0.85rem 0;611  text-align: center;612}613 614.date {615  margin-left: 1.5rem;616}617 618/* Sidenotes */619 620.sidenote {621  font-size: 0.8rem;622  float: right;623  clear: right;624  width: 18vw;625  margin-right: -20vw;626  margin-bottom: 1em;627  text-indent: 0;628  /* Right sidenotes explicitly aligned to left for wide screens */629  text-align: left;630}631 632.sidenote.left {633  float: left;634  margin-left: -20vw;635  margin-bottom: 1em;636  text-indent: 0;637  /* Left sidenotes explicitly aligned to right for wide screens */638  text-align: right;639}640 641/* Justify all sidenotes for wide screens when `text-justify` class is used */642body.text-justify .sidenote,643body.text-justify .sidenote.left {644    text-align: justify;645}646 647/* (WIP) add border when a sidenote is clicked on */648.sidenote:target {649  border: var(--sidenote-target-border-color) 1.5px solid;650  padding: 0 .5rem;651  scroll-margin-block-start: 10rem;652}653 654/* sidenote counter */655.sidenote-number {656  counter-increment: sidenote-counter;657}658 659.sidenote-number::after,660.sidenote::before {661  position: relative;662  vertical-align: baseline;663}664 665/* add number in main content */666.sidenote-number::after {667  content: counter(sidenote-counter);668  font-size: 0.7rem;669  top: -0.5rem;670  left: 0.1rem;671}672 673/* add number in front of the sidenote */674.sidenote-number ~ .sidenote::before {675  content: counter(sidenote-counter) ' ';676  font-size: 0.7rem;677  top: -0.5rem;678}679 680label.sidenote-toggle:not(.sidenote-number) {681  display: none;682}683 684/* sidenotes inside blockquotes are indented more */685blockquote .sidenote {686  margin-right: -24vw;687  width: 18vw;688}689 690 691label.sidenote-toggle {692  display: inline;693  cursor: pointer;694}695 696input.sidenote-toggle {697  display: none;698}699 700@media (max-width: 1050px) {701  label.sidenote-toggle:not(.sidenote-number) {702    display: inline;703  }704  .sidenote {705    display: none;706  }707  .sidenote-toggle:checked + .sidenote {708    display: block;709    margin: 0.5rem 1.25rem 1rem 0.5rem;710    float: left;711    left: 1rem;712    clear: both;713    width: 95%;714  }715 716  /* All sidenotes explicitly aligned to left for narrow screens */717  .sidenote-toggle:checked + .sidenote.left {718    text-align: left;719  }720 721  /* Justify all sidenotes for narrow screens when `text-justify` class is used */722  body.text-justify .sidenote-toggle:checked + .sidenote.left {723    text-align: justify;724  }725 726  /* tweak indentation of sidenote inside a blockquote */727  blockquote .sidenote {728    margin-right: -25vw;729    width: 16vw;730  }731}732 733/* Make footnote text smaller */734.footnotes p {735  line-height: 1.5;736  font-size: 85%;737  margin-bottom: 0.4rem;738}739.footnotes {740  border-top: 1px solid var(--footnotes-border-color);741}742 743/* Center title and paragraph */744.abstract,745.abstract p {746  text-align: center;747  margin-top: 0;748}749.abstract {750  margin: 2.25rem 0;751}752.abstract > h2 {753  font-size: 1rem;754  margin-bottom: -0.2rem;755}756 757/* Format the LaTeX symbol correctly (a higher up, e lower) */758.latex span:nth-child(1) {759  text-transform: uppercase;760  font-size: 0.75em;761  vertical-align: 0.28em;762  margin-left: -0.48em;763  margin-right: -0.15em;764  line-height: 1ex;765}766 767.latex span:nth-child(2) {768  text-transform: uppercase;769  vertical-align: -0.5ex;770  margin-left: -0.1667em;771  margin-right: -0.125em;772  line-height: 1ex;773}774 775/* Prevent line breaks inside an element */776.whitespace-nowrap {777  white-space: nowrap;778}779 780/* Heading typography */781h1 {782  font-size: 2.5rem;783  line-height: 3.25rem;784  margin-bottom: 1.625rem;785}786 787h2 {788  font-size: 1.8rem;789  line-height: 2.1rem;790  margin-top: 4rem;791}792 793h3 {794  font-size: 1.4rem;795  margin-top: 3rem;796}797 798h4 {799  font-size: 1.2rem;800  margin-top: 2rem;801}802 803h5 {804  font-size: 1rem;805  margin-top: 1.8rem;806}807 808h6 {809  font-size: 1rem;810  font-style: italic;811  font-weight: normal;812  margin-top: 2.5rem;813}814 815h3,816h4,817h5,818h6 {819  line-height: 1.625rem;820}821 822h1 + h2 {823  margin-top: 1.625rem;824}825 826h2 + h3,827h3 + h4,828h4 + h5 {829  margin-top: 1.4rem;830}831 832h5 + h6 {833  margin-top: -0.8rem;834}835 836h2,837h3,838h4,839h5,840h6 {841  text-align: left;842  margin-bottom: 1rem;843}
rishidahiya/MiniMax-Speech-Tech-Report · CoolFace