Browse Source

minor style improvement

master
Christian Mueller 12 years ago
parent
commit
8a219376e5
  1. 8
      LANDING.md
  2. 3
      resources/public/js/main.js
  3. 6
      resources/public/styles/main.less

8
LANDING.md

@ -14,10 +14,10 @@ Send your feedback and comments directly to [@gravitydenier](http://twitter.com/ @@ -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).

3
resources/public/js/main.js

@ -49,12 +49,13 @@ function onLoad() { @@ -49,12 +49,13 @@ function onLoad() {
show(elem);
}
if(window.innerHeight >= document.body.clientHeight) {
var links = $("links");
if(links){
if(window.innerHeight >= document.body.clientHeight) {
links.style.position = "fixed";
links.style.bottom = 0;
}
show(links);
}
}

6
resources/public/styles/main.less

@ -93,6 +93,10 @@ a:visited { @@ -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 { @@ -155,7 +159,7 @@ textarea {
font-size: 1em;
height: 500px;
}
.hidden, .markdown {
.hidden, .markdown, #links {
display: none;
}
#dashed-line {

Loading…
Cancel
Save