小编Ash*_*sla的帖子

如何增加四开内容列的宽度

我有一个四开 html 页面,带有侧边栏和目录(即 3 列页面)。我想增加内容列(中心列)的默认宽度,现在固定为 ~950px。我怎么做?

四开.yml

project:
  type: website

website:
  title: "Big Center Section"
  sidebar:
    style: "docked"
    search: false
    contents:
      - section: "Sidebar"
        contents:
          - text: "Item 1"
            url:  ./somewhere.html

format:
  html:
    theme:
      - flatly
      - custom.scss
    css: styles.css
    toc: true
Run Code Online (Sandbox Code Playgroud)

jupyter ipynb 页面

---
title: "Big wide middle section"
jupyter: python3
format:
    html:
        code-fold: true
        code-line-numbers: true
---


Second cell:

# SOME REALLY REALLY REALLY LONG HEADING I WANT 2000px WIDE.....

Run Code Online (Sandbox Code Playgroud)

css containers quarto

6
推荐指数
1
解决办法
3669
查看次数

标签 统计

containers ×1

css ×1

quarto ×1