doc/rust.HTML: proper version box
This commit is contained in:
parent
f69795e443
commit
5d1fc864c7
24
doc/rust.css
24
doc/rust.css
@ -100,17 +100,21 @@ h3 a:link, h3 a:visited { color: black; }
|
||||
.cm-s-default span.cm-attribute {color: #00c;}
|
||||
|
||||
#versioninfo {
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
|
||||
background-color: white;
|
||||
padding: 0.5em;
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
a.lessimportant {
|
||||
color: gray;
|
||||
font-size: 60%;
|
||||
#versioninfo a.hash {
|
||||
color: gray;
|
||||
font-size: 60%;
|
||||
}
|
||||
#versioninfo .white-sticker {
|
||||
background-color: #fff;
|
||||
margin: 2px;
|
||||
padding: 0 2px;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
@ -1,9 +1,6 @@
|
||||
<div id='versioninfo'>
|
||||
<center>
|
||||
<img src="http://www.rust-lang.org/logos/rust-logo-32x32-blk.png"> <br>
|
||||
<a href="http://rust-lang.org">Rust</a> VERSION <br>
|
||||
<a href="http://github.com/mozilla/rust/commit/STAMP"
|
||||
class='lessimportant'>SHORT_HASH</a>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
<div id="versioninfo">
|
||||
<img src="http://www.rust-lang.org/logos/rust-logo-32x32-blk.png" width="32" height="32" alt><br>
|
||||
<span class="white-sticker"><a href="http://rust-lang.org">Rust</a> VERSION</span><br>
|
||||
<a href="http://github.com/mozilla/rust/commit/STAMP"
|
||||
class="hash white-sticker">SHORT_HASH</a>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user