Commits at 94dec475ff29da2bf8034205a576e3e56d8b3fcf
4efb241dFix blob page code block slightly overflows vertically
That makes unpleasant UX, such as almost-full scrollbars and requiring
two-fingers swipe twice (one for scroll `<pre>` and second for the page)
Shota FUJI
authored at
Shota FUJI
comitted at
5e20b033HTML preview for Markdown
While Markdown is relatively readable format, syntax highlighted
monospace font is not easy to read compared to well-spaced sans-serif.
Shota FUJI
authored at
Shota FUJI
comitted at
d38d10b2Increase top padding on 3-column layout
I don't know why, but it was uncomfortable to read texts at the very
near the top of a content area.
Shota FUJI
authored at
Shota FUJI
comitted at
291d38c0Add more spaces to Markdown headings
Those were so packed and hard to read.
Shota FUJI
authored at
Shota FUJI
comitted at
44c4ba1fDisplay datetime in user's time zone by using JavaScript
Everytime I see datetime text with time zone I'm not familiar with, I
struggle to calculate from my local time zone. There are situations
where author's/committer's local time zone matters, (e.g. did they write
this patch in night?) I kept the original datetime in "title" attribute
(tooltip). Browsers' handling of "title" attribute is bad, but it's
better than nothing.
Shota FUJI
authored at
Shota FUJI
comitted at
5e6eb22bFix blob line number slightly enlarges on Android Chrome
When a file's line count exceeds certain amount (probably 130 or so?)
the line number rows slightly increases its vertical size and causes
misalign to a text line on its right.
This happens on Samsung Galaxy Tab S9 FE (Android 14), and does not
happen on Motorola Razr 40 Ultra (Android 15).
I still don't know which factor plays, but this patch fixes the bug.
Shota FUJI
authored at
Shota FUJI
comitted at
31530491Resolve paths from config file, not cwd
I was surprised during writing "demo/config.yaml".
Shota FUJI
authored at
Shota FUJI
comitted at
b8430efeChange syntaxHighlight option from string to boolean
Since replacing templates, syntax highlighting no longer uses supplied
style.
Shota FUJI
authored at
Shota FUJI
comitted at
6fbc5cd1Add documentation comment for sample config.yaml
This is handy. I'm not sure I'll create a reference doc for
configurations.
Shota FUJI
authored at
Shota FUJI
comitted at
41a17d94Set default tab width for <body>
I'm going to make tab width user selectable. This is both as a temporary
solution and as a default value.
Shota FUJI
authored at
Shota FUJI
comitted at
ce2a0949Use tab indentation for HTML and CSS
HTML are all gone and CSS are completely rewritten.
Shota FUJI
authored at
Shota FUJI
comitted at
f81ee57dSetup dprint, code formatter
Running `go fmt <module>` is a lot. I often forgot to run that.
dprint, on the other hand, formats everything by default. A chance of
missing to run is significantly lower.
Shota FUJI
authored at
Shota FUJI
comitted at
130a2337Disable go-import
`go-import` does not work with `.git` extension and current routing
logic cannot handle `foo -> foo.git` lookup.
<https://github.com./icyphox/legit/issues/34>
Shota FUJI
authored at
Shota FUJI
comitted at
369d05c6Fix most of the links are 404-ed on repository with .git suffix
Shota FUJI
authored at
Shota FUJI
comitted at
64314274Align header and aside to top on three-column layout
It looked good when there is enough main content, otherwise awkward due
to misalign-feel.
Shota FUJI
authored at
Shota FUJI
comitted at
4d770943Refactor simple slice lookup to slices.Contains
gopls screaming this refactor everytime I open this file. It was
annoying.
Shota FUJI
authored at
Shota FUJI
comitted at