Difference between revisions of "Template:User/style.css"

From Moegirlpedia
Jump to: navigation, search
(Created page with ".userlink { font-size: inherit; position: relative; cursor: pointer; } .userlink .userlink-label { padding: 0 .625em; display: inline; font-size: smal...")
 
m (Protected "Template:User/style.css" ([Edit=Allow only administrators and patrollers] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 73: Line 73:
 
}
 
}
  
.userlink-normal :not(.sysop-show) > .userlink-item:first-child::before {
+
.userlink-normal .userlink-menu > .userlink-item:first-child::before {
 
     content: "";
 
     content: "";
 
}
 
}

Latest revision as of 07:06, 21 May 2022

.userlink {
    font-size: inherit;
    position: relative;
    cursor: pointer;
}

.userlink .userlink-label {
    padding: 0 .625em;
    display: inline;
    font-size: smaller;
}

.userlink .userlink-menu {
    display: none;
    position: absolute;
    top: calc(1.25em - 1px);
    left: 0;
    /* width: max-content; */
    z-index: 2;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
    padding-top: 3px;
    border: 1px solid #a2a9b1;
    border-top-width: 0;
    background-color: #fff;
}

.userlink:hover .userlink-menu,
.userlink:active .userlink-menu {
    display: block;
}

.userlink .userlink-item {
    display: block;
    transition: all .37s ease-in-out;
}

.userlink .userlink-item:hover {
    background-color: rgb(241, 247, 255);
}

.userlink .userlink-item a {
    display: block;
    white-space: nowrap;
    color: #0645ad;
    cursor: pointer;
    font-size: .8em;
    padding: .3125em .625em!important;
}

.userlink .userlink-item a.external {
    margin-right: .625em;
    padding-right: 13px!important;
}


.userlink-normal {
    font-size: smaller;
}

.userlink-normal::before {
    content: " (";
}

.userlink-normal::after {
    content: ") ";
}
.userlink-normal .userlink-label {
    display: none;
}

.userlink-normal .userlink-item::before {
    content: ", ";
}

.userlink-normal .userlink-menu > .userlink-item:first-child::before {
    content: "";
}