Skip to content

Commit 67b15ab

Browse files
committed
Adding styles.
1 parent 8006d81 commit 67b15ab

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
<title>cpp-netlib: The C++ Network Library</title>
55
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
66
<link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
7-
<style>
8-
.affix { top: 10px; width: 110px; }
9-
</style>
7+
<link href="static/cpp-netlib.css" rel="stylesheet">
108
</head>
119
<body data-spy="scroll" data-target=".cpp-netlib-docs-sidebar">
1210
<header class="jumbotron subhead">
@@ -18,7 +16,7 @@ <h1>The C++ Network Library Project</h1>
1816
<div class="container">
1917
<div class="row">
2018
<div class="span2 cpp-netlib-docs-sidebar">
21-
<ul class="nav nav-list" data-spy="affix" data-offset-top="100">
19+
<ul class="nav nav-list" data-spy="affix" data-offset-top="150">
2220
<li><a href="#overview">Overview</a></li>
2321
<li><a href="#download">Download</a></li>
2422
<li><a href="#documentation">Documentation</a></li>
@@ -76,8 +74,10 @@ <h1>Project Policies</h1>
7674
</section>
7775
</div>
7876
</div>
77+
</div>
7978
<footer class="footer">
80-
<p><small>Copyright 2012 Dean Michael Berris; Glyn Matthews; Google, Inc. -- Distributed under the Boost Software License, Version 1.0. (See accompanying file <a href="LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a></small></p>
79+
<p class="muted credit">Copyright 2012 Dean Michael Berris; Glyn Matthews; Google, Inc.</p>
80+
<p class="muted">Distributed under the Boost Software License, Version 1.0. (See accompanying file <a href="LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
8181
</footer>
8282
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
8383
<script src="bootstrap/js/bootstrap.min.js"></script>

static/cpp-netlib.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.affix { top: 10px; width: 110px; }
2+
.jumbotron { background: #FFA800; padding-top: 40px; }
3+
.jumbotron .container { position: relative; z-index: 2; }
4+
.subhead { text-align: left; 1px solid #FFA800; }
5+
.subhead h1 { font-size: 60px; padding-bottom: 10px; }
6+
.subhead p { margin-bottom: 20px; }
7+
.footer { background: lightgrey; padding-top: 40px; margin-top: 30px; text-align: center; }

0 commit comments

Comments
 (0)