diff --git a/book/_quarto.yml b/book/_quarto.yml index b02810342c..c864277cda 100644 --- a/book/_quarto.yml +++ b/book/_quarto.yml @@ -29,7 +29,7 @@ format: caption: none code-block-bg: true code-block-border-left: "#1482FA" - css: assets/css/style.scss + css: assets/css/style.css number-sections: false lang: en-US page-layout: full diff --git a/book/assets/css/style.css b/book/assets/css/style.css new file mode 100644 index 0000000000..40cf475b23 --- /dev/null +++ b/book/assets/css/style.css @@ -0,0 +1,20 @@ +/* -- Tabset horizontal scroll --*/ +#quarto-document-content>div.panel-tabset>ul.nav.nav-tabs { + overflow-x: auto; + overflow-y: hidden; + flex-wrap: nowrap; + text-wrap: nowrap; + + >li.nav-item { + display: flex; + + >a.nav-link { + text-align: center; + } + } +} + +/* -- Giscus content --*/ +.giscus { + margin-left: 75px; +} \ No newline at end of file diff --git a/book/assets/css/style.scss b/book/assets/css/style.scss deleted file mode 100644 index 2de6003211..0000000000 --- a/book/assets/css/style.scss +++ /dev/null @@ -1,47 +0,0 @@ -/*-- scss:defaults --*/ - -$primary: #0B41CD !default; -$fg: #000000 !default; -$bg: #ffffff !default; - -/*-- scss:rules --*/ - -img.quarto-cover-image { - box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); -} - -pre { - background-color: rgba(233, 236, 239, 0.65); -} - -code { - color: inherit; -} - -.navbar { - height: 40px; -} - -.panel-tabset .nav-item { - font-size: 16px; - font-style: normal; -} - -#quarto-document-content { - width: 110%; - margin-left: 150px; -} -.sidebar { - margin-left: 150px; -} -.sidebar.margin-sidebar { - margin-left: 250px; - width: 250px; -} -.page-navigation.column-page-right { - margin-left: 250px; -} -/* -- Giscus content --*/ -.giscus { - margin-left: 75px; -}