MediaWiki:Common.css:修订间差异

来自少前2百科
无编辑摘要
Lz讨论 | 贡献
无编辑摘要
第98行: 第98行:
     grid-column: 2;
     grid-column: 2;
     grid-row: 2;
     grid-row: 2;
}
.skill-types {
    color: #515455;
    font-size: 1.2em;
    grid-column: 3;
    grid-row: 2;
    justify-self: right;
}
}



2024年1月27日 (六) 06:21的版本

.infobox-container {
    position: relative;
    float: right;
}

.infobox-body {
    border-collapse: collapse;
    border-style: solid;
    border-width: 0.4em;
    border-color: transparent;
    text-align: center;
    vertical-align: center;
}

.infobox-border {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-style: solid;
    border-width: 0.4em;
    border-radius: 10px;
}



.tooltip {
    position: relative;
    border-bottom: 1px dotted;
    cursor: help;
}

.tooltip .tooltip-content {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: -10em;
    z-index: 10000;
    padding: 0.5em;
    margin-top: 1em;
    border-radius: 0.2em;
    width: 20em;
    background-color: #e2e1e8;
}

.tooltip .tooltip-content::after {
    content: "";
    position: absolute;
    top: -1em;
    left: 10.5em;
    margin-left: 0;
    border-width: 0.5em;
    border-style: solid;
    border-color: transparent transparent #e2e1e8 transparent;
}

.tooltip:hover .tooltip-content {
    visibility: visible;
}


table.stripe tr:nth-child(odd) {
    background: #e9e9e9;
}

.skill-container {
    background-color: #d9d9dd;
    border-radius: 5px;
    box-sizing: border-box;
    display: grid;
    gap: 0.2em 1em;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    padding: 2em;
}

.skill-icon {
    background-color: #373F45;
    border-radius: 5px;
    box-shadow: 0 0 5px #888;
    grid-column: 1;
    grid-row: 1 / 3;
    height: 64px;
    width: 64px;
}

.skill-name {
    color: #1C2A32;
    font-size: 1.5em;
    font-weight: bold;
    grid-column: 2 / 4;
    grid-row: 1;
}

.skill-tag {
    color: #5A5D62;
    font-size: 1.2em;
    grid-column: 2;
    grid-row: 2;
}

.skill-types {
    color: #515455;
    font-size: 1.2em;
    grid-column: 3;
    grid-row: 2;
    justify-self: right;
}

.skill-type-icon {
    height: 1.5lh;
    position: relative;
    top: -0.05lh;
    vertical-align: middle;
    width: 1.5lh;
}