真白伤音/style.css
跳到导航
跳到搜索
/* 适用于条目[[真白伤音]]的css样式表,更新于01月29日 */ /* 代码转载自[[黎歌/style.css]] */ /* 条目创立者的话:果咩纳塞各位老师,最开始是因为最近收到了帮朋友编写萌百页面的邀请就自己试试手了先(曾经在六年前在别的wiki写过一些表格类的东西)。基本上对于样式啥的都不太了解所以就把整个国V区都看了一遍然后把喜欢的都抄过来改了,如有涉嫌违规请帮我移除,非常感谢【鞠躬】。我也知道其实给自己写页面好像挺不要脸的哈哈,之前有委托过自家dd结果好像没有会这方面的,之后也想学习这方面的内容继续完善V区的页面。此致 敬礼 真白Kizune*/ /** 标题修改 **/ h2 { font-family: sans-serif; text-shadow:1px 0 #cce8f2, 0 1px #cce8f2, -1px 0 #cce8f2, 0 -1px #cce8f2, 0.5px 0.5px #cce8f2, 0.5px -0.5px #cce8f2, -0.5px 0.5px #cce8f2, -0.5px -0.5px #cce8f2; transition:all 0.5s ease; } h3, h4 { color: #45afeb; font-family: sans-serif; transition:all 1s ease; } h2 .mw-headline::before { content: '🦊️'; } h2 { border-bottom: 1.2px solid #90B5E2!important; } h2:hover { color:#45afeb; animation:Glow 1.5s ease infinite alternate; } @keyframes Glow { from { text-shadow:0 0 10px #fff,0 0 20px #fff,0 0 30px #fff,0 0 40px #cce7f2,0 0 70px #cce7f2,0 0 80px #cce7f2,0 0 100px #cce7f2,0 0 150px #cce7f2; } to { text-shadow:0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #cce7f2,0 0 35px #cce7f2,0 0 40px #cce7f2,0 0 50px #cce7f2,0 0 75px #cce7f2; } } h3:hover, h4:hover,h3:focus, h4:focus { letter-spacing: 0.3em; } /** LOGO细节调节、动画 **/ .reallogo{ margin:0.2em 0%; height:auto; min-width:250px; max-width:30%; } .logo:hover { animation-name: bounce; animation-duration: 1s; transform-origin: center bottom; } @keyframes bounce { from, 20%, 53%, to { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0); } 40%, 43% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -30px, 0) scaleY(1.1); } 70% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -15px, 0) scaleY(1.05); } 80% { transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0) scaleY(0.95); } 90% { transform: translate3d(0, -4px, 0) scaleY(1.02); } } /** 编辑按钮右置、半透明 **/ .mw-editsection { float: right; font-size: 13px; opacity: 0.4; transition: opacity 0.5s; } .mw-editsection:hover { opacity: 1; } /** 自链样式修改 **/ a.mw-selflink { color: #E7A4CF; font-weight: bold; text-decoration: inherit; } /** 更改选中颜色 **/ ::selection { color: #2168bf; background-color: #dee7ff; } /** 表格样式修改 **/ table.wikitable { border-radius: 15px; border: rgba(231,164,207,1.00) 3px solid; overflow: hidden; } .wikitable th { border: 1.2px solid #90B5E2; color:#4784cf; border-radius: 4px; background-color: rgba(243, 210, 231, 0.4); } .wikitable td { border: 1.2px solid #90B5E2; background-color: rgba(249, 232, 243, 0.1); } /** 无序列表前置样式 **/ ul { list-style: none; } ul > li::before { content: "🌼 "; } #toc ul > li::before { content: ""; display: none; } ul > li.gallerybox::before { content: ""; display: none; } .navbox ul > li::before { content: ""; display: none; } /* [[Category:在主名字空间下的CSS页面]] */