Skip to content

Commit

Permalink
Изменены немного стили и отрисовка документации
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Anashev committed May 4, 2017
1 parent 62a062e commit 84303f0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
20 changes: 5 additions & 15 deletions source/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion source/includes/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<script src="https://ya.ru/cdn/yandex-checkout-js.min.js"></script>
```

Просто какой-то текст
Библиотека подключается только через CDN.
Чтобы подключить ее, нужно подключить скрипт из CDN, после этого в глобальной области видимости библиотека будет доступна
под именем **CheckoutJs**

# Создания токена

Expand Down
2 changes: 1 addition & 1 deletion source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</span>
</a>
<div class="tocify-wrapper">
<%- image_tag('logo.png') %>
<%- image_tag('logo.svg') %>
<% if (langs) { %>
<div class="lang-selector">
<% for(var i=0; i<langs.length; i++) { %>
Expand Down
10 changes: 6 additions & 4 deletions source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ html, body {
width: $nav-width;
background-color: $nav-bg;
font-size: 13px;
font-weight: bold;
//font-weight: bold;

// language selector for mobile devices
.lang-selector {
Expand All @@ -81,6 +81,7 @@ html, body {

// This is the logo at the top of the ToC
&>img {
margin: 20px auto;
display: block;
max-width: 100%;
}
Expand Down Expand Up @@ -183,7 +184,7 @@ html, body {
.tocify-subheader {
display: none; // tocify will override this when needed
background-color: $nav-subitem-bg;
font-weight: 500;
//font-weight: 500;
.tocify-item>a {
padding-left: $nav-padding + $nav-indent;
font-size: 12px;
Expand Down Expand Up @@ -238,7 +239,7 @@ html, body {
z-index: 100;
color: #000;
text-decoration: none;
font-weight: bold;
//font-weight: bold;
opacity: 0.7;
line-height: 16px;
img {
Expand Down Expand Up @@ -290,7 +291,7 @@ html, body {
.lang-selector {
background-color: $lang-select-bg;
width: 100%;
font-weight: bold;
//font-weight: bold;
a {
display: block;
float:left;
Expand Down Expand Up @@ -448,6 +449,7 @@ html, body {
p, li, dt, dd {
line-height: 1.6;
margin-top: 0;
font-size: 1.1em;
}

img {
Expand Down

0 comments on commit 84303f0

Please sign in to comment.