minor style improvement

This commit is contained in:
Christian Mueller
2014-01-26 13:34:57 +01:00
parent 4f9f6d0a9c
commit 8a219376e5
3 changed files with 13 additions and 8 deletions
+4 -4
View File
@@ -14,10 +14,10 @@ Send your feedback and comments directly to [@gravitydenier](http://twitter.com/
## Features
- **Color Themes**: specify the color scheme by appending the corresponding parameter to the URL:
- [Dark](http://notehub.org/2012/6/16/how-notehub-is-built?theme=dark)
- [Solarized-Dark](http://notehub.org/2012/6/16/how-notehub-is-built?theme=solarized-dark)
- [Solarized-Light](http://notehub.org/2012/6/16/how-notehub-is-built?theme=solarized-light)
- **Fonts**: specify a font (also one of the [Google Web Fonts](http://www.google.com/webfonts/)) for headers and for the text by appending parameters to the note [URL](http://notehub.org/0vrcp).
- [Dark](/2012/6/16/how-notehub-is-built?theme=dark)
- [Solarized-Dark](/2012/6/16/how-notehub-is-built?theme=solarized-dark)
- [Solarized-Light](/2012/6/16/how-notehub-is-built?theme=solarized-light)
- **Fonts**: specify a font (also one of the [Google Web Fonts](http://www.google.com/webfonts/)) for headers and for the text by appending parameters to the note [URL](/0vrcp).
- **Short URLs**: every page (including theme & font options) has its own short url.
- **Editing**: if you set a password during publishing, you can edit your note any time later.
- **Statistics**: a rudimentary statistics available (date of publishing & view counter).
+4 -3
View File
@@ -49,12 +49,13 @@ function onLoad() {
show(elem);
}
if(window.innerHeight >= document.body.clientHeight) {
var links = $("links");
if(links) {
var links = $("links");
if(links){
if(window.innerHeight >= document.body.clientHeight) {
links.style.position = "fixed";
links.style.bottom = 0;
}
show(links);
}
}
+5 -1
View File
@@ -93,6 +93,10 @@ a:visited {
padding: 1em;
font-size: 0.8em;
text-align: center;
@media screen and (max-width: 1024px) {
font-size: 0.4em;
}
}
#links a {
border: none;
@@ -155,7 +159,7 @@ textarea {
font-size: 1em;
height: 500px;
}
.hidden, .markdown {
.hidden, .markdown, #links {
display: none;
}
#dashed-line {