Helpfulness and font-size updates

Updating helpfulness so it only shows on non-index pages; Updating
font-sizes to be the larger 16px size for body, increasing main h1 to
36px since that was looking too small, removing h2 font-size and using
default theme size of 24px.
pull/1279/head
Samir Patel 2016-06-07 14:25:45 -07:00
parent 3643aefb73
commit 19f74c4286
4 changed files with 17 additions and 13 deletions

View File

@ -134,11 +134,11 @@ else:
feed_author = 'Microsoft'
def setup(app):
app.add_stylesheet('custom.css?v=5')
app.add_javascript('helpfulness.js?v=5')
app.add_javascript('disqus.js?v=5')
app.add_stylesheet('custom.css?v=6')
app.add_javascript('helpfulness.js?v=6')
app.add_javascript('disqus.js?v=6')
if on_rtd:
app.add_javascript('wedc.js?v=5')
app.add_javascript('wedc.js?v=6')
#html_theme = 'default'

View File

@ -70,7 +70,7 @@ b,
body {
font-family: wf_segoe-ui_normal, "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif
color: #505050;
font-size: 13px;
font-size: 16px;
line-height: 1.4em;
}
@ -80,7 +80,6 @@ h1, h2, h3, h4, h5, h6, legend {
}
h2 {
font-size: 18px;
color: #222222;
}
@ -89,7 +88,6 @@ a {
}
p {
font-size: 13px;
color: #505050;
}
@ -188,9 +186,9 @@ a, a:link, a:visited { color: #2b59a9; }
.rst-content h1,
.rst-content h1 .headerlink
{
font-size: 28px;
font-size: 36px;
color: #222222;
font-weight: 400
font-weight: 400;
}
.rst-content h1 a.headerlink,
@ -200,7 +198,6 @@ a, a:link, a:visited { color: #2b59a9; }
}
.rst-content {
font-size: 13px;
font-family: wf_segoe-ui_normal, "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif
}
@ -274,7 +271,7 @@ a, a:link, a:visited { color: #2b59a9; }
footer,
footer p {
color: #505050;
font-size: 13px;
font-size: 14px;
}
.wy-menu-vertical a span.toctree-expand,

View File

@ -20,6 +20,11 @@
init: function ()
{
if (this.$container == null)
{
return;
}
this.initHandlers();
this.initLoad();
},

View File

@ -7,6 +7,7 @@
{%- block body %}
{{ super() }}
{% if 'index' not in pagename %}
<!-- Helpfulness -->
<div id="helpful-position"></div>
<div id="helpful" class="helpfulness-container" style="display:none;">
@ -36,14 +37,15 @@
</div>
</div>
</div>
{% endif %}
<!-- wedc -->
<noscript>
<img alt="" width="1" height="1" src="https://c.microsoft.com/trans_pixel.aspx"/>
</noscript>
<!-- disqus -->
{% if 'index' not in pagename %}
{% if 'index' not in pagename %}
<!-- disqus -->
<button id="showComments" type="button" class="btn btn-neutral"><i class="fa fa-comment"></i> Show comments</button>
<div id="disqus_thread"></div>
<hr/>