Skip to content

Commit 853e976

Browse files
committed
Fixing layout to give more space to the main content, optimizing the width for smaller screens as well.
1 parent 0680ea9 commit 853e976

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libs/network/doc/static/cpp-netlib.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
html, body {background-image: url(./background.jpg); background-repeat:no-repeat; background-position:right top; background-attachment:fixed}
44
body {font:16px "Times New Roman", Lucida, serif; color:black}
5-
#custom-doc { width:76.54em;*width:74.69em; min-width:720; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0}
5+
#custom-doc { width:720px;*width:720px; min-width:720px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0}
66
#hd { padding: 4px 0 12px 0}
77
#bd { background:#C5D88A}
88
#ft { color:#C5D88A; font-size:90%; padding-bottom: 2em}
@@ -16,7 +16,7 @@ pre {
1616
border-width:1px 0;
1717
margin: 1em 0;
1818
padding: .3em .4em;
19-
overflow: hidden;
19+
overflow: auto;
2020
line-height: 1.3em;
2121
color: #CCC;
2222
border-radius:3px;

libs/network/doc/templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{%- endmacro %}
1717

1818
{% block document %}
19-
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if pagename != 'index' else '' }}{% endblock %}">
19+
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t4' if pagename != 'index' else '' }}{% endblock %}">
2020
<div id="hd">
2121
<h1><a href="{{ pathto('index') }}">{{ docstitle }}</a></h1>
2222
<div id="global-nav">

0 commit comments

Comments
 (0)