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
build succeeded. If not, check your email! If the page fails to build, you'll
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="container sidebar-sticky">
<div class="sidebar-about">
<img src="cpp_core_guidelines_16b.png"/>
<!--
<h3>
<!- -<a href="{{ site.baseurl }}">- ->
<a href="https://github.com/isocpp/CppCoreGuidelines">
C++ Core Guidelines
</a>
</h3>
-->
</div>
<nav class="sidebar-nav">
<small>
@@ -14,7 +17,7 @@
<div class="switch">
<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>
<!-- Items have to be added manually until for now -->
<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>
{% else %}
<a class="sidebar-nav-item active" href="CppCoreGuidelines.html">C++ Core Guidelines</a>
<a class="sidebar-nav-item active" href="index.html">README</a>
<a class="sidebar-nav-item active" href="CONTRIBUTING.md">Contributing</a>
<a class="sidebar-nav-item active" href="LICENSE">License</a>
<a class="sidebar-nav-item active" href="CppCoreGuidelines.html">Read the C++ Core Guidelines</a>
<br/>
<a class="sidebar-nav-item active" href="index.html">View project README</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 %}
</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 {
position: relative;
max-width: 640px;
max-width: 1280px;
padding: 20px 10px;
margin: 0 auto;
}