From dc4cb971ca4312b8fe89d4bd256ebee76d5ee76f Mon Sep 17 00:00:00 2001 From: Cristian Lara Date: Tue, 26 Nov 2024 15:47:47 -0600 Subject: [PATCH] [Docusaurus] Delete unused static files --- website/static/css/custom.css | 315 ---------------------------------- website/static/js/mathjax.js | 25 --- 2 files changed, 340 deletions(-) delete mode 100644 website/static/css/custom.css delete mode 100644 website/static/js/mathjax.js diff --git a/website/static/css/custom.css b/website/static/css/custom.css deleted file mode 100644 index dceb1f5539c..00000000000 --- a/website/static/css/custom.css +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -@import url('https://fonts.googleapis.com/css?family=Montserrat'); -@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono'); - -html body { - font-family: 'Montserrat', sans-serif; - overflow-x: hidden; -} - -.fixedHeaderContainer { - background-color: #222222; -} - -.fixedHeaderContainer header .headerTitleWithLogo { - display: none; -} - -.fixedHeaderContainer header a:nth-child(2) { - position: absolute; - right: 0px; -} - -.fixedHeaderContainer header a:nth-child(2) h3 { - font-size: 14px; -} - -.fixedHeaderContainer header a:nth-child(2) h3::before { - content: 'v: '; -} - -.navigationSlider { - margin-right: 80px; -} - -.navigationSlider .slidingNav ul { - background: #222222; -} - -.navigationSlider .slidingNav ul li a { - color: #c7d4fd; -} - -.navigationSlider .slidingNav ul li a:hover, -.navigationSlider .slidingNav ul li a:focus { - color: #ffffff; - background-color: inherit; -} - -.navigationSlider .slidingNav ul li.siteNavItemActive > a, -.navigationSlider .slidingNav ul li.siteNavGroupActive > a { - background-color: inherit; -} - -.homeContainer { - background: rgb(2, 0, 36); - background: linear-gradient( - 0deg, - rgba(2, 0, 36, 1), - rgba(91, 24, 97, 1) 0%, - rgba(72, 114, 249, 1) 100% - ); - padding: 50px 0px; -} - -.splashLogo { - display: block; - margin: 0 auto; - height: 200px; - width: 200px; -} - -.projectTitle { - color: #ffffff; - font-variant: small-caps; - font-weight: 300; -} - -.promoSection .button { - border: 1px solid #fff; - color: #ffffff; -} - -.promoSection .button:hover { - background: inherit; - border: 1px solid #ffffff; - color: #ffffff; -} - -.landingPage { - padding: 0px; -} - -div.productShowcaseSection { - color: #6c6c6c; - padding-top: 40px; -} - -.productShowcaseSection > h2 { - font-variant: small-caps; - font-weight: 360; - margin: 0px; - padding: 0px; - color: #5b1861; -} - -.productShowcaseSection p { - font-weight: 360; -} - -.productShowcaseSection div.container { - padding: 40px 0px; -} - -.productShowcaseSection div.blockImage { - height: 80px; -} - -.productShowcaseSection li { - padding: 10px 0; -} - -.productShowcaseSection pre { - margin: 10px 0; -} - -.productShowcaseSection code { - background: #fff; -} - -.container .wrapper .alignCenter h2 { - color: #222222; -} - -div#quickstart { - background: #efefef; -} - -div#quickstart ol { - margin-bottom: 0px; -} - -.nav-footer { - background-color: #222222; -} - -.nav-footer .sitemap a { - color: #c7d4fd; -} - -.nav-footer .sitemap a:hover { - color: #ffffff; -} - -a, -p a { - color: #4872f9; -} - -a:hover, -p a:hover { - color: #4872f9; -} - -/* Style docs */ -.toc .toggleNav .navGroup .navGroupCategoryTitle { - color: #222222; -} - -.toc .toggleNav ul li a { - color: #6c6c6c; -} - -.toc .toggleNav ul li a:hover { - color: #5b1861; -} - -.toc .toggleNav .navGroup .navListItemActive a { - color: #4872f9; -} - -.mainContainer .wrapper .post .postHeaderTitle { - color: #222222; -} - -.mainContainer .wrapper .post h1, -.mainContainer .wrapper .post h2, -.mainContainer .wrapper .post h3 { - color: #222222; -} - -.mainContainer .wrapper .post { - color: #6c6c6c; -} - -.mainContainer .wrapper .post strong { - color: #222222; -} - -a.docs-next, -a.docs-prev { - color: #4872f9; - border: 1px solid #4872f9; -} - -a.docs-next:hover, -a.docs-prev:hover { - background-color: #4872f9; - border: 1px solid #4872f9; - color: #fff; -} - -/* Style tutorials */ -.tutorialBody { - margin-top: -20px; - color: #6c6c6c; -} - -.tutorialBody h1 { - margin: 0px; -} - -.tutorialBody h1, -.tutorialBody h2, -.tutorialBody h3 { - color: #222222; -} - -.tutorialBody pre { - font-family: 'IBM Plex Mono', monospace; - font-size: 14px; - margin: 0px; -} - -.tutorialBody .input_prompt, -.tutorialBody .output_prompt { - color: darkred; - font-size: 12px; -} - -.tutorialBody .highlight { - background: #f3f4f7; - padding: 10px 20px; - border: lightgray 1px solid; - border-radius: 3px; -} - -.tutorialBody .cell { - margin: 20px; -} - -.tutorialBody .output_stderr { - background-color: #fdede9; -} - -.tutorialBody .anchor-link { - color: lightgray; -} - -.tutorialBody iframe { - width: 100%; - height: 100vh; -} - -.tutorialButtonWrapper, -.tutorialRuntime { - margin: 20px; -} - -.tutorialButton { - color: #4872f9; - border: 1px solid #4872f9; -} - -.tutorialButton svg { - height: 15px; - margin-right: 5px; -} - -.tutorialButton:hover { - color: #4872f9; - background-color: inherit; -} - -.wrapper { - max-width: 1400px; -} - -@media only screen and (min-width: 1024px) { -} - -@media only screen and (max-width: 1023px) { - .fixedHeaderContainer header a:nth-child(2) { - position: absolute; - right: 200px; - } -} - -@media only screen and (min-device-width: 360px) and (max-device-width: 736px) { - .fixedHeaderContainer header a:nth-child(2) { - position: absolute; - right: 150px; - } -} - -@media only screen and (min-width: 1400px) { -} - -@media only screen and (min-width: 1500px) { -} diff --git a/website/static/js/mathjax.js b/website/static/js/mathjax.js deleted file mode 100644 index acbbff65591..00000000000 --- a/website/static/js/mathjax.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -window.MathJax = { - tex2jax: { - inlineMath: [['$', '$'], ['\\(', '\\)']], - displayMath: [['$$', '$$'], ['\\[', '\\]']], - processEscapes: true, - processEnvironments: true, - }, - // Center justify equations in code and markdown cells. Note that this - // doesn't work with Plotly though, hence the !important declaratio - // below. - displayAlign: 'center', - 'HTML-CSS': { - styles: { - '.MathJax_Display': {margin: 0, 'text-align': 'center !important'}, - }, - linebreaks: {automatic: true}, - }, -};