Mercurial > projects > booket
comparison 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 |
comparison
equal
deleted
inserted
replaced
5:39c95b9826d2 | 6:e9ad4c625b7a |
---|---|
40 } | 40 } |
41 | 41 |
42 label, | 42 label, |
43 input[type="text"], | 43 input[type="text"], |
44 input[type="file"], | 44 input[type="file"], |
45 input[type="url"] { | 45 input[type="url"], |
46 textarea { | |
46 display: block; | 47 display: block; |
47 } | 48 } |
48 | 49 |
49 label { | 50 label { |
50 font-weight: bold; | 51 font-weight: bold; |
127 | 128 |
128 #actions form ~ form { | 129 #actions form ~ form { |
129 margin: 1em 0 0 0; | 130 margin: 1em 0 0 0; |
130 } | 131 } |
131 | 132 |
133 #bookmarklet, | |
132 #keyboard-shortcuts { | 134 #keyboard-shortcuts { |
133 float: right; | 135 float: right; |
134 border: 1px solid #d3d7cf; | 136 border: 1px solid #d3d7cf; |
135 border-radius: .5em; | 137 border-radius: .5em; |
136 background-color: #fbfbf9; | |
137 padding: .5em; | 138 padding: .5em; |
138 margin: 0 0 1em 1em; | 139 margin: 0 0 1em 1em; |
139 font-size: .75em; | 140 font-size: .75em; |
140 } | 141 } |
141 | 142 |
143 a#bookmarklet-link { | |
144 display: block; | |
145 margin: 1em 0 0 0; | |
146 } | |
147 | |
148 a#bookmarklet-link:link, | |
149 a#bookmarklet-link:visited, | |
150 a#bookmarklet-link:link:hover, | |
151 a#bookmarklet-link:link:focus, | |
152 a#bookmarklet-link:link:active, | |
153 a#bookmarklet-link:visited:hover, | |
154 a#bookmarklet-link:visited:focus, | |
155 a#bookmarklet-link:visited:active { | |
156 color: #000000; | |
157 text-decoration: underline; | |
158 } | |
159 | |
160 #bookmarklet h3, | |
142 #keyboard-shortcuts h3 { | 161 #keyboard-shortcuts h3 { |
143 font-size: 1em; | 162 font-size: 1em; |
144 text-align: center; | 163 text-align: center; |
145 margin: 0; | 164 margin: 0; |
165 } | |
166 | |
167 #keyboard-shortcuts { | |
168 background-color: #fbfbf9; | |
169 clear: right; | |
146 } | 170 } |
147 | 171 |
148 #keyboard-shortcuts dl { | 172 #keyboard-shortcuts dl { |
149 margin: 1em 0 0 0; | 173 margin: 1em 0 0 0; |
150 } | 174 } |