summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-07-22 22:46:15 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-07-22 22:47:18 (UTC)
commitf405d0bf75427c627778027e9900359335d6774e (patch) (unidiff)
tree2db75faf97df382edc7667cd8cd06e833361a937 /cgit.css
parenteb45342e735818b3c68cbab9b61b23e79ae74418 (diff)
downloadcgit-f405d0bf75427c627778027e9900359335d6774e.zip
cgit-f405d0bf75427c627778027e9900359335d6774e.tar.gz
cgit-f405d0bf75427c627778027e9900359335d6774e.tar.bz2
Add support for line number in url fragment
With this change, urls like http://hjemli.net/git/cgit/tree/ui-tree.c#43 can be used to jump directly to the specified line number. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 43a40a3..54bbfcc 100644
--- a/cgit.css
+++ b/cgit.css
@@ -191,48 +191,57 @@ a.ls-blob, a.ls-dir, a.ls-mod {
191td.ls-size { 191td.ls-size {
192 text-align: right; 192 text-align: right;
193} 193}
194 194
195td.ls-size { 195td.ls-size {
196 font-family: monospace; 196 font-family: monospace;
197} 197}
198 198
199td.ls-mode { 199td.ls-mode {
200 font-family: monospace; 200 font-family: monospace;
201} 201}
202 202
203table.blob { 203table.blob {
204 margin-top: 0.5em; 204 margin-top: 0.5em;
205 border-top: solid 1px black; 205 border-top: solid 1px black;
206} 206}
207 207
208table.blob td.no { 208table.blob td.no {
209 border-right: solid 1px black; 209 border-right: solid 1px black;
210 color: black; 210 color: black;
211 background-color: #eee; 211 background-color: #eee;
212 text-align: right; 212 text-align: right;
213} 213}
214 214
215table.blob td.no a {
216 color: black;
217}
218
219table.blob td.no a:hover {
220 color: black;
221 text-decoration: none;
222}
223
215table.blob td.txt { 224table.blob td.txt {
216 white-space: pre; 225 white-space: pre;
217 font-family: monospace; 226 font-family: monospace;
218 padding-left: 0.5em; 227 padding-left: 0.5em;
219} 228}
220 229
221table.nowrap td { 230table.nowrap td {
222 white-space: nowrap; 231 white-space: nowrap;
223} 232}
224 233
225table.commit-info { 234table.commit-info {
226 border-collapse: collapse; 235 border-collapse: collapse;
227 margin-top: 1.5em; 236 margin-top: 1.5em;
228} 237}
229 238
230table.commit-info th { 239table.commit-info th {
231 text-align: left; 240 text-align: left;
232 font-weight: normal; 241 font-weight: normal;
233 padding: 0.1em 1em 0.1em 0.1em; 242 padding: 0.1em 1em 0.1em 0.1em;
234 vertical-align: top; 243 vertical-align: top;
235} 244}
236 245
237table.commit-info td { 246table.commit-info td {
238 font-weight: normal; 247 font-weight: normal;