stagit

Fork of stagit (git://git.codemadness.org/stagit) with personal tweaks.
git clone https://git.philomathiclife.com/repos/stagit
Log | Files | Refs | README | LICENSE

commit cf49fa2ce8bbbf175319a02950f4c009407c136e
parent 5e0b02d248653b1434c3317f1654cb5c6f011320
Author: Zack Newman <zack@philomathiclife.com>
Date:   Mon, 30 Oct 2023 21:47:03 -0600

apply small patches to account for personal repos

Diffstat:
Afavicon.ico | 0
Alogo.svg | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mstagit-index.1 | 4++--
Mstagit-index.c | 14+++++++++-----
Mstagit.1 | 4++--
Mstagit.c | 16+++++++---------
Mstyle.css | 24+++++++++++-------------
7 files changed, 96 insertions(+), 31 deletions(-)

diff --git a/favicon.ico b/favicon.ico Binary files differ. diff --git a/logo.svg b/logo.svg @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE svg> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 920 400" style="enable-background:new 0 0 920 400;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#FFFFFF;} + .st1{fill:#063E4F;} + .st2{fill:#179EA8;} + .st3{fill:#808285;} +</style> +<g> + <g> + <g> + <path class="st0" d="M456.59,200V68.35c0,0-46.25-35.76-132.39-47.61l0.74,15.54l-25.16,0.92l8.35,26.35H283.9 c0,0,23.97,52.19,54.98,140C338.88,203.56,424.02,179.36,456.59,200z"/> + <path class="st0" d="M457.71,200V68.35c0,0,47.06-35.76,132.39-47.61l-0.74,16.47l27.01-0.92l-6.5,27.28h20.52 c0,0-23.97,52.19-54.98,140C575.42,203.56,490.28,179.36,457.71,200z"/> + </g> + <g> + <path class="st1" d="M303.66,60.03h-30.32c0,0,34.78,41.91,58.41,156.05c0,0,51.27-21.85,122.16-15.16 c0,0-61.08-17.39-115.03,3.57c0,0-12.04-65.99-45.03-136.43l14.27-1.72L303.66,60.03z"/> + <path class="st1" d="M612.64,60.03h30.32c0,0-34.78,41.91-58.41,156.05c0,0-51.27-21.85-122.16-15.16 c0,0,61.08-17.39,115.03,3.57c0,0,12.04-65.99,45.03-136.43l-14.27-1.72L612.64,60.03z"/> + </g> + <path class="st2" d="M412,43.09c0,0-48.6-28.09-98.53-31.66l48.15,169.87c0,0,53.06-6.69,94.97,19.62c0,0-26.31-27.2-86.94-28.09 c0,0-23.18-113.25-39.24-149.36C330.41,23.47,365.19,26.15,412,43.09z"/> + <path class="st2" d="M320.16,35.06c0,0-17.39-2.23-24.97-1.34c0,0,41.91,115.03,50.83,165.41c0,0,22.29-11.59,110.57,1.78 c0,0-30.32-22.29-101.21-13.38c0,0-22.29-98.98-44.14-144.46c0,0,6.31-1.27,11.66-0.38L320.16,35.06z"/> + <path class="st2" d="M504.29,43.09c0,0,48.6-28.09,98.53-31.66L554.68,181.3c0,0-53.06-6.69-94.97,19.62 c0,0,26.31-27.2,86.94-28.09c0,0,23.18-113.25,39.24-149.36C585.89,23.47,551.11,26.15,504.29,43.09z"/> + <path class="st2" d="M596.14,35.06c0,0,17.39-2.23,24.97-1.34c0,0-41.91,115.03-50.83,165.41c0,0-22.29-11.59-110.57,1.78 c0,0,30.32-22.29,101.21-13.38c0,0,22.29-98.98,44.14-144.46c0,0-6.31-1.27-11.66-0.38L596.14,35.06z"/> + <g> + <g> + <path class="st3" d="M355.92,72.95c1.36-4.54,5.8-8.1,10.73-8.27c2.45-0.1,4.9,0.6,7,1.9c1.05,0.65,1.99,1.48,2.79,2.42 c0.79,0.94,1.45,1.94,2.13,2.87c0.68,0.93,1.4,1.8,2.26,2.43c0.84,0.64,1.86,1,2.9,1.11c2.12,0.18,4.31-0.67,6.43-1.6 c2.13-0.93,4.26-2.03,6.67-2.69c1.2-0.33,2.48-0.51,3.8-0.38c1.31,0.11,2.6,0.62,3.67,1.38c2.14,1.58,3.31,3.79,4.68,5.6 c1.33,1.82,3.05,3.26,5.09,4.2c2.01,0.96,4.27,1.41,6.5,1.32c2.26-0.06,4.34-0.86,6.48-1.87c1.07-0.49,2.16-1,3.32-1.39 c1.15-0.4,2.41-0.68,3.7-0.56c1.29,0.1,2.54,0.66,3.48,1.49c0.95,0.81,1.69,1.78,2.42,2.69c2.75,3.74,7.24,6.09,11.96,6.34 c-4.73,0.14-9.52-2.1-12.59-5.81c-0.78-0.89-1.51-1.8-2.38-2.49c-0.86-0.7-1.88-1.11-2.96-1.16c-1.07-0.07-2.17,0.2-3.22,0.61 c-1.06,0.4-2.1,0.92-3.16,1.45c-1.06,0.52-2.13,1.07-3.31,1.47c-1.18,0.4-2.41,0.65-3.65,0.71c-2.48,0.14-4.99-0.31-7.25-1.35 c-2.27-0.99-4.28-2.68-5.74-4.66c-1.45-1.93-2.62-3.99-4.34-5.22c-1.69-1.26-3.92-1.39-6.07-0.78 c-2.16,0.57-4.26,1.64-6.46,2.56c-2.19,0.9-4.57,1.85-7.21,1.6c-1.3-0.16-2.58-0.64-3.6-1.45c-1.03-0.8-1.79-1.81-2.46-2.8 c-0.68-0.99-1.29-1.99-1.99-2.88c-0.7-0.88-1.52-1.65-2.46-2.28c-1.87-1.25-4.13-1.97-6.4-1.97 C362.08,65.39,357.64,68.56,355.92,72.95z"/> + </g> + <g> + <path class="st3" d="M367.67,104.42c0.6-1.75,2.11-3.09,3.8-3.86c1.7-0.79,3.62-1.07,5.5-0.94c1.88,0.16,3.73,0.71,5.39,1.65 c0.83,0.46,1.61,1.07,2.29,1.74c0.68,0.66,1.28,1.35,1.91,1.94c1.24,1.22,2.79,1.84,4.46,1.88c1.67,0.06,3.39-0.45,5.11-0.97 c1.73-0.53,3.51-1.13,5.46-1.32c0.97-0.13,1.98-0.06,2.98,0.11c0.49,0.13,0.98,0.27,1.46,0.45c0.48,0.19,0.92,0.45,1.35,0.72 c1.69,1.14,2.79,2.71,4.05,3.86c1.24,1.15,2.78,2,4.41,2.57c1.63,0.58,3.38,0.89,5.11,0.88c0.87-0.01,1.73-0.09,2.57-0.27 c0.85-0.18,1.71-0.45,2.59-0.71c1.73-0.52,3.66-1.08,5.65-0.72c0.97,0.18,1.92,0.6,2.69,1.18c0.78,0.57,1.43,1.24,2.08,1.86 c2.55,2.5,6.07,3.93,9.68,4.36c-1.83-0.02-3.67-0.35-5.4-0.99c-1.74-0.62-3.4-1.54-4.83-2.76c-0.7-0.6-1.36-1.22-2.07-1.7 c-0.71-0.49-1.5-0.78-2.32-0.91c-1.66-0.24-3.37,0.31-5.07,0.9c-0.86,0.3-1.73,0.61-2.66,0.85c-0.94,0.23-1.9,0.34-2.86,0.37 c-1.92,0.05-3.83-0.25-5.65-0.85c-1.82-0.6-3.55-1.55-5.01-2.87c-1.42-1.31-2.5-2.77-3.87-3.67c-1.34-0.93-3-1.22-4.69-1.04 c-1.7,0.15-3.41,0.71-5.17,1.21c-1.77,0.48-3.62,1.02-5.62,0.91l-0.74-0.05l-0.74-0.15c-0.5-0.07-0.96-0.31-1.43-0.48 c-0.93-0.41-1.73-1.06-2.39-1.74c-1.33-1.39-2.33-2.8-3.85-3.69c-1.48-0.92-3.19-1.51-4.94-1.75c-1.75-0.25-3.57-0.12-5.24,0.53 C370,101.61,368.44,102.74,367.67,104.42z"/> + </g> + <g> + <path class="st3" d="M371.07,135.78c0.6-1.75,2.11-3.09,3.8-3.86c1.7-0.79,3.62-1.07,5.5-0.94c1.88,0.16,3.73,0.71,5.39,1.65 c0.83,0.46,1.61,1.07,2.29,1.74c0.68,0.66,1.28,1.35,1.91,1.94c1.24,1.22,2.79,1.84,4.46,1.88c1.67,0.06,3.39-0.45,5.11-0.97 c1.73-0.53,3.51-1.13,5.46-1.32c0.97-0.13,1.98-0.06,2.98,0.11c0.49,0.13,0.98,0.27,1.46,0.45c0.48,0.19,0.92,0.45,1.35,0.72 c1.69,1.14,2.79,2.71,4.05,3.86c1.24,1.15,2.78,2,4.41,2.57c1.63,0.58,3.38,0.89,5.11,0.88c0.87-0.01,1.73-0.09,2.57-0.27 c0.85-0.18,1.71-0.45,2.59-0.71c1.73-0.52,3.66-1.08,5.65-0.72c0.97,0.18,1.92,0.6,2.69,1.18c0.78,0.57,1.43,1.24,2.08,1.86 c2.55,2.5,6.07,3.93,9.68,4.36c-1.83-0.02-3.67-0.35-5.4-0.99c-1.74-0.62-3.4-1.54-4.83-2.76c-0.7-0.6-1.36-1.22-2.07-1.7 c-0.71-0.49-1.5-0.78-2.32-0.91c-1.66-0.24-3.37,0.31-5.07,0.9c-0.86,0.3-1.73,0.61-2.66,0.85c-0.94,0.23-1.9,0.34-2.86,0.37 c-1.92,0.05-3.83-0.25-5.65-0.85c-1.82-0.6-3.55-1.55-5.01-2.87c-1.42-1.31-2.5-2.77-3.87-3.67c-1.34-0.93-3-1.22-4.69-1.04 c-1.7,0.15-3.41,0.71-5.17,1.21c-1.77,0.48-3.62,1.02-5.62,0.91l-0.74-0.05l-0.74-0.15c-0.5-0.07-0.96-0.31-1.43-0.48 c-0.93-0.41-1.73-1.06-2.39-1.74c-1.33-1.39-2.33-2.8-3.85-3.69c-1.48-0.92-3.19-1.51-4.94-1.75c-1.75-0.25-3.57-0.12-5.24,0.53 C373.4,132.96,371.84,134.1,371.07,135.78z"/> + </g> + </g> + <g> + <g> + <path class="st3" d="M555.79,72.95c-1.72-4.39-6.16-7.56-10.75-7.45c-2.28,0-4.53,0.72-6.4,1.97c-0.94,0.63-1.76,1.4-2.46,2.28 c-0.7,0.89-1.31,1.88-1.99,2.88c-0.67,0.99-1.44,2-2.46,2.8c-1.02,0.82-2.3,1.3-3.6,1.45c-2.64,0.24-5.02-0.71-7.21-1.6 c-2.2-0.92-4.29-1.99-6.46-2.56c-2.15-0.61-4.37-0.48-6.07,0.78c-1.72,1.23-2.89,3.29-4.34,5.22c-1.46,1.98-3.47,3.66-5.74,4.66 c-2.26,1.04-4.77,1.49-7.25,1.35c-1.24-0.06-2.47-0.31-3.65-0.71c-1.18-0.4-2.25-0.95-3.31-1.47c-1.06-0.53-2.09-1.05-3.16-1.45 c-1.06-0.4-2.15-0.68-3.22-0.61c-1.07,0.05-2.1,0.46-2.96,1.16c-0.87,0.69-1.61,1.59-2.38,2.49c-3.08,3.72-7.86,5.95-12.59,5.81 c4.72-0.25,9.21-2.6,11.96-6.34c0.73-0.92,1.46-1.88,2.42-2.69c0.94-0.83,2.19-1.39,3.48-1.49c1.29-0.12,2.55,0.16,3.7,0.56 c1.16,0.4,2.25,0.9,3.32,1.39c2.14,1.01,4.22,1.82,6.48,1.87c2.23,0.09,4.49-0.36,6.5-1.32c2.04-0.94,3.76-2.37,5.09-4.2 c1.37-1.81,2.54-4.02,4.68-5.6c1.07-0.76,2.36-1.27,3.67-1.38c1.31-0.13,2.6,0.06,3.8,0.38c2.4,0.66,4.54,1.75,6.67,2.69 c2.11,0.92,4.3,1.77,6.43,1.6c1.04-0.11,2.05-0.47,2.9-1.11c0.86-0.63,1.58-1.49,2.26-2.43c0.68-0.93,1.34-1.94,2.13-2.87 c0.8-0.94,1.74-1.78,2.79-2.42c2.09-1.3,4.55-2,7-1.9C549.98,64.85,554.42,68.42,555.79,72.95z"/> + </g> + <g> + <path class="st3" d="M544.04,104.42c-0.77-1.68-2.33-2.81-3.97-3.46c-1.67-0.64-3.49-0.78-5.24-0.53 c-1.75,0.24-3.46,0.83-4.94,1.75c-1.52,0.89-2.51,2.3-3.85,3.69c-0.67,0.68-1.47,1.33-2.39,1.74c-0.47,0.17-0.93,0.41-1.43,0.48 l-0.74,0.15l-0.74,0.05c-2,0.11-3.86-0.43-5.62-0.91c-1.77-0.5-3.48-1.06-5.17-1.21c-1.69-0.17-3.35,0.11-4.69,1.04 c-1.37,0.9-2.45,2.36-3.87,3.67c-1.45,1.32-3.19,2.27-5.01,2.87c-1.82,0.6-3.73,0.9-5.65,0.85c-0.96-0.03-1.92-0.14-2.86-0.37 c-0.93-0.24-1.8-0.55-2.66-0.85c-1.7-0.6-3.41-1.14-5.07-0.9c-0.83,0.12-1.61,0.42-2.32,0.91c-0.72,0.48-1.37,1.1-2.07,1.7 c-1.43,1.22-3.09,2.13-4.83,2.76c-1.74,0.63-3.58,0.97-5.4,0.99c3.61-0.42,7.13-1.86,9.68-4.36c0.65-0.62,1.3-1.29,2.08-1.86 c0.77-0.58,1.72-1,2.69-1.18c1.99-0.36,3.91,0.2,5.65,0.72c0.88,0.26,1.74,0.53,2.59,0.71c0.84,0.18,1.7,0.26,2.57,0.27 c1.73,0.01,3.48-0.3,5.11-0.88c1.63-0.58,3.17-1.42,4.41-2.57c1.26-1.15,2.36-2.72,4.05-3.86c0.42-0.27,0.87-0.53,1.35-0.72 c0.48-0.18,0.97-0.32,1.46-0.45c1-0.17,2.01-0.24,2.98-0.11c1.95,0.2,3.73,0.8,5.46,1.32c1.72,0.52,3.44,1.03,5.11,0.97 c1.67-0.04,3.23-0.66,4.46-1.88c0.64-0.59,1.24-1.28,1.91-1.94c0.67-0.66,1.46-1.27,2.29-1.74c1.67-0.94,3.51-1.49,5.39-1.65 c1.88-0.14,3.8,0.14,5.5,0.94C541.93,101.33,543.44,102.67,544.04,104.42z"/> + </g> + <g> + <path class="st3" d="M540.64,135.78c-0.77-1.68-2.33-2.81-3.97-3.46c-1.67-0.64-3.49-0.78-5.24-0.53 c-1.75,0.24-3.46,0.83-4.94,1.75c-1.52,0.89-2.51,2.3-3.85,3.69c-0.67,0.68-1.47,1.33-2.39,1.74c-0.47,0.17-0.93,0.41-1.43,0.48 l-0.74,0.15l-0.74,0.05c-2,0.11-3.86-0.43-5.62-0.91c-1.77-0.5-3.48-1.06-5.17-1.21c-1.69-0.17-3.35,0.11-4.69,1.04 c-1.37,0.9-2.45,2.36-3.87,3.67c-1.45,1.32-3.19,2.27-5.01,2.87c-1.82,0.6-3.73,0.9-5.65,0.85c-0.96-0.03-1.92-0.14-2.86-0.37 c-0.93-0.24-1.8-0.55-2.66-0.85c-1.7-0.6-3.41-1.14-5.07-0.9c-0.83,0.12-1.61,0.42-2.32,0.91c-0.72,0.48-1.37,1.1-2.07,1.7 c-1.43,1.22-3.09,2.13-4.83,2.76c-1.74,0.63-3.58,0.97-5.4,0.99c3.61-0.42,7.13-1.86,9.68-4.36c0.65-0.62,1.3-1.29,2.08-1.86 c0.77-0.58,1.72-1,2.69-1.18c1.99-0.36,3.91,0.2,5.65,0.72c0.88,0.26,1.74,0.53,2.59,0.71c0.84,0.18,1.7,0.26,2.57,0.27 c1.73,0.01,3.48-0.3,5.11-0.88c1.63-0.58,3.17-1.42,4.41-2.57c1.26-1.15,2.36-2.72,4.05-3.86c0.42-0.27,0.87-0.53,1.35-0.72 c0.48-0.18,0.97-0.32,1.46-0.45c1-0.17,2.01-0.24,2.98-0.11c1.95,0.2,3.73,0.8,5.46,1.32c1.73,0.52,3.44,1.03,5.11,0.97 c1.67-0.04,3.23-0.66,4.46-1.88c0.64-0.59,1.24-1.28,1.91-1.94c0.67-0.66,1.46-1.27,2.29-1.74c1.67-0.94,3.51-1.49,5.39-1.65 c1.88-0.14,3.8,0.14,5.5,0.94C538.53,132.68,540.04,134.02,540.64,135.78z"/> + </g> + </g> + </g> + <g> + <path class="st1" d="M10.85,326.86c0-8.01-0.26-14.46-0.52-20.4h10.2l0.52,10.72h0.26c4.65-7.62,12.01-12.14,22.21-12.14 c15.11,0,26.48,12.79,26.48,31.77c0,22.47-13.69,33.58-28.41,33.58c-8.27,0-15.5-3.62-19.24-9.82h-0.26v33.97H10.85V326.86z M22.09,343.52c0,1.68,0.26,3.23,0.52,4.65c2.07,7.88,8.91,13.3,17.05,13.3c12.01,0,18.98-9.82,18.98-24.15 c0-12.53-6.59-23.25-18.6-23.25c-7.75,0-14.98,5.55-17.18,14.08c-0.39,1.42-0.77,3.1-0.77,4.65V343.52z"/> + <path class="st1" d="M84.34,277.27H95.7v39h0.26c1.81-3.23,4.65-6.07,8.14-8.01c3.36-1.94,7.36-3.23,11.62-3.23 c8.39,0,21.83,5.17,21.83,26.73v37.19h-11.36v-35.9c0-10.07-3.75-18.6-14.46-18.6c-7.36,0-13.17,5.17-15.24,11.36 c-0.65,1.55-0.77,3.23-0.77,5.42v37.71H84.34V277.27z"/> + <path class="st1" d="M168.67,288.89c0.13,3.87-2.71,6.97-7.23,6.97c-4,0-6.84-3.1-6.84-6.97c0-4,2.97-7.1,7.1-7.1 C165.96,281.79,168.67,284.89,168.67,288.89z M156.01,368.96v-62.51h11.36v62.51H156.01z"/> + <path class="st1" d="M324.93,337.19c0,23.12-16.01,33.19-31.12,33.19c-16.92,0-29.96-12.4-29.96-32.16 c0-20.92,13.69-33.19,31-33.19C312.79,305.04,324.93,318.08,324.93,337.19z M275.34,337.84c0,13.69,7.88,24.02,18.98,24.02 c10.85,0,18.98-10.2,18.98-24.28c0-10.59-5.29-24.02-18.73-24.02S275.34,325.96,275.34,337.84z"/> + <path class="st1" d="M339.27,323.37c0-6.46-0.13-11.75-0.52-16.92h9.94l0.52,10.07h0.39c3.49-5.94,9.3-11.49,19.63-11.49 c8.52,0,14.98,5.17,17.69,12.53h0.26c1.94-3.49,4.39-6.2,6.97-8.14c3.75-2.84,7.88-4.39,13.82-4.39c8.27,0,20.53,5.42,20.53,27.12 v36.81H417.4v-35.39c0-12.01-4.39-19.24-13.56-19.24c-6.46,0-11.49,4.78-13.43,10.33c-0.52,1.55-0.9,3.62-0.9,5.68v38.61H378.4 v-37.45c0-9.95-4.39-17.18-13.04-17.18c-7.1,0-12.27,5.68-14.08,11.36c-0.65,1.68-0.9,3.61-0.9,5.55v37.71h-11.11V323.37z"/> + <path class="st1" d="M481.59,368.96l-0.9-7.88h-0.39c-3.49,4.91-10.2,9.3-19.11,9.3c-12.66,0-19.11-8.91-19.11-17.95 c0-15.11,13.43-23.37,37.58-23.25v-1.29c0-5.17-1.42-14.46-14.21-14.46c-5.81,0-11.88,1.81-16.27,4.65l-2.58-7.49 c5.17-3.36,12.66-5.55,20.53-5.55c19.11,0,23.76,13.04,23.76,25.57v23.37c0,5.42,0.26,10.72,1.03,14.98H481.59z M479.91,337.06 c-12.4-0.26-26.48,1.94-26.48,14.08c0,7.36,4.91,10.85,10.72,10.85c8.14,0,13.3-5.17,15.11-10.46c0.39-1.16,0.65-2.45,0.65-3.62 V337.06z"/> + <path class="st1" d="M522.4,288.51v17.95h16.27v8.65H522.4v33.71c0,7.75,2.2,12.14,8.52,12.14c2.97,0,5.16-0.39,6.59-0.78 l0.52,8.52c-2.2,0.9-5.68,1.55-10.07,1.55c-5.29,0-9.56-1.68-12.27-4.78c-3.23-3.36-4.39-8.91-4.39-16.27v-34.09h-9.68v-8.65h9.68 v-14.98L522.4,288.51z"/> + <path class="st1" d="M551.45,277.27h11.36v39h0.26c1.81-3.23,4.65-6.07,8.14-8.01c3.36-1.94,7.36-3.23,11.62-3.23 c8.39,0,21.83,5.17,21.83,26.73v37.19H593.3v-35.9c0-10.07-3.75-18.6-14.47-18.6c-7.36,0-13.17,5.17-15.24,11.36 c-0.65,1.55-0.78,3.23-0.78,5.42v37.71h-11.36V277.27z"/> + <path class="st1" d="M635.79,288.89c0.13,3.87-2.71,6.97-7.23,6.97c-4,0-6.85-3.1-6.85-6.97c0-4,2.97-7.1,7.1-7.1 C633.08,281.79,635.79,284.89,635.79,288.89z M623.13,368.96v-62.51h11.36v62.51H623.13z"/> + <path class="st1" d="M697.91,366.64c-2.97,1.55-9.56,3.62-17.95,3.62c-18.85,0-31.12-12.79-31.12-31.9 c0-19.24,13.17-33.19,33.58-33.19c6.72,0,12.66,1.68,15.76,3.23l-2.58,8.78c-2.71-1.55-6.97-2.97-13.17-2.97 c-14.33,0-22.08,10.59-22.08,23.63c0,14.47,9.3,23.38,21.7,23.38c6.46,0,10.72-1.68,13.95-3.1L697.91,366.64z"/> + <path class="st2" d="M806,288.89c0.13,3.87-2.71,6.97-7.23,6.97c-4,0-6.85-3.1-6.85-6.97c0-4,2.97-7.1,7.1-7.1 C803.29,281.79,806,284.89,806,288.89z M793.34,368.96v-62.51h11.36v62.51H793.34z"/> + <path class="st2" d="M824.72,368.96v-53.85h-8.78v-8.65h8.78v-2.97c0-8.78,1.94-16.79,7.23-21.83c4.26-4.13,9.95-5.81,15.24-5.81 c4,0,7.49,0.9,9.69,1.81l-1.55,8.78c-1.68-0.77-4-1.42-7.23-1.42c-9.68,0-12.14,8.52-12.14,18.08v3.36h15.11v8.65h-15.11v53.85 H824.72z"/> + <path class="st2" d="M865.92,339.78c0.26,15.37,10.07,21.7,21.44,21.7c8.14,0,13.04-1.42,17.3-3.23l1.94,8.14 c-4,1.81-10.85,3.87-20.79,3.87c-19.24,0-30.74-12.66-30.74-31.51c0-18.85,11.11-33.71,29.32-33.71 c20.4,0,25.83,17.95,25.83,29.45c0,2.33-0.26,4.13-0.39,5.3H865.92z M899.24,331.64c0.13-7.23-2.97-18.47-15.76-18.47 c-11.49,0-16.53,10.59-17.43,18.47H899.24z"/> + </g> + <path class="st2" d="M776.07,358.81c0-0.75-1.19-2.16-3.57-4.21c-1.73-1.4-3.24-2.7-4.54-3.89c-1.3-1.19-2.38-2.27-3.24-3.24 c-1.62-1.73-2.99-3.56-4.13-5.51c-1.14-1.94-2.08-3.94-2.83-5.99l-7.13-27.7c-3.67-13.17-7.67-23.11-11.99-29.81 c-5.83-9.18-13.01-13.77-21.55-13.77c-1.84,0-3.78,0.38-5.83,1.13c-2.48,0.97-3.72,2.43-3.72,4.37c0,3.02,0.57,5.02,1.7,5.99 c1.13,0.97,3.22,1.46,6.24,1.46c8.31,0,13.61,0.49,15.88,1.46c5.29,1.84,7.94,6.48,7.94,13.93c0,5.29-10.8,29.26-32.4,71.92h13.77 c5.94-12.09,10.9-22.73,14.9-31.91c3.99-9.18,7.07-16.95,9.23-23.32c0.65,3.24,1.27,6.56,1.86,9.96c0.59,3.4,1.21,6.83,1.86,10.28 c1.19,5.4,2.4,10.15,3.64,14.25c1.24,4.11,2.57,7.67,3.97,10.69c3.78,8.21,8.05,12.31,12.8,12.31c0.97,0,1.89-0.27,2.75-0.81 c0.86-0.54,1.62-1.22,2.27-2.03c0.65-0.81,1.16-1.73,1.54-2.75"/> + <path class="st1" d="M255.57,358.81c0-0.75-1.19-2.16-3.57-4.21c-1.73-1.4-3.24-2.7-4.54-3.89c-1.3-1.19-2.38-2.27-3.24-3.24 c-1.62-1.73-2.99-3.56-4.13-5.51c-1.14-1.94-2.08-3.94-2.83-5.99l-7.13-27.7c-3.67-13.17-7.67-23.11-11.99-29.81 c-5.83-9.18-13.01-13.77-21.55-13.77c-1.84,0-3.78,0.38-5.83,1.13c-2.48,0.97-3.72,2.43-3.72,4.37c0,3.02,0.57,5.02,1.7,5.99 c1.13,0.97,3.22,1.46,6.24,1.46c8.31,0,13.61,0.49,15.88,1.46c5.29,1.84,7.94,6.48,7.94,13.93c0,5.29-10.8,29.26-32.4,71.92h13.77 c5.94-12.09,10.9-22.73,14.9-31.91c3.99-9.18,7.07-16.95,9.23-23.32c0.65,3.24,1.27,6.56,1.86,9.96c0.59,3.4,1.21,6.83,1.86,10.28 c1.19,5.4,2.4,10.15,3.64,14.25c1.24,4.11,2.57,7.67,3.97,10.69c3.78,8.21,8.05,12.31,12.8,12.31c0.97,0,1.89-0.27,2.75-0.81 c0.86-0.54,1.62-1.22,2.27-2.03c0.65-0.81,1.16-1.73,1.54-2.75"/> +</g> +</svg> diff --git a/stagit-index.1 b/stagit-index.1 @@ -29,9 +29,9 @@ owner of repository .Pp For changing the style of the page you can use the following files: .Bl -tag -width Ds -.It favicon.png +.It favicon.ico favicon image. -.It logo.png +.It logo.svg 32x32 logo. .It style.css CSS stylesheet. diff --git a/stagit-index.c b/stagit-index.c @@ -12,7 +12,9 @@ static git_repository *repo; static const char *relpath = ""; -static char description[255] = "Repositories"; +static char title[255] = "Repos | Philomathic Life"; +static char description[255] = "SSH signing key:"; +static char description2[255] = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIGZf+z+vUsI3FU49iSO5A4EDYxGFHcmIFyJZK7bDkMogAAAABHNzaDo="; static char *name = ""; static char owner[255]; @@ -96,17 +98,19 @@ void writeheader(FILE *fp) { fputs("<!DOCTYPE html>\n" - "<html>\n<head>\n" + "<html lang=\"en\">\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n" "<title>", fp); - xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath); + xmlencode(fp, title, strlen(title)); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/x-icon\" href=\"%sfavicon.ico\" />\n", relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); fputs("</head>\n<body>\n", fp); - fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" + fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.svg\" alt=\"Philomathic Life\" width=\"73\" height=\"32\" /></td>\n" "<td><span class=\"desc\">", relpath); xmlencode(fp, description, strlen(description)); + fputs("</span><br><span class=\"desc\">", fp); + xmlencode(fp, description2, strlen(description2)); fputs("</span></td></tr><tr><td></td><td>\n" "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" "<table id=\"index\"><thead>\n" diff --git a/stagit.1 b/stagit.1 @@ -101,9 +101,9 @@ exists in HEAD a direct link in the menu is made. .Pp For changing the style of the page you can use the following files: .Bl -tag -width Ds -.It favicon.png +.It favicon.ico favicon image. -.It logo.png +.It logo.svg 32x32 logo. .It style.css CSS stylesheet. diff --git a/stagit.c b/stagit.c @@ -500,7 +500,7 @@ void writeheader(FILE *fp, const char *title) { fputs("<!DOCTYPE html>\n" - "<html>\n<head>\n" + "<html lang=\"en\">\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n" "<title>", fp); @@ -508,19 +508,17 @@ writeheader(FILE *fp, const char *title) if (title[0] && strippedname[0]) fputs(" - ", fp); xmlencode(fp, strippedname, strlen(strippedname)); - if (description[0]) - fputs(" - ", fp); - xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath); + fputs(" | Philomathic Life", fp); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/x-icon\" href=\"%s../favicon.ico\" />\n", relpath); fputs("<link rel=\"alternate\" type=\"application/atom+xml\" title=\"", fp); xmlencode(fp, name, strlen(name)); fprintf(fp, " Atom Feed\" href=\"%satom.xml\" />\n", relpath); fputs("<link rel=\"alternate\" type=\"application/atom+xml\" title=\"", fp); xmlencode(fp, name, strlen(name)); fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath); - fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); + fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s../style.css\" />\n", relpath); fputs("</head>\n<body>\n<table><tr><td>", fp); - fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", + fprintf(fp, "<a href=\"../%s\"><img src=\"%s../logo.svg\" alt=\"\" width=\"73\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><h1>", fp); xmlencode(fp, strippedname, strlen(strippedname)); @@ -860,7 +858,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) fputs("</updated>\n", fp); } if (ci->summary) { - fputs("<title>", fp); + fputs("<title type=\"text\">", fp); if (tag && tag[0]) { fputs("[", fp); xmlencode(fp, tag, strlen(tag)); @@ -880,7 +878,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) fputs("</email>\n</author>\n", fp); } - fputs("<content>", fp); + fputs("<content type=\"text\">", fp); fprintf(fp, "commit %s\n", ci->oid); if (ci->parentoid[0]) fprintf(fp, "parent %s\n", ci->parentoid); diff --git a/style.css b/style.css @@ -17,16 +17,19 @@ img { border: 0; } -a:target { - background-color: #ccc; +a { + background-color: white; + text-decoration: none; + color: #179ea8; +} + +a:hover { + text-decoration: underline; } a.d, a.h, a.i, -a.line { - text-decoration: none; -} #blob a { color: #555; @@ -34,7 +37,7 @@ a.line { #blob a:hover { color: blue; - text-decoration: none; + text-decoration: underline; } table thead td { @@ -54,9 +57,6 @@ table td { #tags tr:hover td, #index tr:hover td, #log tr:hover td, -#files tr:hover td { - background-color: #eee; -} #index tr td:nth-child(2), #tags tr td:nth-child(3), @@ -114,7 +114,8 @@ pre a.d:hover { border-color: #222; } a { - color: #56c8ff; + background-color: #000; + color: #179ea8; } a:target { background-color: #222; @@ -148,7 +149,4 @@ pre a.d:hover { #tags tr:hover td, #index tr:hover td, #log tr:hover td, - #files tr:hover td { - background-color: #111; - } }