Add logo to isocpp.github.io/CppCoreGuidelines (#1114)

* Adding logo png & text changes

* Minor fixes

* Adding image to sidebar

* fixed image location

* fixed image location

* squash me

* sidebar

* sidebar

* sidebar

* sidebar

* update

* update

* Image size

* image

* image

* image

* Smaller image

* Smaller image

* Smaller image
This commit is contained in:
Andrew Pardoe
2017-12-26 08:12:07 -08:00
committed by GitHub
parent 9a96d34e5c
commit 1ed0114dcf
4 changed files with 13 additions and 7 deletions

View File

@@ -20,3 +20,5 @@ layout: default
9. Refresh the http://isocpp.github.io/CppCoreGuidelines/ to verify that the 9. Refresh the http://isocpp.github.io/CppCoreGuidelines/ to verify that the
build succeeded. If not, check your email! If the page fails to build, you'll build succeeded. If not, check your email! If the page fails to build, you'll
get a mail explaining why. get a mail explaining why.
Note the index on the gh-pages is updated manually.

View File

@@ -1,12 +1,15 @@
<div class="sidebar"> <div class="sidebar">
<div class="container sidebar-sticky"> <div class="container sidebar-sticky">
<div class="sidebar-about"> <div class="sidebar-about">
<img src="cpp_core_guidelines_16b.png"/>
<!--
<h3> <h3>
<!--<a href="{{ site.baseurl }}">--> <!- -<a href="{{ site.baseurl }}">- ->
<a href="https://github.com/isocpp/CppCoreGuidelines"> <a href="https://github.com/isocpp/CppCoreGuidelines">
C++ Core Guidelines C++ Core Guidelines
</a> </a>
</h3> </h3>
-->
</div> </div>
<nav class="sidebar-nav"> <nav class="sidebar-nav">
<small> <small>
@@ -14,7 +17,7 @@
<div class="switch"> <div class="switch">
<input class="tgl tgl-cpp" id="hl_button" type="checkbox"/> <input class="tgl tgl-cpp" id="hl_button" type="checkbox"/>
<label class="tgl-btn" data-tg-off="No highlight" data-tg-on="Highlight" for="hl_button"></label> <label class="tgl-btn" data-tg-off="Turn ON syntax highlighting" data-tg-on="Turn OFF syntax highlighting" for="hl_button"></label>
</div> </div>
<!-- Items have to be added manually until for now --> <!-- Items have to be added manually until for now -->
<b><a class="sidebar-nav-item active" href="#main">Top</a></b> <b><a class="sidebar-nav-item active" href="#main">Top</a></b>
@@ -51,10 +54,11 @@
<a class="sidebar-nav-item active" href="#S-unclassified">To-do: Unclassified proto-rules</a> <a class="sidebar-nav-item active" href="#S-unclassified">To-do: Unclassified proto-rules</a>
{% else %} {% else %}
<a class="sidebar-nav-item active" href="CppCoreGuidelines.html">C++ Core Guidelines</a> <a class="sidebar-nav-item active" href="CppCoreGuidelines.html">Read the C++ Core Guidelines</a>
<a class="sidebar-nav-item active" href="index.html">README</a> <br/>
<a class="sidebar-nav-item active" href="CONTRIBUTING.md">Contributing</a> <a class="sidebar-nav-item active" href="index.html">View project README</a>
<a class="sidebar-nav-item active" href="LICENSE">License</a> <a class="sidebar-nav-item active" href="CONTRIBUTING.md">View project Contributing</a>
<a class="sidebar-nav-item active" href="LICENSE">View project License</a>
{% endif %} {% endif %}
</small> </small>

BIN
cpp_core_guidelines_16b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -4,7 +4,7 @@
.inner { .inner {
position: relative; position: relative;
max-width: 640px; max-width: 1280px;
padding: 20px 10px; padding: 20px 10px;
margin: 0 auto; margin: 0 auto;
} }