2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

User:Leranjun/sandbox/5000choyen.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
添加代码后的本页地址如下:-{R|https://moegirl.icu/User:Leranjun/sandbox/5000choyen.css?_=1}-
@charset "UTF-8";

/* From https://codepen.io/VoQn/pen/jwjdOq */

/* フォームを含めた全体のスタイリング */
/* ======================================== */

/* 全体設定とプロパティ定数 */
.preview {
    display: inline-flex;
    flex-direction: column;
    transform: skewX(-25deg);
    margin: 8px;
}

/* 5000兆円欲しい */
/* ======================================== */

/* フォント指定 */
/* ---------------------------------------- */
.go-sen-chou-yen,
.hoshii {
    font-size: 96px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.go-sen-chou-yen {
    /* font-family: "M PLUS 1p", sans-serif; */
    font-family: -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB",
        "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti",
        SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
}

.hoshii {
    /*font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;*/
    font-family: Georgia, "Nimbus Roman No9 L", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", STSong,
        "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK",
        "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif;
}

/* 共通プロパティ */
/* ---------------------------------------- */
.go-sen-chou-yen,
.hoshii,
.logo {
    position: relative;
}

/* z-index */
/* ---------------------------------------- */
.go-sen-chou-yen-after,
.hoshii-after {
    z-index: 2;
}

.go-sen-chou-yen,
.hoshii {
    z-index: 1;
}

.logo-after {
    z-index: -1;
}

.logo-before {
    z-index: -2;
}

.go-sen-chou-yen-before,
.hoshii-before {
    z-index: -3;
}

.go-sen-chou-yen-before,
.go-sen-chou-yen-after,
.hoshii-before,
.hoshii-after,
.logo,
.logo-before,
.logo-after {
    display: inline-block;
    color: transparent;
    background-position: 0 0;
    background-size: 100% calc(1em * 1.2);
}

span[class$="before"],
span[class$="after"] {
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.go-sen-chou-yen-before,
.go-sen-chou-yen-after,
.go-sen-chou-yen > .logo .logo-before,
.go-sen-chou-yen > .logo .logo-after {
    left: 0;
}

.hoshii-before,
.hoshii-after,
.hoshii > .logo .logo-before,
.hoshii > .logo .logo-after {
    right: 0;
}

/* レイアウト */
/* ---------------------------------------- */
/* ※ 本来はmarginやpadding, width, height等のプロパティは単独のセレクタに付与せず、親のセレクタ次第で調整できるようにした方が望ましい。単体ではコンテナ側のレイアウトロジックに委ねる方式が柔軟。例:grid-gap, justify-content, flex-grow/flex-shrink ※ */

.go-sen-chou-yen-before,
.go-sen-chou-yen-after,
.hoshii-before,
.hoshii-after,
.logo,
.logo-before,
.logo-after {
    padding: 0.125em;
    padding-bottom: 0.25em;
}

/* 「欲しい!」はロゴの右下にアラインがあるように配置 */
.hoshii {
    margin-top: -0.125em;
    margin-left: 2.5em;
    text-align: right;
}

/* プレート側面の金属光沢をグラデーションで再現 */
.logo-before {
    transform: translate(10px, 10px);
    color: transparent;
    background-image: linear-gradient(90deg, #876 0%, #123 30%, #456 40%, #def 50%, #123 70%, #345 90%, #876 100%);
    background-size: 0.5em 1.5em;
    background-repeat: repeat;
    filter: drop-shadow(0px 0px 1px #000) blur(1px);
    mix-blend-mode: hard-light;
}

.go-sen-chou-yen > .logo {
    background-image: linear-gradient(#e00 20%, #600 50%, #f00 50%, #600 65%, #000 80%);
}

/* 金色に輝く 5000兆円のベベル */
.go-sen-chou-yen > .logo .logo-after {
    background-image: linear-gradient(#fff 35%, #ff0 49%, #fc0 50%, #930 55%, #300 65%, #960 70%, #f90 75%, #ff6 80%);
    text-shadow:
    /* ベベル(光沢) */ #fff -4px -4px 0px, #fff -4px -4px 2px, /* ベベル(暗) */ #300 -2px -2px 4px, #c00 -1px -1px 2px,
        #300 -1px -2px 1px, #300 -2px -2px 1px, /* 縁取り(白) */ #fff 1px -4px 1px, #fff 1px -3px 1px, #fff 1px -2px 1px, #fff 1px -1px 1px,
        #fff 1px 0px 1px, #fff 1px 1px 1px, #fff 0px 0px 1px, #fff -1px 0px 1px, #fff -4px 0px 1px, #fff -4px -1px 1px, #fff -4px -2px 1px,
        #fff -4px -3px 1px, /* 縁取り(茶)*/ #300 2px -3px 1px, #300 2px -2px 1px, #300 2px -1px 1px, #300 2px 0px 1px, #300 2px 1px 1px,
        #300 1px 1px 1px, #300 0px 0px 1px, #300 -1px 1px 1px, #300 -1px 0px 1px, #300 -1px -1px 1px, #300 -1px -2px 1px;
    filter: drop-shadow(0px 0px 1px #f00) drop-shadow(-1px -1px 1px #fff) drop-shadow(2px 2px 1px #300);
    transform: translate(2px, 2px);
}

.hoshii > .logo {
    background-image: linear-gradient(#dee, #fff 30%, #bcc 50%, #cdd 50%, #fff 80%);
}

/* 瑞々しく輝く「欲しさ」を放つベベル */
.hoshii > .logo .logo-after {
    background-image: linear-gradient(#abc, #fff 30%, #456 60%, #fff 80%);
    text-shadow: #fff -3px -2px 0px, #fff -3px -2px 1px, #39c -2px -1px 2px, #9bc 1px 1px 2px, #abc 1px -1px 2px, /* 縁取り */ #256 -2px -2px 1px,
        #256 -2px 2px 1px, #256 2px -2px 1px, #256 2px 2px 1px;
    filter: drop-shadow(0px 0px 1px #069) drop-shadow(-1px -1px 1px #fff) drop-shadow(2px 2px 1px #333);
    transform: translate(1px, 1px);
}

.go-sen-chou-yen-before,
.hoshii-before {
    text-shadow:
    /* ベベル右上の光沢 */ #fff 0px 0px 0px, /* 側面の光沢(暗) */ #abc 0px 0px 8px, #abc 4px 4px 8px, #abc 8px 8px 8px,
        #abc 12px 12px 8px, /* 側面の光沢(明) */ #fff 0px 6px 1px, #fff 0px 7px 1px, #fff 0px 8px 1px, #fff 1px 9px 1px, #fff 1px 10px 1px,
        #fff 2px 11px 1px, #fff 2px 12px 1px, #fff 3px 13px 1px, #fff 3px 14px 1px, #fff 4px 15px 1px, #fff 4px 16px 1px, #fff 5px 17px 1px,
        #fff 6px 18px 1px, #fff 7px 17px 1px, #fff 8px 16px 1px, #fff 8px 15px 1px, #fff 8px 14px 1px, #fff 8px 13px 1px, #fff 8px 12px 1px,
        #fff 8px 11px 1px, #fff 8px 10px 1px, #fff 8px 9px 1px, #fff 8px 8px 1px, #fff 8px 7px 1px, #fff 8px 6px 1px, /* 上端 */ #222 -7px -4px 2px,
        #222 -6px -4px 2px, #222 -5px -4px 2px, #222 -4px -4px 2px, #222 -3px -4px 2px, #222 -2px -4px 2px, #222 -1px -4px 2px, #222 0px -4px 2px,
        #222 1px -5px 2px, #222 2px -5px 2px, #222 3px -5px 2px, #222 4px -5px 2px, #222 5px -5px 2px, #222 6px -5px 2px, #222 7px -5px 2px,
        #222 8px -5px 2px, #222 9px -5px 2px, /* 右端 */ #012 10px -4px 2px, #012 10px -3px 2px, #012 11px -2px 2px, #012 11px -1px 2px,
        #012 12px 0px 2px, #012 12px 1px 2px, #012 13px 2px 2px, #012 13px 3px 2px, #012 14px 4px 2px, #012 14px 5px 2px, #012 15px 6px 2px,
        #012 15px 7px 2px, #012 16px 8px 2px, #012 15px 9px 2px, #012 14px 10px 2px, #012 13px 11px 2px, #012 12px 12px 2px, #012 11px 13px 2px,
        #012 10px 14px 2px, #012 9px 15px 2px, #012 8px 16px 2px, /* 左端 */ #123 -7px -2px 2px, #123 -7px -1px 2px, #123 -7px 0px 2px,
        #123 -7px 1px 2px, #123 -6px 2px 2px, #123 -6px 3px 2px, #123 -6px 4px 2px, #123 -5px 5px 2px, #123 -5px 6px 2px, #123 -4px 7px 2px,
        #123 -4px 8px 2px, #123 -3px 9px 2px, #123 -3px 10px 2px, #123 -2px 11px 2px, #123 -2px 12px 2px, #123 -1px 13px 2px, #123 -1px 14px 2px,
        #123 0px 15px 2px, #123 0px 16px 2px, /* 下端 */ #123 1px 17px 2px, #123 2px 17px 2px, #123 3px 18px 2px, #123 4px 18px 2px,
        #123 5px 19px 2px, #123 6px 19px 2px, #123 7px 20px 2px, #123 8px 20px 2px, #123 9px 19px 2px, #123 10px 19px 2px, #123 11px 18px 2px,
        #123 12px 18px 2px, #123 13px 17px 2px, #123 14px 17px 2px, #123 15px 16px 2px, #123 16px 16px 2px;
}

/* 仕上げ効果 */
/* ---------------------------------------- */

/* mix-blend-mode がサポートされているブラウザではオーバーレイ効果を付ける */
/*@supports (mix-blend-mode: overlay) {*/
/* 最も上のレイヤー */
.go-sen-chou-yen-after,
.hoshii-after {
    mix-blend-mode: overlay;
    filter: blur(1px);
}

.go-sen-chou-yen-after {
    background-image: radial-gradient(0.75em at 0.25em 0.125em, #fff 20%, #fc0, #960, #655);
}

.hoshii-after {
    background-image: radial-gradient(0.75em at calc(100% - 0.25em) 0.125em, #fff 30%, #366, #346);
}
/*}*/

/* mix-blend-mode がサポートされていないブラウザでは仕上げ効果のレイヤーを描画しない */
/*@supports not (mix-blend-mode: overlay) {*/
/*  .go-sen-chou-yen-after,*/
/*  .hoshii-after {*/
/*    display: none;*/
/*  }*/
/*}*/