From be4f2d16e7e512406dc8b83950412e40207d1d77 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 5 Jun 2020 13:38:44 +0300 Subject: [PATCH] Use more fitting colors for link icons --- html_resources/ext.svg | 2 +- html_resources/main.css | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/html_resources/ext.svg b/html_resources/ext.svg index 2edf190..9bb9084 100644 --- a/html_resources/ext.svg +++ b/html_resources/ext.svg @@ -1,5 +1,5 @@ - + diff --git a/html_resources/main.css b/html_resources/main.css index 6b44cf6..38aa378 100644 --- a/html_resources/main.css +++ b/html_resources/main.css @@ -20,15 +20,22 @@ pre:empty{ display: none } .category:hover{ background-color: grey } .target{ - margin: 0.2em; + margin: 0.1em; background-color: rgb(60,60,70); - padding: 0.5em; + padding: 0.3em; border: 1px solid rgb(40,40,40); border-radius: 4px; max-width: 50ch; - cursor: pointer + cursor: default +} +.target > a{ + content: ""; + width: 1.2em; + height: 1.3em; + background-image: url("ext.svg"); + background-repeat: no-repeat; + background-size: contain; } -.target > a::after{ content: ""; width: 1ch; background-image: url("ext.svg") } .target:hover{ background-color: rgb(80,80,90) } #targets{ display: grid; grid-template-columns: 1fr 1fr 1fr }