MediaWiki:Common.css:修订间差异

来自偶像大师中文维基
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第238行: 第238行:
.wm-msg-side {
.wm-msg-side {
color: #eee;
color: #eee;
    background: #353535;
     padding: 0.5em 0;
     padding: 0.5em 0;
     font-size: 1.5em;
     font-size: 1.5em;
第246行: 第245行:
}
}
.wm-msg-main {
.wm-msg-main {
margin: 0.75em;
margin: 0.75em 0.25em;
     position: relative;
     position: relative;
     display: block;
     display: block;
     width: calc(100% - 5.5em);
     width: calc(100% - 5em);
     align-self: baseline;
     align-self: baseline;
}
}

2025年9月6日 (六) 01:22的版本

/* 这里放置的CSS将应用于所有皮肤 */
#scrollDiv li {
  list-style: none;
}
/*模糊样式*/
.fuzzy {
  filter: blur(3px);
  text-shadow: 0px 0px 5px white;
  transition: all 0.1s ease-in-out;
}

.fuzzy:hover {
  filter: none;
  text-shadow: none;
}
/*右侧目录*/
#right-navigation {
    margin-top: 157px!important;
}
#left-navigation {
    margin-top: 157px!important;
}
body #mw-head-base {
    display:none;
}
body #mw-page-base {
    display:none;
}
body .mw-body {
    margin-top: 199px;
}
.rtshow #rtocbt {
    display: none;
}
.rthide #rtocbt {
    display: inline-block;
}
.rtshow #rtoculw {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    scrollbar-color: darkgray transparent;
}
#rightToc {
    position: fixed;
    top:20vh;
    right: 0px;
    z-index:999;
}
#rtocbt {
    display: inline-block;
    vertical-align: middle;
    background: #FF74B9;
    color:#FFF;
    opacity: 0.5;
    width: 20px;
    text-align: center;
    padding: 15px 3px;
}
#rtocul {
    margin-left: 5px;
    padding-right: 5px;
    list-style: none;
    max-height: 45vh;
    overflow-y: auto;
}
#rtocul a {
    color: #FF74B9;
}
#rtoculw {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0px;
    background-color: rgba(255, 237, 230, 0.6);
    border: 1px solid #a2a9b1;
}
/* 回到顶部 */
.backToTop {
  opacity: 1;
  filter: alpha(opacity=100);
  position: fixed;
  _position: absolute;
  z-index: 9999;
  bottom: 60px;
  right: 20px;
  display: none;
  height: 50px;
  width: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' transform-origin='40% 15%' transform='rotate(-90) scale(2)'%3E%3Cpath d='M11 0c6.08 0 11 4.92 11 11s-4.92 11-11 11S0 17.08 0 11 4.92 0 11 0z' fill='%23ff74b9' fill-rule='evenodd'/%3E%3Cpath data-path='true' d='M10.72 6.29H7.91L13.28 11l-5.37 4.71h2.81L16.09 11l-5.37-4.71z' fill='%23fff'/%3E%3C/svg%3E") center no-repeat;
  background-size: contain;
  cursor: pointer;
  border-radius: 50%;
}

/* 隐藏编辑页面中的返回顶部按钮 */
.action-edit .backToTop,
.action-submit .backToTop {
  display: none !important;
}

/* 水平列表 */
.hlist ul {
	display: inline;
	margin: 0;
	padding: 0;
}

.hlist li {
	display: inline;
}

.hlist li:not(:last-child) {
	padding-right: 0.286em;
}

.hlist li:not(:last-child)::after {
	content: "";
	display: inline-block;
	position: relative;
	left: 0.286em;
	bottom: 0.214em;
	background-color: #000;
	height: 3px;
	width: 3px;
}

.hlist li > ul li:first-child::before {
	content: "(";
}

.hlist li > ul li:last-child::after {
	content: ")";
}

.hlist li li li {
	font-size: x-small;
}
/* [[Template:SimpleNavbox]] */
.navbox {
	background: #fff;
	border: 1px solid hsl(0, 0%, 36%);
	margin: 1em auto 0;
	width: 100%;
}

.navbox table {
	background: #fff
}

.navbox table,
.navbox .table-wide {
	margin-left: -4px;
	margin-right: -2px;
}

.navbox table:first-child,
.navbox .table-wide:first-child {
	margin-top: -2px;
}

.navbox table:last-child,
.navbox .table-wide:last-child {
	margin-bottom: -2px;
}

.navbox .table-wide {
	clear: none;
}

.navbox .navbox-top {
	white-space: nowrap;
	background-color: #ccc;
	padding: 0 3px;
	text-align: center;
}

.navbox .navbox-middle {
	white-space: nowrap;
	background-color: #ddd;
	padding: 0 3px;
	text-align: center;
}

.navbox .navbox-thru {
	white-space: nowrap;
	background-color: #eee;
	padding: 0 3px;
	text-align: center;
}

.navbox-navbar,
.navbox-navbar-mini {
	float: left;
	font-size: 80%;
	position: absolute;
}

.navbox-title {
	padding: 0 10px;
	font-size: 110%;
}

.navbox th {
	background-color: #eee;
	padding: 0 10px;
	white-space: nowrap;
	text-align: right;
}

.navbox td {
	width: 100%;
	padding: 0 0 0 2px;
}

.navbox .table-wide::before {
	width: 0;
	height: 0;
	box-shadow: none;
}

.navbox .table-wide-inner,
.navbox .table-wide table {
	margin: 0;
}
/* [[Template:Msg]] */
.wm-msg {
	background: #eee;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 0.5em;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    max-width: 40em;
    margin: 12px 0;
}
.wm-msg-bar {
	width: 100%;
    padding: 0.5em;
}
.wm-msg-side {
	color: #eee;
    padding: 0.5em 0;
    font-size: 1.5em;
    display: flex;
    width: 2.5em;
    justify-content: center;
}
.wm-msg-main {
	margin: 0.75em 0.25em;
    position: relative;
    display: block;
    width: calc(100% - 5em);
    align-self: baseline;
}
.wm-msg-title {
	font-size: 1.25em;
    font-weight: bold;
    display: block;
    border-bottom: 0.175em solid;
}
.wm-msg-text {
	padding-top: 0.5em;
    display: block;
}