Skip to content

Commit

Permalink
svg logo replacement, fixes for cope scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Goedde committed Aug 3, 2014
1 parent 0f79641 commit 4bc7de4
Show file tree
Hide file tree
Showing 5 changed files with 992 additions and 5 deletions.
3 changes: 2 additions & 1 deletion doc/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

## Image file names to process
SVG_FILES = [
"autobahnandroid.svg"
"autobahnandroid.svg",
"autobahn.svg"
]

## Directory with image files to process
Expand Down
35 changes: 33 additions & 2 deletions doc/_static/css/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ code, kbd, pre, samp, span.pre {
font-size: 13px;
}

/* scrolling for both code with and without line numbers */
[class^="highlight-"],
[class*=" highlight-"] {
overflow: auto;
margin-bottom: 1em;
}
.highlight {
display: table;
}



ul, ol {
line-height: 1.6em;
}
Expand Down Expand Up @@ -283,12 +295,31 @@ li.hidden-sm {

/* pygments code block shouldn't word wrap, but show overflow on scroll */

div.highlight {
div.highlight, table.highlighttable {
width: 100%;
margin-left: 0;
}

td.linenos {
width: 1px;
}

table.highlighttable td {
padding-right: 0;
}

.highlighttable .linenos pre {
font-size: 13px;
color: #B6B62C;
}

.highlighttable .code pre {
font-size: 13px;
}

.highlight pre {
word-wrap: normal;
margin: 0;
}

.highlight .hll {
Expand Down Expand Up @@ -343,7 +374,7 @@ p.admonition-title {
}

.note p.admonition-title {
color: #027eae;
color: #027eae;
}

.warning {
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div class="extendedFooter">
<div class="logoblock">
<p class="logo">
<a href="{{ pathto('pages/index') }}"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" height="200" width="200" alt="Autobahn|Android"/></a>
<a href="{{ pathto('pages/index') }}"><img class="logo" src="{{ pathto('_static/img/gen/autobahn.svg', 1) }}" height="200" width="200" alt="Autobahn|Android"/></a>
</p>
<h3><strong>Autobahn</strong>|Android</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/side-primary.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="logoblock">
<p class="logo">
<a href="{{ pathto('pages/index') }}"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" height="200" width="200" alt="Autobahn|Android"/></a>
<a href="{{ pathto('pages/index') }}"><img class="logo" src="{{ pathto('_static/img/gen/autobahn.svg', 1) }}" height="200" width="200" alt="Autobahn|Android"/></a>
</p>
<h3><strong>Autobahn</strong>|Android</h3>
<p>
Expand Down
Loading

0 comments on commit 4bc7de4

Please sign in to comment.