Template:首页/导航元素/style.css

来自柯南百科

< Template:首页/导航元素

YohoYang讨论 | 贡献2020年5月25日 (一) 01:45的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

.mainframe.navlist {
    display: block;
    position: relative;
    max-width: 200px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0 0.5rem;
}

.mainframe.navlist:hover {
    box-shadow: rgba(255, 255, 255, 0.4) 0px 0px 2px 2px;
}

.mainframe.navlist .limg {
    width: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mainframe.navlist .limg img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    vertical-align: middle;
}

.mainframe.navlist .lname {
    height: 37px;
    text-align: center;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    color: #000;
    font-weight: bold;
    transform: rotate(-2.8deg);
    white-space: nowrap;
    user-select: none;
}

.mainframe.navlist .lnamebg {
    position: absolute;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASoAAAA+CAMAAACr1KYkAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAANmaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjAtYzA2MSA2NC4xNDA5NDksIDIwMTAvMTIvMDctMTA6NTc6MDEgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0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