summaryrefslogtreecommitdiff
path: root/cgithub/static/style.css
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-02-11 01:56:37 -0500
committerJoe Mou <dev@mou.fo>2026-02-11 01:56:49 -0500
commit34eea157db19c276fa4a5578707d0f8af2eeffd3 (patch)
tree38eb21d948b74930aaecbb52512cad1211c9794a /cgithub/static/style.css
parent906b021bd44759d14c278a4859fcac9007c9b577 (diff)
Add GitHub releases support
Scrapes releases page HTML to display version tags, publish dates, and changelog content. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'cgithub/static/style.css')
-rw-r--r--cgithub/static/style.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/cgithub/static/style.css b/cgithub/static/style.css
index 8709dc2..fdf3285 100644
--- a/cgithub/static/style.css
+++ b/cgithub/static/style.css
@@ -232,6 +232,48 @@ pre.box {
font-size: 0.8rem;
}
+.release {
+ margin-bottom: 2rem;
+}
+
+.release-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: baseline;
+ margin-bottom: 1rem;
+ padding-bottom: .5rem;
+ border-bottom: 1px solid var(--border-color);
+
+ h3 {
+ margin: 0;
+ }
+}
+
+.release-body {
+ overflow-wrap: break-word;
+
+ a {
+ text-decoration: underline;
+ }
+
+ h1, h2 {
+ border-bottom: 1px solid var(--border-color);
+ }
+
+ img {
+ max-width: 100%;
+ }
+
+ code, pre {
+ background: var(--shade-background);
+ }
+
+ pre {
+ overflow-x: auto;
+ scrollbar-color: var(--border-color) var(--shade-background);
+ }
+}
+
/* TODO Strip permalinks? */
svg.octicon-link {
display: none;