User:Irukaza/common.css:修订间差异

H萌娘,万物皆可H的百科全书!
跳到导航 跳到搜索
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
(未显示同一用户的37个中间版本)
第1行: 第1行:
/* 用户链接样式  */
.wds-dropdown {
/* 我 */
background-color:grey;
.mw-userlink[title="用户:=海豚="] {
border-color:grey;
    color: #6495ED;
    display: inline-block;
    text-shadow: 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef;
    position: relative;
}
}
/* 好友 */
.wds-dropdown__content {
.mw-userlink[title="用户:850710247liu"],
   background-color: white;
.mw-userlink[title="User:winter22"],
   border: 1px grey;
.mw-userlink[title="User:Dr Hamilton"],
   border-radius: 4px;
.mw-userlink[title="User:Enderqwq"],
   color: black;
.mw-userlink[title="User:Sheep-realms"] {
   display: none;
    color: #91d;
    left: 50%;
    font-weight: bold;
    min-width: 70%;
    text-shadow: 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef;
    padding: 7px 0;
}/*
   position: absolute;
----------------------------------------------------------------------
   top: 100%;
*/
   transform: translateX(-50%);
.mw-userlink:hover {
   z-index: 1;
  transform: scale(1.25);
}
}
 
.wds-dropdown__toggle {
.mw-userlink.new {
text-decoration: none !important;
  outline: #fce dashed 1px;
   border-bottom: 1px dotted gray;
   cursor: pointer;
   position: relative;
}
.wds-dropdown:before {
   border: 9px solid transparent;
   border-bottom: 9px solid black;
   margin-left: -9px;
}
.wds-dropdown:after, .wds-dropdown:before {
   bottom: -1px;
   content: "";
   display: none;
   height: 0;
   left: 50%;
   pointer-events: none;
   position: absolute;
   width: 0;
   z-index: 2;
}
.wds-dropdown:after {
   border: 8px solid transparent;
   border-bottom: 8px solid black;
   margin-left: -8px;
}
.wds-dropdown:after, .wds-dropdown:before {
   bottom: -1px;
   content: "";
   display: none;
   height: 0;
   left: 50%;
   pointer-events: none;
   position: absolute;
   width: 0;
   z-index: 2;
}
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked>li>a {
   border-radius: 3px;
   padding: 12px 6px;
}
.wds-dropdown__content .wds-list.wds-is-linked>li>a:not(.wds-button) {
   border-radius: 3px;
   color: var(--wds-dropdown-text-color);
   cursor: pointer;
   font-weight: 400;
   padding-left: 9px;
   padding-right: 9px;
   text-decoration: none;
   transition-duration: .3s;
   transition-property: background-color,color;
}
.wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2>a {
   display: flex;
   justify-content: space-between;
   padding-right: 18px;
}
}
 
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked>li {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]) {
   margin: 0;
  font-weight: bold;
   padding: 0 12px;
  position: relative;
   white-space: normal;
  display: inline-block;
  min-height: calc(1em + 4px);
  background-color: #fff2cd;
  color: #fd3b7c;
  font-size: 1em;
  transform-origin: 50% 50%;
  transition: all 0.4s ease;
}
}
 
.wds-dropdown__content .wds-list>li {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]) > * {
   margin: 0 9px;
  background-color: #fff2cd;
   padding-left: 9px;
  color: #fd3b7c;
   padding-right: 9px;
   white-space: nowrap;
}
}
 
.wds-dropdown__content.wds-is-not-scrollable .wds-list {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"])::before,
   position: relative;
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"])::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  background: #ff236c;
  transition: all 0.25s ease;
}
}
 
.wds-dropdown__content .wds-list {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"])::before {
   padding: 0;
  top: 0;
  right: 0;
}
}


a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"])::after {
.fandom-community-header__local-navigation .wds-dropdown__content {
  bottom: 0;
   max-width: 240px;
  left: 0;
   padding: 12px 0;
   width: max-content;
}
}
 
.fandom-community-header__local-navigation .wds-dropdown:after, .fandom-community-header__local-navigation .wds-dropdown:before, .fandom-community-header__local-navigation .wds-dropdown__content {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]):hover {
   z-index: 400;
  background: #ffe08b;
  color: #ff236c;
  z-index: 1;
  transform: scale(1.25);
}
}
 
.wds-dropdown__content .wds-list.wds-is-linked>li>a:not(.wds-button) {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]):hover > * {
   color: #39424d;
  background-color: #ffe08b;
   padding-left: 9px;
  color: #ff236c;
   padding-right: 9px;
   text-decoration: none;
   -webkit-transition-duration: .2s;
   -o-transition-duration: .2s;
   transition-duration: .2s;
   -webkit-transition-property: background-color,color;
   -o-transition-property: background-color,color;
   transition-property: background-color,color;
}
}


a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]):hover::before,
.wds-list.wds-is-linked>li>a {
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]):hover::after {
   display: block;
  width: 100%;
   padding: 11px 0;
  transition: all 0.8s ease;
}
}

2021年6月15日 (二) 11:31的版本

.wds-dropdown {
	background-color:grey;
	border-color:grey;
    display: inline-block;
    position: relative;
}
.wds-dropdown__content {
    background-color: white;
    border: 1px grey;
    border-radius: 4px;
    color: black;
    display: none;
    left: 50%;
    min-width: 70%;
    padding: 7px 0;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    z-index: 1;
}
.wds-dropdown__toggle {
	text-decoration: none !important;
    border-bottom: 1px dotted gray;
    cursor: pointer;
    position: relative;
}
.wds-dropdown:before {
    border: 9px solid transparent;
    border-bottom: 9px solid black;
    margin-left: -9px;
}
.wds-dropdown:after, .wds-dropdown:before {
    bottom: -1px;
    content: "";
    display: none;
    height: 0;
    left: 50%;
    pointer-events: none;
    position: absolute;
    width: 0;
    z-index: 2;
}
.wds-dropdown:after {
    border: 8px solid transparent;
    border-bottom: 8px solid black;
    margin-left: -8px;
}
.wds-dropdown:after, .wds-dropdown:before {
    bottom: -1px;
    content: "";
    display: none;
    height: 0;
    left: 50%;
    pointer-events: none;
    position: absolute;
    width: 0;
    z-index: 2;
}
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked>li>a {
    border-radius: 3px;
    padding: 12px 6px;
}
.wds-dropdown__content .wds-list.wds-is-linked>li>a:not(.wds-button) {
    border-radius: 3px;
    color: var(--wds-dropdown-text-color);
    cursor: pointer;
    font-weight: 400;
    padding-left: 9px;
    padding-right: 9px;
    text-decoration: none;
    transition-duration: .3s;
    transition-property: background-color,color;
}
.wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2>a {
    display: flex;
    justify-content: space-between;
    padding-right: 18px;
}
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked>li {
    margin: 0;
    padding: 0 12px;
    white-space: normal;
}
.wds-dropdown__content .wds-list>li {
    margin: 0 9px;
    padding-left: 9px;
    padding-right: 9px;
    white-space: nowrap;
}
.wds-dropdown__content.wds-is-not-scrollable .wds-list {
    position: relative;
}
.wds-dropdown__content .wds-list {
    padding: 0;
}

.fandom-community-header__local-navigation .wds-dropdown__content {
    max-width: 240px;
    padding: 12px 0;
    width: max-content;
}
.fandom-community-header__local-navigation .wds-dropdown:after, .fandom-community-header__local-navigation .wds-dropdown:before, .fandom-community-header__local-navigation .wds-dropdown__content {
    z-index: 400;
}
.wds-dropdown__content .wds-list.wds-is-linked>li>a:not(.wds-button) {
    color: #39424d;
    padding-left: 9px;
    padding-right: 9px;
    text-decoration: none;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: background-color,color;
    -o-transition-property: background-color,color;
    transition-property: background-color,color;
}

.wds-list.wds-is-linked>li>a {
    display: block;
    padding: 11px 0;
}