MediaWiki:Common.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第127行: | 第127行: | ||
padding: 5px 10px; | padding: 5px 10px; | ||
font-size: 12px; | font-size: 12px; | ||
} | |||
#mw-navigation { | |||
position: relative; | |||
} | |||
#p-logo { | |||
float: none; | |||
position: absolute; | |||
right: 0; | |||
bottom: 0; | |||
} | |||
#p-logo img { | |||
width: 80px; | |||
height: 80px; | |||
} | |||
#p-logo h1 { | |||
font-size: 16px; | |||
border: none; | |||
padding: 0; | |||
margin: 0; | |||
background: linear-gradient( | |||
90deg, | |||
red, | |||
orange, | |||
yellow, | |||
green, | |||
cyan, | |||
blue, | |||
violet, | |||
red | |||
); | |||
background-size: 200% auto; | |||
-webkit-background-clip: text; | |||
background-clip: text; | |||
color: transparent; | |||
animation: p-logo-h1-word 4s linear infinite; | |||
} | |||
@keyframes p-logo-h1-word { | |||
0% { | |||
background-position: 0% center; | |||
} | |||
100% { | |||
background-position: 200% center; | |||
} | |||
} | } | ||