338 |
338 |
339 static file |
339 static file |
340 |
340 |
341 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server |
341 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server |
342 200 Script output follows |
342 200 Script output follows |
343 content-length: 8012 |
343 content-length: 8265 |
344 content-type: text/css |
344 content-type: text/css |
345 |
345 |
346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; } |
346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; } |
347 a { color:#0000cc; } |
347 a { color:#0000cc; } |
348 a:hover, a:visited, a:active { color:#880000; } |
348 a:hover, a:visited, a:active { color:#880000; } |
349 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; } |
349 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; } |
350 div.page_header a:visited { color:#0000cc; } |
350 div.page_header a:visited { color:#0000cc; } |
351 div.page_header a:hover { color:#880000; } |
351 div.page_header a:hover { color:#880000; } |
352 div.page_nav { padding:8px; } |
352 div.page_nav { |
|
353 padding:8px; |
|
354 display: flex; |
|
355 justify-content: space-between; |
|
356 align-items: center; |
|
357 } |
353 div.page_nav a:visited { color:#0000cc; } |
358 div.page_nav a:visited { color:#0000cc; } |
354 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px} |
359 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px} |
355 div.page_footer { padding:4px 8px; background-color: #d9d8d1; } |
360 div.page_footer { padding:4px 8px; background-color: #d9d8d1; } |
356 div.page_footer_text { float:left; color:#555555; font-style:italic; } |
361 div.page_footer_text { float:left; color:#555555; font-style:italic; } |
357 div.page_body { padding:8px; } |
362 div.page_body { padding:8px; } |
395 } |
400 } |
396 td.indexlinks a:hover { background-color: #6666aa; } |
401 td.indexlinks a:hover { background-color: #6666aa; } |
397 div.pre { font-family:monospace; font-size:12px; white-space:pre; } |
402 div.pre { font-family:monospace; font-size:12px; white-space:pre; } |
398 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } |
403 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } |
399 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } |
404 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } |
400 div.search { margin:4px 8px; position:absolute; top:56px; right:12px } |
405 |
|
406 .search { |
|
407 margin-right: 8px; |
|
408 } |
|
409 |
|
410 div#hint { |
|
411 position: absolute; |
|
412 display: none; |
|
413 width: 250px; |
|
414 padding: 5px; |
|
415 background: #ffc; |
|
416 border: 1px solid yellow; |
|
417 border-radius: 5px; |
|
418 } |
|
419 |
|
420 #searchform:hover div#hint { display: block; } |
|
421 |
401 tr.thisrev a { color:#999999; text-decoration: none; } |
422 tr.thisrev a { color:#999999; text-decoration: none; } |
402 tr.thisrev pre { color:#009900; } |
423 tr.thisrev pre { color:#009900; } |
403 td.annotate { |
424 td.annotate { |
404 white-space: nowrap; |
425 white-space: nowrap; |
405 } |
426 } |