Template:黑幕/styles.css:修订间差异
模板页面
更多操作
创建页面,内容为“→黑幕基础样式: .heimu { background-color: #252525; color: #252525; text-shadow: none; transition: color 0.13s linear; } →鼠标经过时显色: .heimu:hover, .heimu:active { color: #fff; } →手机端点击时显色: @media screen and (max-width: 768px) { .heimu:active { color: #fff; } }” |
无编辑摘要 |
||
| (未显示同一用户的6个中间版本) | |||
| 第1行: | 第1行: | ||
.heimu { | .heimu { | ||
color: transparent; | |||
color: | text-shadow: 0 0 10px rgba(0, 0, 0, 0.8); | ||
text-shadow: | transition: text-shadow 0.25s linear, color 0.25s linear; | ||
transition: color 0. | cursor: default; | ||
} | } | ||
.heimu:hover, .heimu:active { | .heimu:hover, .heimu:active { | ||
color: | color: inherit; | ||
text-shadow: none; | |||
} | } | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.heimu:active { | .heimu:active { | ||
color: | color: inherit; | ||
text-shadow: none; | |||
} | } | ||
} | } | ||
2026年5月14日 (四) 08:56的最新版本
.heimu {
color: transparent;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
transition: text-shadow 0.25s linear, color 0.25s linear;
cursor: default;
}
.heimu:hover, .heimu:active {
color: inherit;
text-shadow: none;
}
@media screen and (max-width: 768px) {
.heimu:active {
color: inherit;
text-shadow: none;
}
}