aboutsummaryrefslogtreecommitdiff
path: root/responsive/cgit.css
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2026-01-06 23:22:55 +0900
committerTolmachev Igor <me@igorek.dev>2026-01-06 23:22:55 +0900
commit021bcd9057e1a0f3c2b5756f5cd613c635b47fbb (patch)
tree056557ff6a9557db241f69db197a901960444295 /responsive/cgit.css
parent4f14cdffbf165cb3a5b48f5bf5a1b58e515e2ec4 (diff)
downloadcgit_material_docker-021bcd9057e1a0f3c2b5756f5cd613c635b47fbb.tar.gz
cgit_material_docker-021bcd9057e1a0f3c2b5756f5cd613c635b47fbb.zip
Fix css:
- Fix text inflation on IOS - Fix headerlink (anchors)
Diffstat (limited to 'responsive/cgit.css')
-rw-r--r--responsive/cgit.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/responsive/cgit.css b/responsive/cgit.css
index c69b01c..caf0dc1 100644
--- a/responsive/cgit.css
+++ b/responsive/cgit.css
@@ -133,6 +133,10 @@ body {
133 background: var(--color-background); 133 background: var(--color-background);
134 margin: 0; 134 margin: 0;
135 padding: 0; 135 padding: 0;
136
137 -webkit-text-size-adjust: 100%;
138 -moz-text-size-adjust: 100%;
139 text-size-adjust: 100%;
136} 140}
137 141
138div#cgit { 142div#cgit {
@@ -817,10 +821,8 @@ div#cgit table.blob pre {
817} 821}
818 822
819/* Anchors (Permalinks) */ 823/* Anchors (Permalinks) */
820.markdown-body .headerlink { 824.markdown-body a.headerlink {
821 float: left; 825 padding-left: 1ch;
822 padding-right: 4px;
823 margin-left: -20px;
824 line-height: 1; 826 line-height: 1;
825 color: var(--color-primary); 827 color: var(--color-primary);
826 text-decoration: none; 828 text-decoration: none;