MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
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; border-bottom: 5px solid transparent; background-image: linear-gradient(to right, #ff0000, #00ff00); background-size: 100% 3px; background-position: 0 100%; }
.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 */ }

Navigation menu