Mercurial > projects > booket
diff booket.css @ 6:e9ad4c625b7a
Add bookmarklet for bookmarking
Add a bookmarklet which gathers the URL and title of the current page which
can then be copied and pasted into Booket
author | Guido Berhoerster <guido+booket@berhoerster.name> |
---|---|
date | Wed, 10 Sep 2014 19:45:23 +0200 |
parents | e78c3356b585 |
children | a1a934adff8d |
line wrap: on
line diff
--- a/booket.css Tue Sep 09 20:23:58 2014 +0200 +++ b/booket.css Wed Sep 10 19:45:23 2014 +0200 @@ -42,7 +42,8 @@ label, input[type="text"], input[type="file"], -input[type="url"] { +input[type="url"], +textarea { display: block; } @@ -129,22 +130,45 @@ margin: 1em 0 0 0; } +#bookmarklet, #keyboard-shortcuts { float: right; border: 1px solid #d3d7cf; border-radius: .5em; - background-color: #fbfbf9; padding: .5em; margin: 0 0 1em 1em; font-size: .75em; } +a#bookmarklet-link { + display: block; + margin: 1em 0 0 0; +} + +a#bookmarklet-link:link, +a#bookmarklet-link:visited, +a#bookmarklet-link:link:hover, +a#bookmarklet-link:link:focus, +a#bookmarklet-link:link:active, +a#bookmarklet-link:visited:hover, +a#bookmarklet-link:visited:focus, +a#bookmarklet-link:visited:active { + color: #000000; + text-decoration: underline; +} + +#bookmarklet h3, #keyboard-shortcuts h3 { font-size: 1em; text-align: center; margin: 0; } +#keyboard-shortcuts { + background-color: #fbfbf9; + clear: right; +} + #keyboard-shortcuts dl { margin: 1em 0 0 0; }