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]
inherit = basic
pygments_style = default
sidebars =
inherit = "basic"
pygments_style = { default = "default" }
sidebars = []

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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