Skip to content

Commit

Permalink
Increase content width
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfcyx committed Mar 2, 2021
1 parent e64672a commit e178068
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions source/_static/my_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: 1200px !important;
}
11 changes: 6 additions & 5 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['_static']
html_static_path = ['_static']

# html_css_files = [
# 'dracula.css',
# ]
html_css_files = [
'my_style.css',
#'dracula.css',
]

from pygments.lexer import RegexLexer
from pygments import token
Expand Down Expand Up @@ -115,4 +116,4 @@ class RVLexer(RegexLexer):
],
}

lexers['riscv'] = RVLexer()
lexers['riscv'] = RVLexer()

0 comments on commit e178068

Please sign in to comment.