diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-15 11:15:53 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-15 11:22:28 +0100 |
| commit | 16739684bb7ca55d71c22cbd103ca8c058c33ecc (patch) | |
| tree | efb06331b0c96910d037e9ed8e23d39c4146487c /app/assets/stylesheets | |
| parent | fd64bb953f4794b8cc79aa5149e761c77229f9d9 (diff) | |
| download | operum-16739684bb7ca55d71c22cbd103ca8c058c33ecc.tar.gz operum-16739684bb7ca55d71c22cbd103ca8c058c33ecc.zip | |
things: provide a simple way to follow links
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/assets/stylesheets')
| -rw-r--r-- | app/assets/stylesheets/icons.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app/assets/stylesheets/icons.css b/app/assets/stylesheets/icons.css index 484265e..1facc96 100644 --- a/app/assets/stylesheets/icons.css +++ b/app/assets/stylesheets/icons.css @@ -49,3 +49,50 @@ left: -5px; bottom: 4px } + +/* + * External link. + */ + +.gg-external { + box-sizing: border-box; + position: relative; + display: inline-block; + transform: scale(var(--ggs,1)); + width: 12px; + height: 12px; + box-shadow: + -2px 2px 0 0, + -4px -4px 0 -2px, + 4px 4px 0 -2px; + margin-left: 6px; + margin-top: 1px +} + +.gg-external::after, +.gg-external::before { + content: ""; + display: inline-block; + box-sizing: border-box; + position: absolute; + right: -4px +} + +.gg-external::before { + background: currentColor; + transform: rotate(-45deg); + width: 12px; + height: 2px; + top: 1px +} +.gg-external::after { + width: 8px; + height: 8px; + border-right: 2px solid; + border-top: 2px solid; + top: -4px +} + +.gg-external:hover { + color: var(--text); +} |
