Skip to content

Update the website. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 20, 2013
Prev Previous commit
Next Next commit
Adding styles.
  • Loading branch information
deanberris committed Jan 20, 2013
commit 67b15ab16b5c54fff6d00f9f7725ceb0d1c72a81
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<title>cpp-netlib: The C++ Network Library</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<style>
.affix { top: 10px; width: 110px; }
</style>
<link href="static/cpp-netlib.css" rel="stylesheet">
</head>
<body data-spy="scroll" data-target=".cpp-netlib-docs-sidebar">
<header class="jumbotron subhead">
Expand All @@ -18,7 +16,7 @@ <h1>The C++ Network Library Project</h1>
<div class="container">
<div class="row">
<div class="span2 cpp-netlib-docs-sidebar">
<ul class="nav nav-list" data-spy="affix" data-offset-top="100">
<ul class="nav nav-list" data-spy="affix" data-offset-top="150">
<li><a href="#overview">Overview</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#documentation">Documentation</a></li>
Expand Down Expand Up @@ -76,8 +74,10 @@ <h1>Project Policies</h1>
</section>
</div>
</div>
</div>
<footer class="footer">
<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>
<p class="muted credit">Copyright 2012 Dean Michael Berris; Glyn Matthews; Google, Inc.</p>
<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>
</footer>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
Expand Down
7 changes: 7 additions & 0 deletions static/cpp-netlib.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.affix { top: 10px; width: 110px; }
.jumbotron { background: #FFA800; padding-top: 40px; }
.jumbotron .container { position: relative; z-index: 2; }
.subhead { text-align: left; 1px solid #FFA800; }
.subhead h1 { font-size: 60px; padding-bottom: 10px; }
.subhead p { margin-bottom: 20px; }
.footer { background: lightgrey; padding-top: 40px; margin-top: 30px; text-align: center; }