diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 11:14:49 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:16 -0300 |
commit | 29f4c5b571e960e6410f1555324a2d909bda8b2f (patch) | |
tree | b2c3b2a2e6e479f00a8071c13454bac952ea5888 /src/static/css/site.css | |
parent | 1beb7246b1330ed6b3993c117ae81cf947c92a06 (diff) |
content, css: chronology links subgrid
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r-- | src/static/css/site.css | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index da2b9374..35364fdf 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -973,10 +973,26 @@ li:not(:first-child:last-child) .tooltip, } .contribution-tooltip .chronology-link { + display: grid; grid-column-start: icon-start; grid-column-end: handle-end; - padding-left: 5px; - padding-right: 3px; + grid-template-columns: subgrid; + + height: 1.2em; +} + +.contribution-tooltip .chronology-symbol { + grid-column-start: icon-start; + grid-column-end: icon-end; + + text-align: center; +} + +.contribution-tooltip .chronology-text { + grid-column-start: handle-start; + grid-column-end: handle-end; + + padding-right: 6px; font-size: 0.85em; } @@ -1015,12 +1031,14 @@ li:not(:first-child:last-child) .tooltip, } } -.contribution-tooltip .external-link:hover { +.contribution-tooltip .external-link:hover, +.contribution-tooltip .chronology-link:hover { filter: brightness(1.4); text-decoration: none; } -.contribution-tooltip .external-link:hover .external-handle { +.contribution-tooltip .external-link:hover .external-handle, +.contribution-tooltip .chronology-link:hover .chronology-text { text-decoration: underline; } |