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
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
@@ -36,7 +36,7 @@ main {
margin-bottom: 64px;
}

header, footer {
header, footer, lang select{
color: rgba(255, 255, 255, 0.8);
font-weight: 300;
}
@@ -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;
@@ -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;
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -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>
@@ -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>
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.
648 changes: 648 additions & 0 deletions lang/ru/img/client_hello.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lang/ru/img/format_public_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions lang/ru/img/format_public_key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lang/ru/img/format_udp_broadcast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
139 changes: 139 additions & 0 deletions lang/ru/img/format_udp_broadcast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lang/ru/img/identity_keypair.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
650 changes: 650 additions & 0 deletions lang/ru/img/identity_keypair.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lang/ru/img/message_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
417 changes: 417 additions & 0 deletions lang/ru/img/message_flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lang/ru/img/starting_keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
836 changes: 836 additions & 0 deletions lang/ru/img/starting_keys.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.