模板:User/style.css

来自理想城计划
Gjcloak留言 | 贡献2024年5月24日 (五) 16:46的版本 (创建页面,内容为“.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: 999999999; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); padding-top: 3px; border: 1px solid #a2a9b1; border-top-w…”
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.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: 999999999;
    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: "";
}
/* [[Category:在模板名字空间下的CSS页面]] */