Commit f7dc9104 authored by Leona C's avatar Leona C Committed by Scott Cyphers

Fix CSS rendering issues (#3921)

parent fd94811e
...@@ -38,7 +38,9 @@ ...@@ -38,7 +38,9 @@
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
{% endif %} {% endif %}
<link href="https://fonts.googleapis.com/css?family=Nunito:300,300i,400&display=swap&subset=latin-ext" rel="stylesheet"> <!-- <link href="https://fonts.googleapis.com/css?family=Nunito:300,300i,400&display=swap&subset=latin-ext" rel="stylesheet"> -->
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% for cssfile in css_files %} {% for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
...@@ -84,14 +86,13 @@ ...@@ -84,14 +86,13 @@
<body> <body>
<div id="menu-float" class="menu-float"> <div id="menu-float" class="menu-float">
<a href="https://www.ngraph.ai" target="_blank">Home</a> <a href="https://www.ngraph.ai" target="_blank"><i class="fa fa-home"></i></a>
<a href="https://www.youtube.com/embed/C9S0nmNS8bQ" target="_blank">Video</a> <a href="https://ngraph.nervanasys.com/docs/latest" title="Documentation Home"><i class="fa fa-book"></i></a>
<a href="https://www.ngraph.ai/ecosystem" target="_blank">Ecosystem</a> <a href="https://www.ngraph.ai/tutorials" title="Tutorials"><i class="fa fa-user-circle"></i></a>
<a href="https://ngraph.nervanasys.com/docs/latest">Docs</a> <a href="https://www.youtube.com/embed/C9S0nmNS8bQ" target="_blank"><i class="fa fa-video-camera"></i></a>
<a href="https://www.ngraph.ai/tutorials">Tutorials</a> <a href="https://ngraph.slack.com/" title="nGraph Slack Channel"><i class="fa fa-slack"></i></a>
<a href="https://ngraph.slack.com/"><img src="https://cdn.brandfolder.io/5H442O3W/as/pl546j-7le8zk-5h439l/Slack_Mark_Monochrome_White.png?width=35&height=35"></a>
<a href="https://github.com/NervanaSystems/ngraph/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/NervanaSystems/ngraph/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a>
<a href="https://www.github.com/NervanaSystems/ngraph"><img src="https://travis-ci.org/NervanaSystems/ngraph.svg?branch=master"></a>&nbsp;&nbsp;&nbsp;</div></body> <a href="https://www.github.com/NervanaSystems/ngraph"><img src="https://travis-ci.org/NervanaSystems/ngraph.svg?branch=master"></a></div></body>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav" role="document">
......
...@@ -2,16 +2,15 @@ ...@@ -2,16 +2,15 @@
<span class="rst-current-version" data-toggle="rst-current-version"> <span class="rst-current-version" data-toggle="rst-current-version">
<span class="docvs">nGraph Compiler stack</span> <span class="docvs">nGraph Compiler stack</span>
v: {{ version }} v: {{ version }}
<span class="▼"></span> <span></span>
</span> </span>
<div class="rst-other-versions"> <div class="rst-other-versions">
<dl> <dl>
<dt>{{ _('Recent Versions') }}</dt> <dt>{{ _('Recent Versions') }}<i class="fa fa-terminal"></i></dt>
<dd><!-- Until our https://docs.ngraph.ai/ publishing is set up, we link to GitHub --> <dd><!-- Until our https://docs.ngraph.ai/ publishing is set up, we link to GitHub -->
<ul> <ul>
<!-- <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.26">0.26</a></li> --> <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.26.0">0.26.0</a></li>
<li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.26.0-rc.3">Prerelease 0.26</a></li> <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.25.1-rc.10">0.25.1</a></li>
<li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.25.1-rc.4">0.25.1</a></li>
<li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.25.0">0.25.0</a></li> <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.25.0">0.25.0</a></li>
<li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.24.0">0.24.0</a></li> <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.24.0">0.24.0</a></li>
<li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.22.2-rc.0">0.22.2</a></li> <li><a href="https://github.com/NervanaSystems/ngraph/releases/tag/v0.22.2-rc.0">0.22.2</a></li>
......
...@@ -49,24 +49,19 @@ div.menu-float { ...@@ -49,24 +49,19 @@ div.menu-float {
text-align: center; text-align: center;
background: #393F4D; background: #393F4D;
opacity: 0.9717; opacity: 0.9717;
/* margin-left: 55%; */
/* margin-right: 3%; */
padding: 3px; padding: 3px;
border-top: 1px solid #999999; border-top: 1px solid #999999;
border-left: 1px solid #999999; border-left: 1px solid #999999;
border-right: 1px solid #999999; border-right: 1px solid #999999;
margin-top: -2px; margin-top: -2px;
margin-left: -2px; margin-left: -2px;
/* -moz-box-shadow: 2px 3px 2px #d3d3d3; */
/* -webkit-box-shadow: 2px 3px 2px #d3d3d3 */
/* box-shadow: 3px 4px 3px #d3d3d3; */
-webkit-border-radius: 0.1px; -webkit-border-radius: 0.1px;
-moz-border-radius: 0.1px; -moz-border-radius: 0.1px;
border-radius: 0.1px; border-radius: 0.1px;
z-index:1000; z-index:1000;
} }
div.menu-float a, div.floating-menu h3 {display:inline-block; margin:0 0.5em; font-size: 143%; line-height: 1.41em; color: #fcfcfc; } div.menu-float a, div.floating-menu h3 {display:inline-block; margin:0 0.5em; font-size: 133%; line-height: 1.31em; color: #fcfcfc; }
#nav { #nav {
...@@ -1644,7 +1639,6 @@ h1 { ...@@ -1644,7 +1639,6 @@ h1 {
h2 { h2 {
font-size: 133%; font-size: 133%;
text-decoration: underline 4px dotted #D3D3D3;
margin-top: -2px; margin-top: -2px;
} }
...@@ -1761,7 +1755,7 @@ div[class^='highlight'] td.code { ...@@ -1761,7 +1755,7 @@ div[class^='highlight'] td.code {
.wy-menu-vertical p.caption { .wy-menu-vertical p.caption {
font-family: Nunito, 'Nunito Sans', Helvetica, 'Helvetica Neue', sans; font-family: Nunito, 'Nunito Sans', Helvetica, 'Helvetica Neue', sans;
text-decoration: underline 2px #393F4D; /* text-decoration: underline 2px #393F4D; */
font-size: 110%; font-size: 110%;
color: #23221d; color: #23221d;
background-color: #FAFBFD; background-color: #FAFBFD;
...@@ -2215,6 +2209,10 @@ div[class^='highlight'] pre { ...@@ -2215,6 +2209,10 @@ div[class^='highlight'] pre {
padding: 6px; padding: 6px;
color: #FDC939; color: #FDC939;
} }
.rst-other-versions a:hover {
color: #555;
background-color: #e0e0e0;
}
.rst-versions.rst-badge { .rst-versions.rst-badge {
width: auto; width: auto;
bottom: 20px; bottom: 20px;
...@@ -2430,7 +2428,6 @@ div[class^='highlight'] pre { ...@@ -2430,7 +2428,6 @@ div[class^='highlight'] pre {
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal { .rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
font-size: 91% !important; font-size: 91% !important;
color: #152a58; color: #152a58;
text-decoration: underline 2px dotted #cdcac5;
background-color: #fff; background-color: #fff;
line-height: 0.8955em; line-height: 0.8955em;
} }
...@@ -2666,7 +2663,7 @@ span[id*='MathJax-Span'] { ...@@ -2666,7 +2663,7 @@ span[id*='MathJax-Span'] {
font-family: 'Nunito Sans', Nunito, Helvetica, 'Helvetica Neue', sans; font-family: 'Nunito Sans', Nunito, Helvetica, 'Helvetica Neue', sans;
font-weight: bolder; font-weight: bolder;
border-top: 5px dotted #FFA400; border-top: 5px dotted #FFA400;
border-bottom: 29px solid #d3d3d3; border-bottom: 28px solid #d3d3d3;
font-size: 131%; font-size: 131%;
color: #393F4D; color: #393F4D;
width: auto; width: auto;
...@@ -2816,15 +2813,12 @@ span[id*='MathJax-Span'] { ...@@ -2816,15 +2813,12 @@ span[id*='MathJax-Span'] {
} }
.wy-menu-vertical a:hover { .wy-menu-vertical a:hover {
background-color: #fafbfd; background-color: #fafbfd;
text-decoration: underline 1.33em dotted;
cursor: pointer;
} }
.wy-menu-vertical a:hover span.toctree-expand { .wy-menu-vertical a:hover span.toctree-expand {
color: #e8e8e8; color: #e8e8e8;
} }
.wy-menu-vertical a:active { .wy-menu-vertical a:active {
background-color: #FAFBFD; background-color: #FAFBFD;
cursor: pointer;
color: #555; color: #555;
} }
.wy-menu-vertical a:active span.toctree-expand { .wy-menu-vertical a:active span.toctree-expand {
......
...@@ -38,7 +38,7 @@ data scientists, or for deployment in cloud container environments, nGraph's ...@@ -38,7 +38,7 @@ data scientists, or for deployment in cloud container environments, nGraph's
We invite anyone working on new and novel frameworks or neural network designs We invite anyone working on new and novel frameworks or neural network designs
to explore our highly-modularized stack of components. to explore our highly-modularized stack of components.
Please read the :doc:`other` section for other framework-agnostic Please read the :doc:`other/index` section for other framework-agnostic
configurations available to users of the nGraph Compiler stack. configurations available to users of the nGraph Compiler stack.
.. figure:: ../graphics/overview-translation-flow.svg .. figure:: ../graphics/overview-translation-flow.svg
......
...@@ -79,7 +79,7 @@ Other integration paths ...@@ -79,7 +79,7 @@ Other integration paths
If you are considering incorporating components from the nGraph Compiler stack If you are considering incorporating components from the nGraph Compiler stack
in your framework or neural network design, another useful doc is the section in your framework or neural network design, another useful doc is the section
on :doc:`other` . Contents here are also useful if you are working on on :doc:`other/index` . Contents here are also useful if you are working on
something built-from-scratch, or on an existing framework that is less something built-from-scratch, or on an existing framework that is less
widely-supported than the popular frameworks like TensorFlow and PyTorch. widely-supported than the popular frameworks like TensorFlow and PyTorch.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment