diff --git a/_static/.gitignore b/_static/.gitignore index a1fe169e7a9b1cb61af12d82a99b17d5f7c1b6fe..30223e55166cab32592870f96cf35adc0db08f18 100644 --- a/_static/.gitignore +++ b/_static/.gitignore @@ -2,3 +2,4 @@ * # # Except this file !.gitignore +!custom.css diff --git a/_static/custom.css b/_static/custom.css new file mode 100644 index 0000000000000000000000000000000000000000..2e9f5da740afafe01f8550b93c1daf22554f6aed --- /dev/null +++ b/_static/custom.css @@ -0,0 +1,39 @@ +@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700'); +@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:400,700'); + +span.option { + font-family: "Roboto Mono", monospace +} + +body:before { + content: "Programming Models @ BSC"; + background: #6fa5cc; + width: 100%; + display: block; + text-align: center; + height: auto; + overflow: hidden; + color: #000000; + font-size: 48px; + font-style: normal; + font-weight: 600; + line-height: 54px; + padding: 3rem 0 3rem 0; +} + +@media screen and (max-width: 875px) { + body:before { + margin: -20px -30px 20px -30px; + width: calc(100% + 60px); + } +} + +.document { + width: 1040px !important; +} + +@media screen and (max-width: 875px) { + .document { + width: 100% !important; + } +} diff --git a/conf.py b/conf.py index 44091c367399fd92f3c76d17c8aff626bea9ae3f..1d935a755973fa6a8d2eaffe1ab3beb29e465a45 100644 --- a/conf.py +++ b/conf.py @@ -44,7 +44,7 @@ master_doc = 'index' # General information about the project. project = u'OmpSs User Guide' -copyright = u'2016, BSC Programming Models' +copyright = u'2016-2018, BSC Programming Models' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -98,13 +98,18 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'alabaster' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - "sidebarwidth" : "280" + "sidebarwidth" : "280", + "font_family": '"Roboto Condensed", sans-serif', + "caption_font_family": '"Roboto Condensed", sans-serif', + "head_font_family": '"Roboto Condensed", sans-serif', + "code_font_family": '"Roboto Mono", monospace', + "show_powered_by": False, } # Add any paths that contain custom themes here, relative to this directory. @@ -268,7 +273,7 @@ texinfo_documents = [ epub_title = u'OmpSs User Guide' epub_author = u'BSC Programming Models' epub_publisher = u'BSC Programming Models' -epub_copyright = u'2016, BSC Programming Models' +epub_copyright = u'2016-2018, BSC Programming Models' # The basename for the epub file. It defaults to the project name. #epub_basename = u'OmpSs User Guide'