This is an automated email from the ASF dual-hosted git repository. gongchao pushed a commit to branch clean-home in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
commit 7273d8cff695b3bec9850bf60a8ea19b73efc9b3 Author: tomsun28 <[email protected]> AuthorDate: Sat May 4 19:41:50 2024 +0800 clean up unused home code --- home/src/css/buttons.css | 3 --- home/src/css/custom.css | 54 ---------------------------------------------- home/src/css/docsearch.css | 0 home/src/css/hero.css | 2 +- home/src/pages/index.js | 7 +++--- 5 files changed, 4 insertions(+), 62 deletions(-) diff --git a/home/src/css/buttons.css b/home/src/css/buttons.css deleted file mode 100644 index c81927081..000000000 --- a/home/src/css/buttons.css +++ /dev/null @@ -1,3 +0,0 @@ -html[data-theme=dark] .button { - --ifm-button-border-color: transparent; -} diff --git a/home/src/css/custom.css b/home/src/css/custom.css index 1ef71b625..96a232814 100644 --- a/home/src/css/custom.css +++ b/home/src/css/custom.css @@ -1,7 +1,5 @@ @import url(navbar.css); -@import url(docsearch.css); @import url(hero.css); -@import url(buttons.css); :root { --ifm-color-primary: #7228B5; @@ -140,59 +138,7 @@ footer > div{ margin-top: 1rem; } - -.docusaurus-highlight-code-line { - background-color: #484d5b; - display: block; -} - -.features_src-pages- h3 { - text-align: center; -} -.features_src-pages- .featureImage_src-pages- { - width: 120px; - height: 120px; - margin-bottom: 20px; -} - - -img[alt^=Support] { - width: 20px; - margin-right: 5px; - display: inline-block; -} - -.main-wrapper .markdown p > a, -.main-wrapper .container p > a { - text-decoration: none!important; - border-bottom: 1px solid var(--ifm-color-primary); - padding: 2px; -} -.main-wrapper .container .admonition p > a { - background-color: transparent; - color: inherit; - text-decoration: underline!important; - border-bottom: 0; -} - -.main-wrapper .markdown p > a:hover, -.main-wrapper .container p > a:hover { - color: var(--ifm-color-primary) -} - article thead { - background-color: var(--ifm-table-border-color); font-family: Verdana, Arial, Helvetica, sans-serif; text-align: left; } - -.prism-code > div { - background-color: var(--ifm-table-border-color)!important; -} - -.tabs__item:hover { - border-bottom-left-radius: 0; -} -.markdown > div > .margin-vert--md { - margin-top: 0!important; -} diff --git a/home/src/css/docsearch.css b/home/src/css/docsearch.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/home/src/css/hero.css b/home/src/css/hero.css index aca38f7ec..1522b3bee 100644 --- a/home/src/css/hero.css +++ b/home/src/css/hero.css @@ -4,7 +4,7 @@ } html[data-theme=dark] .hero--primary { - --ifm-hero-background-color: var(--ifm-footer-background-color); + --ifm-hero-background-color: #0c0c0c; --ifm-hero-text-color: #fff; } diff --git a/home/src/pages/index.js b/home/src/pages/index.js index b4ffb36d2..cd9a721d6 100644 --- a/home/src/pages/index.js +++ b/home/src/pages/index.js @@ -28,7 +28,7 @@ function Home() { title={`${siteConfig.title} ยท ${siteConfig.tagline}`} description={`${siteConfig.tagline}`} > - <header className={clsx('hero hero--primary', styles.heroBanner)}> + <header className={clsx('hero--primary', styles.heroBanner)}> <div className="container"> <h1 className="hero__title"> <img @@ -44,8 +44,7 @@ function Home() { <Link to="/docs/" className={clsx( - 'button button--primary button--lg', - styles.getStarted + 'button button--primary button--lg' )} > <Translate>quickstart</Translate> @@ -54,7 +53,7 @@ function Home() { </div> </header> <main> - <div className={styles.sectionDashboard}> + <div> <Swiper modules={[Autoplay, EffectFade, Navigation]} watchSlidesProgress={true} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
