diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css index 42ddc2e..e0a294c 100644 --- a/core/themes/bartik/css/style.css +++ b/core/themes/bartik/css/style.css @@ -21,6 +21,33 @@ a:focus, .link:focus { text-decoration: underline; } +*[title]{display:inline;position:relative} +*[title]:hover{text-decoration:none} +*[title]:hover:after{ + background:#111; + background:rgba(0,0,0,.8); + border-radius:5px; + bottom:18px; + color:#fff; + content:attr(title); + display:block; + left:50%; + padding:5px 15px; + position:absolute; + white-space:nowrap; + z-index:98 +} +*[title]:hover:before{ + border:solid; + border-color:#111 transparent; + border-width:6px 6px 0 6px; + bottom:12px; + content:""; + display:block; + left:75%; + position:absolute; + z-index:99 + } h1, h2, h3,