Skip to content

bold tag <code> #56

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion css/guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ main {
margin-bottom: 64px;
}

header, footer {
header, footer, lang select{
color: rgba(255, 255, 255, 0.8);
font-weight: 300;
}
Expand Down Expand Up @@ -72,6 +72,16 @@ nav {
text-transform: uppercase;
}

lang{
background-color: #0f103d;
display: inline;
display: flex;
align-items: center;
}
lang select{
background-color: #0f103d;
}

header a {
display: flex;
align-items: center;
Expand Down Expand Up @@ -136,6 +146,10 @@ pre, code, .binary span {
font-family: "DejaVu Sans Mono";
}

code{
font-style: italic;
}

pre {
font-size: 12px;
line-height: 1.3;
Expand Down
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
<nav>
<a href="https://github.com/ssbc/scuttlebutt-protocol-guide"><div>Repo</div></a>
</nav>
<lang>
<select onchange="if (this.value) window.location.href = this.value">
<option value="./index.html" selected>Englich</option>
<option value="./index_ru.html">Russian</option>
</select>
</lang>
</header>
<main>
<h1>Scuttlebutt Protocol Guide</h1>
Expand Down Expand Up @@ -745,7 +751,7 @@ <h4 id="async-example">Async example</h4>
<p>The responder does in fact have this blob so they respond with <code>true</code>. Because this is an async procedure and not a stream, there is only one response and no need to close the stream afterwards:</p>

<figure class="request-response">
<img class="response-arrow" src="img/arrow.png alt="""/>
<img class="response-arrow" src="img/arrow.png" alt=""/>
<div class="response">
<div class="header">
<span class="key">Request number</span><span class="value">-2</span>
Expand Down
1,593 changes: 1,593 additions & 0 deletions index_ru.html

Large diffs are not rendered by default.

Binary file added lang/ru/img/client_hello.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading