Skip to content

Commit

Permalink
add the document_font_size theme option to change the font size
Browse files Browse the repository at this point in the history
  • Loading branch information
Thecarisma committed May 12, 2020
1 parent 731e51d commit aefa7ac
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,5 @@ dmypy.json

/test/junks/
*build/
*test/
*dist/
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
zip_safe=False,
install_requires=["sphinx>=1.1"],
name="themata",
version=1.0,
version=1.1,
author="Adewale Azeez",
author_email="azeezadewale98@gmail.com",
description="Set of Highly customizable sphinx themes. hackish, milkish, fandango, clear, fluid, garri, water and sugar.",
Expand Down
1 change: 1 addition & 0 deletions themata/clear/static/css/clear.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ pre {
.documentwrapper {
margin-top: 90px;
max-height: 100%;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */
}

.sidebar-left {
Expand Down
1 change: 1 addition & 0 deletions themata/clear/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ left_sidebar_only =
no_sidebar =
collapsible_sidebar = True
collapsible_sidebar_display = block
document_font_size = 16px

#css
text_color = #727273
Expand Down
1 change: 1 addition & 0 deletions themata/fandango/static/css/fandango.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ pre {
max-height: 100%;
display: flex;
justify-content: center;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */

}

Expand Down
1 change: 1 addition & 0 deletions themata/fandango/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ no_sidebar =
secondary_header_link =
toc_title = Browse
exclude_secondary_header_in =
document_font_size = 16px

#css
text_color = #02516e
Expand Down
1 change: 1 addition & 0 deletions themata/fluid/static/css/fluid.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ pre {
max-height: 100%;
display: flex;
justify-content: center;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */

}

Expand Down
1 change: 1 addition & 0 deletions themata/fluid/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ left_sidebar_only =
no_sidebar =
collapsible_sidebar = True
collapsible_sidebar_display = block
document_font_size = 16px

#css
text_color = #363638
Expand Down
1 change: 1 addition & 0 deletions themata/garri/static/css/garri.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ table.hlist ul {
.documentwrapper {
width: 70%;
margin: 20px;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */
}


Expand Down
1 change: 1 addition & 0 deletions themata/garri/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ index_is_single = True
sidebar_position = left
has_sidebar = True
no_sidebar =
document_font_size = 16px

#css
text_color = #000000
Expand Down
1 change: 1 addition & 0 deletions themata/hackish/static/css/hackish.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ pre {
max-height: 100%;
display: flex;
justify-content: center;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */

}

Expand Down
1 change: 1 addition & 0 deletions themata/hackish/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ show_navigators = True
left_sidebar_only =
no_sidebar =
toc_title = Browse
document_font_size = 16px

#css
text_color = rgb(36,233,10)
Expand Down
1 change: 1 addition & 0 deletions themata/milkish/static/css/milkiish.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ pre {
margin: 5%;
margin-top: 70px;
max-height: 100%;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */
}

.sidebar-left {
Expand Down
1 change: 1 addition & 0 deletions themata/milkish/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ left_sidebar_only =
no_sidebar =
collapsible_sidebar = True
collapsible_sidebar_display = block
document_font_size = 16px

#css
text_color = #727273
Expand Down
1 change: 1 addition & 0 deletions themata/sugar/static/css/sugar.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ pre {
margin: 5%;
margin-top: 10px;
max-height: 100%;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */
}

.sidebar-left {
Expand Down
1 change: 1 addition & 0 deletions themata/sugar/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ left_sidebar_only =
no_sidebar =
collapsible_sidebar = True
collapsible_sidebar_display = none
document_font_size = 16px

#css
text_color = #727273
Expand Down
1 change: 1 addition & 0 deletions themata/water/static/css/water.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ pre {
margin-top: 70px;
max-width: 58%;
margin: auto;
font-size: {{ theme_document_font_size }}; /* theme_document_font_size */
}

.sidebar-left {
Expand Down
1 change: 1 addition & 0 deletions themata/water/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ social_icons =
show_navigators = True
left_sidebar_only =
no_sidebar =
document_font_size = 16px

#css
text_color = #727273
Expand Down

0 comments on commit aefa7ac

Please sign in to comment.