diff options
author | clsr <clsr@clsr.net> | 2017-08-23 11:54:25 +0200 |
---|---|---|
committer | clsr <clsr@clsr.net> | 2017-08-23 11:54:25 +0200 |
commit | 282efe276ffbc2dbf5f6b7230d85667edc606cb5 (patch) | |
tree | 2cb726c11aad08e78abc42e6a3dc47d5c0d52f9d | |
parent | 2c4b2ba7c9668d76bae6b340882cce9f2c875806 (diff) | |
download | cn-http-282efe276ffbc2dbf5f6b7230d85667edc606cb5.tar.gz cn-http-282efe276ffbc2dbf5f6b7230d85667edc606cb5.zip |
Improve extlink scheme displayv0.1.2
-rw-r--r-- | static/style.css | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index e389e50..62c4f30 100644 --- a/static/style.css +++ b/static/style.css @@ -38,11 +38,24 @@ a.cnp-external { background-image: linear-gradient(transparent, transparent), url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2280%22%20height%3D%2280%22%20version%3D%221.1%22%20viewBox%3D%220%200%2021.167%2021.167%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%280%20-275.83%29%22%3E%3Cg%20transform%3D%22matrix%281.0164%200%200%201.0164%201.0366%20-5.9055%29%22%20stroke-width%3D%222.0825%22%3E%3Crect%20x%3D%221.3229%22%20y%3D%22284.56%22%20width%3D%2211.112%22%20height%3D%2211.112%22%20fill%3D%22none%22%20stroke%3D%22%2308f%22%2F%3E%3Cpath%20d%3D%22m4.1425%20288.86%203.996%203.996%206.66-6.66%202.664%202.664v-9.324h-9.324l2.664%202.664z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%230af%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'); } +a.cnp-external:hover { + position: relative; +} + a.cnp-external:hover:after { text-decoration: none; - color: gray; + /*color: gray;*/ display: inline-block; font-size: 0.8em; + position: absolute; + background-color: #ffd; + color: black; + border: 1px solid black; + z-index: 20px; + white-space: nowrap; + padding: 1px; + left: 100%; + bottom: 0; } a.cnp-external-http:hover:after { |