Skip to content

Commit

Permalink
added style sheet for fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
KathleenLabrie committed Apr 26, 2019
1 parent 8c4c9c9 commit 01c5eab
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
27 changes: 27 additions & 0 deletions recipe_system/doc/rs_ProgManual/_static/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.red {
color: red;
}

.blue {
color: blue;
}

.green {
color: green;
}

.yellow {
color: yellow;
}

.gray {
color: gray;
}

.small {
font-size: 80%;
}

.big {
font-size: 120%;
}
20 changes: 20 additions & 0 deletions recipe_system/doc/rs_ProgManual/_static/rtd_theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* override RTD table width restrictions */

@media screen and (min-width: 767px) {

.wy-table-responsive table td, .wy-table-responsive table th {
/* !important prevents the common CSS stylesheets from
overriding this as on RTD the are loaded after this stylesheet */
white-space: normal !important;
}

.wy-table-responsive {
/* margin-bottom: 24px; */
/* max-width: 100%; */
overflow: visible !important;
}

.wy-nav-content {
max-width: 1200px !important;
}
}
2 changes: 2 additions & 0 deletions recipe_system/doc/rs_ProgManual/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,9 @@ def setup(app):

# Adding style in order to have the todos show up in a red box.
app.add_stylesheet('todo-styles.css')
app.add_stylesheet('rtd_theme_overrides.css')
app.add_stylesheet('css/custom_code.css')
app.add_stylesheet('fonts.css')

# Automatic API generation
app.connect('builder-inited', run_api_doc)
Expand Down

0 comments on commit 01c5eab

Please sign in to comment.