模板:Revision-date/style.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
.templ-revision-date-seal {
 
.templ-revision-date {
     position: relative;
     position: relative;
     line-height: normal !important;
     padding: 100px;
user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Allerta Stencil", sans-serif;
}
}


.templ-revision-date-seal .unique-wrap {
.templ-revision-date .unique-badge {
    width: 160px;
    height: 160px;
    border: solid 6px #A61C1C;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.01);
     position: relative;
     position: relative;
    letter-spacing: 0.08em;
    color: #fff;
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease !important;
    transform: rotate(-14deg);
    text-align: center;
    filter: drop-shadow(0.25em 0.7em 0.95em rgba(0, 0, 0, 0.8));
    /* min-size + (max-size - min-size) * ( (100vw - min-width) / ( max-width - min-width) ) */
    font-size: calc(11px + 14 * ((100vw - 420px) / (860)));
}
}


.templ-revision-date-seal .unique-body {
.templ-revision-date .unique-badge::before {
     width: 145px;
     content: "";
     height: 145px;
    position: absolute;
     border: solid 2px #A61C1C;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
     width: 10em;
     height: 10em;
     border-radius: 100%;
     border-radius: 100%;
     background-color: rgba(0, 0, 0, 0.05);
     background: #B22222;
     position: relative;
    opacity: 0.8;
    transition: opacity 0.3s linear !important;
}
 
.templ-revision-date .unique-badge:hover {
    color: #fff;
    text-decoration: none;
    transform: rotate(-10deg) scale(1.05);
}
 
.templ-revision-date .unique-badge:hover::before {
     opacity: 0.9;
}
}


.templ-revision-date-seal .unique-title {
.templ-revision-date .unique-badge svg {
     position: absolute;
     position: absolute;
     top: 35px;
     top: 50%;
     right: 18px;
     left: 50%;
     width: 100%;
     transform: translate(-50%, -50%);
     color: #C8161D;
     display: block;
     text-align: center;
     z-index: 0;
     font-size: 30px;
     width: 10em;
    transform: rotate(-45deg);
     height: 10em;
     font-weight: 900;
}
}


.templ-revision-date-seal .unique-calendar {
.templ-revision-date .unique-badge span {
     color: #C8161D ;
     display: block;
     position: absolute;
     background: #CC0000;
     top: 66px;
     border-radius: 0.4em;
     left: 40px;
     padding: 0.4em 1em;
     text-align: center;
     z-index: 1;
     font-size: 20px;
     min-width: 11em;
     transform: rotate(-45deg);
     border: 1px solid #D92B2B;
     font-weight: 600;
     text-transform: uppercase;
}
}

2026年11月24日 (二) 17:34的最新版本

.templ-revision-date {
    position: relative;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Allerta Stencil", sans-serif;
}

.templ-revision-date .unique-badge {
    position: relative;
    letter-spacing: 0.08em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease !important;
    transform: rotate(-14deg);
    text-align: center;
    filter: drop-shadow(0.25em 0.7em 0.95em rgba(0, 0, 0, 0.8));
    /* min-size + (max-size - min-size) * ( (100vw - min-width) / ( max-width - min-width) ) */
    font-size: calc(11px + 14 * ((100vw - 420px) / (860)));
}

.templ-revision-date .unique-badge::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 10em;
    height: 10em;
    border-radius: 100%;
    background: #B22222;
    opacity: 0.8;
    transition: opacity 0.3s linear !important;
}

.templ-revision-date .unique-badge:hover {
    color: #fff;
    text-decoration: none;
    transform: rotate(-10deg) scale(1.05);
}

.templ-revision-date .unique-badge:hover::before {
    opacity: 0.9;
}

.templ-revision-date .unique-badge svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 0;
    width: 10em;
    height: 10em;
}

.templ-revision-date .unique-badge span {
    display: block;
    background: #CC0000;
    border-radius: 0.4em;
    padding: 0.4em 1em;
    z-index: 1;
    min-width: 11em;
    border: 1px solid #D92B2B;
    text-transform: uppercase;
}