Various style improvements

Force floating of GitHub mark in _layouts/docs.html - the .alignleft class disables floating on very small screens (e.g. Smartphones)
This commit is contained in:
Daniel Rudolf 2015-11-05 01:45:01 +01:00
parent c9278fa082
commit 842d7abb20
2 changed files with 11 additions and 12 deletions

View file

@ -43,7 +43,7 @@
<p>
<a href="{{ editPageUrl }}" title="Open this documentation on GitHub">
<img src="{{ site.base_url }}/style/images/GitHub-Mark-32px.png" alt="Open this documentation on GitHub" class="alignleft" style="margin: 8px 0.5em 0.5em 0;" />
<img src="{{ site.base_url }}/style/images/GitHub-Mark-32px.png" alt="Open this documentation on GitHub" class="github-docs-edit" />
</a>
Found a typo? Something is wrong in this documentation? Just <a href="{{ editPageUrl }}">fork and edit</a> it!
</p>

View file

@ -39,10 +39,6 @@ ins {
del {
text-decoration:line-through
}
table {
border-collapse:collapse;
border-spacing:0
}
.clear {
clear:both;
display:block;
@ -51,17 +47,15 @@ table {
width:0;
height:0
}
table {
border-collapse:collapse;
border-spacing:0
margin-bottom: 20px;
}
th, td {
margin:0;
padding:0
}
table {
border-collapse:collapse;
border-spacing:0
}
.clear {
clear: both;
}
br {
line-height: 10px;
}
@ -405,6 +399,7 @@ pre {
clear: both;
background: #f7f7f7;
border: 1px solid #e7e7e7;
overflow: auto;
}
blockquote p {
font-size: 19px;
@ -2820,4 +2815,8 @@ media_tag_5 {media_subcode:5}
.hosted-price span {
font-size: 30px;
font-weight: bold;
}
.github-docs-edit {
float: left;
margin: 8px 0.5em 0.5em 0;
}