Модуль:Надстрочное предупреждение/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
(стиль для комментариев в тексте) |
|||
Строка 9: | Строка 9: | ||
@media screen { | @media screen { | ||
.ts-fix-text { | .ts-fix-text { | ||
+ | border: 1px solid #a2a9b1; | ||
+ | box-decoration-break: clone; | ||
+ | margin: 0 -0.1em; | ||
+ | padding: 0 0.1em; | ||
+ | transition: background 0.1s; | ||
+ | } | ||
+ | |||
+ | :hover .ts-fix-text { | ||
background: #fee7e6; | background: #fee7e6; | ||
} | } |
Версия от 11:29, 8 июня 2023
.ts-fix-template {
white-space: nowrap;
}
.ts-fix-error {
font-size: inherit;
}
@media screen {
.ts-fix-text {
border: 1px solid #a2a9b1;
box-decoration-break: clone;
margin: 0 -0.1em;
padding: 0 0.1em;
transition: background 0.1s;
}
:hover .ts-fix-text {
background: #fee7e6;
}
}
@media screen and (hover: hover) {
.ts-fix-comment,
.ts-fix-commented > a:not(:hover) {
border-bottom: 1px dotted;
text-decoration: none;
}
}
/* [[Категория:Модули:Подстраницы CSS]] */