Site Notice
hello, world
Difference between revisions of "User:机智的小鱼君/common.css"
From Project-EPB Commons
([InPageEdit]) |
m (// Edit via Wikiplus) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [title] { | |
+ | position: relative; | ||
+ | } | ||
+ | [title]:after { | ||
+ | content: attr(title); | ||
+ | background: white; | ||
+ | box-shadow: 0 0 4px #aaa; | ||
+ | position: absolute; | ||
+ | bottom: 2em; | ||
+ | padding: 1px 4px; | ||
+ | color: #252525; | ||
+ | font-size: small; | ||
+ | font-weight: normal; | ||
+ | opacity: 0; | ||
+ | transition: opacity .2s; | ||
+ | left: -99999px; | ||
+ | display: block; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | [title]:hover:after { | ||
+ | left: 0; | ||
+ | opacity: 1; | ||
+ | } | ||
+ | .I18nEditTranslateInput { | ||
+ | min-height: 220px; | ||
+ | min-width: 240px; | ||
+ | } |
Latest revision as of 16:20, 26 March 2022
[title] {
position: relative;
}
[title]:after {
content: attr(title);
background: white;
box-shadow: 0 0 4px #aaa;
position: absolute;
bottom: 2em;
padding: 1px 4px;
color: #252525;
font-size: small;
font-weight: normal;
opacity: 0;
transition: opacity .2s;
left: -99999px;
display: block;
pointer-events: none;
}
[title]:hover:after {
left: 0;
opacity: 1;
}
.I18nEditTranslateInput {
min-height: 220px;
min-width: 240px;
}