Convert `theme.conf to theme.toml` (part 2)

This commit is contained in:
Adam Turner 2024-04-11 18:07:19 +01:00 committed by Adam Turner
parent e29e5fed36
commit fba5d2af6c
14 changed files with 140 additions and 111 deletions

View File

@ -1,4 +1,4 @@
[theme] [theme]
inherit = basic inherit = "basic"
pygments_style = default pygments_style = { default = "default" }
sidebars = sidebars = []

View File

@ -1,20 +1,22 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = agogo.css stylesheets = [
pygments_style = tango "agogo.css",
]
pygments_style = { default = "tango" }
[options] [options]
bodyfont = "Verdana", Arial, sans-serif bodyfont = "\"Verdana\", Arial, sans-serif"
headerfont = "Georgia", "Times New Roman", serif headerfont = "\"Georgia\", \"Times New Roman\", serif"
pagewidth = 70em pagewidth = "70em"
documentwidth = 50em documentwidth = "50em"
rightsidebar = true rightsidebar = "true"
sidebarwidth = 20em sidebarwidth = "20em"
bgcolor = #eeeeec bgcolor = "#eeeeec"
headerbg = #555573 url(bgtop.png) top left repeat-x headerbg = "#555573 url(bgtop.png) top left repeat-x"
footerbg = url(bgfooter.png) top left repeat-x footerbg = "url(bgfooter.png) top left repeat-x"
linkcolor = #ce5c00 linkcolor = "#ce5c00"
headercolor1 = #204a87 headercolor1 = "#204a87"
headercolor2 = #3465a4 headercolor2 = "#3465a4"
headerlinkcolor = #fcaf3e headerlinkcolor = "#fcaf3e"
textalign = justify textalign = "justify"

View File

@ -1,16 +1,23 @@
[theme] [theme]
inherit = none inherit = "none"
stylesheet = basic.css stylesheets = [
pygments_style = none "basic.css",
sidebars = localtoc.html, relations.html, sourcelink.html, searchbox.html ]
sidebars = [
"localtoc.html",
"relations.html",
"sourcelink.html",
"searchbox.html",
]
pygments_style = { default = "none" }
[options] [options]
nosidebar = false nosidebar = "false"
sidebarwidth = 230 sidebarwidth = "230"
body_min_width = 360 body_min_width = "360"
body_max_width = 800 body_max_width = "800"
navigation_with_keys = False navigation_with_keys = "False"
enable_search_shortcuts = True enable_search_shortcuts = "True"
globaltoc_collapse = true globaltoc_collapse = "true"
globaltoc_includehidden = false globaltoc_includehidden = "false"
globaltoc_maxdepth = globaltoc_maxdepth = ""

View File

@ -1,10 +1,12 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = bizstyle.css stylesheets = [
pygments_style = friendly "bizstyle.css",
]
pygments_style = { default = "friendly" }
[options] [options]
rightsidebar = false rightsidebar = "false"
sidebarwidth = 210 sidebarwidth = "210"
maincolor = #336699 maincolor = "#336699"

View File

@ -1,32 +1,34 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = classic.css stylesheets = [
pygments_style = sphinx "classic.css",
]
pygments_style = { default = "sphinx" }
[options] [options]
rightsidebar = false rightsidebar = "false"
stickysidebar = false stickysidebar = "false"
collapsiblesidebar = false collapsiblesidebar = "false"
externalrefs = false externalrefs = "false"
footerbgcolor = #11303d footerbgcolor = "#11303d"
footertextcolor = #ffffff footertextcolor = "#ffffff"
sidebarbgcolor = #1c4e63 sidebarbgcolor = "#1c4e63"
sidebarbtncolor = #3c6e83 sidebarbtncolor = "#3c6e83"
sidebartextcolor = #ffffff sidebartextcolor = "#ffffff"
sidebarlinkcolor = #98dbcc sidebarlinkcolor = "#98dbcc"
relbarbgcolor = #133f52 relbarbgcolor = "#133f52"
relbartextcolor = #ffffff relbartextcolor = "#ffffff"
relbarlinkcolor = #ffffff relbarlinkcolor = "#ffffff"
bgcolor = #ffffff bgcolor = "#ffffff"
textcolor = #000000 textcolor = "#000000"
headbgcolor = #f2f2f2 headbgcolor = "#f2f2f2"
headtextcolor = #20435c headtextcolor = "#20435c"
headlinkcolor = #c60f0f headlinkcolor = "#c60f0f"
linkcolor = #355f7c linkcolor = "#355f7c"
visitedlinkcolor = #551a8b visitedlinkcolor = "#551a8b"
codebgcolor = unset codebgcolor = "unset"
codetextcolor = unset codetextcolor = "unset"
bodyfont = sans-serif bodyfont = "sans-serif"
headfont = 'Trebuchet MS', sans-serif headfont = "'Trebuchet MS', sans-serif"

View File

@ -1,2 +1,2 @@
[theme] [theme]
inherit = classic inherit = "classic"

View File

@ -1,8 +1,10 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = epub.css stylesheets = [
pygments_style = none "epub.css",
]
pygments_style = { default = "none" }
[options] [options]
relbar1 = true relbar1 = "true"
footer = true footer = "true"

View File

@ -1,14 +1,16 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = haiku.css stylesheets = [
pygments_style = autumn "haiku.css",
]
pygments_style = { default = "autumn" }
[options] [options]
full_logo = false full_logo = "false"
body_min_width = 59em body_min_width = "59em"
body_max_width = 70em body_max_width = "70em"
textcolor = #333333 textcolor = "#333333"
headingcolor = #0c3762 headingcolor = "#0c3762"
linkcolor = #dc3c01 linkcolor = "#dc3c01"
visitedlinkcolor = #551a8b visitedlinkcolor = "#551a8b"
hoverlinkcolor = #ff4500 hoverlinkcolor = "#ff4500"

View File

@ -1,4 +1,6 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = nature.css stylesheets = [
pygments_style = tango "nature.css",
]
pygments_style = { default = "tango" }

View File

@ -1,8 +1,10 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = nonav.css stylesheets = [
pygments_style = none "nonav.css",
]
pygments_style = { default = "none" }
[options] [options]
relbar1 = true relbar1 = "true"
footer = true footer = "true"

View File

@ -1,4 +1,6 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = pyramid.css stylesheets = [
pygments_style = sphinx.pygments_styles.PyramidStyle "pyramid.css",
]
pygments_style = { default = "sphinx.pygments_styles.PyramidStyle" }

View File

@ -1,13 +1,15 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = scrolls.css stylesheets = [
pygments_style = tango "scrolls.css",
]
pygments_style = { default = "tango" }
[options] [options]
body_min_width = 0 body_min_width = "0"
body_max_width = 680 body_max_width = "680"
headerbordercolor = #1752b4 headerbordercolor = "#1752b4"
subheadlinecolor = #0d306b subheadlinecolor = "#0d306b"
linkcolor = #1752b4 linkcolor = "#1752b4"
visitedlinkcolor = #551a8b visitedlinkcolor = "#551a8b"
admonitioncolor = #28437f admonitioncolor = "#28437f"

View File

@ -1,4 +1,6 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = sphinxdoc.css stylesheets = [
pygments_style = friendly "sphinxdoc.css",
]
pygments_style = { default = "friendly" }

View File

@ -1,7 +1,9 @@
[theme] [theme]
inherit = basic inherit = "basic"
stylesheet = traditional.css stylesheets = [
"traditional.css",
]
[options] [options]
body_min_width = 0 body_min_width = "0"
body_max_width = none body_max_width = "none"