9,037
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.gradient-underline { display: inline-block; | .gradient-underline { | ||
display: inline-block; /* Делаем блочным элементом, чтобы граница применялась только к тексту */ | |||
position: relative; /* Для настройки z-index */ | |||
} | |||
.gradient-underline::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 5px; background-image: linear-gradient(to right, #ff0000, #00ff00); background-size: 100% 100%; z-index: -1; } | |||
.my-template.theme-dark { /* Styles specific to the "dark" theme */ } | .my-template.theme-dark { /* Styles specific to the "dark" theme */ } | ||