Skip to content

Commit

Permalink
feat: add Divergence Meter color font
Browse files Browse the repository at this point in the history
  • Loading branch information
akira02 committed Nov 23, 2023
1 parent bdd66e9 commit 9d8f65d
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
background-size: contain;
}

/* 改成世界線變動率風格卡馬值 */
/* 將卡馬值格式改為1.0xxxxx風格 */
@font-face {
font-family: nixie2;
src: url('https://chiaki.uk/assets/AkiNixieNumber-karma.woff2') format('woff2'),
Expand All @@ -78,6 +78,44 @@
transform: translate(500px, -50px);
}

/* 卡馬值改成世界線變動率風格 */
@font-face {
font-family: nixie-color;
src: url('https://chiaki.uk/assets/DivergenceMeterNumber/divergenceNumber-sbix.ttf.woff2') format('woff2'),
url('https://chiaki.uk/assets/DivergenceMeterNumber/divergenceNumber-sbix.ttf') format('truetype')
}
#karma::before {
content: '1·0';
}
#karma::after {
content: '';
}
#karma_div #karma {
font-family: nixie-color;
line-height: 36px;
font-size: 43px;
text-shadow: none !important;
}
#karma_arrow.pif-arrow-up {
margin-left: 15px;
}
.dash-group-right {
transform: translate(520px, 0);
background-color: rgba(0, 0, 0, 1);
}
.dash-group-right:hover {
background-color: rgba(0, 0, 0, 0.6);
}
'{:is('{'),
.dash-group-right:hover #karma_div #karma,
#layout_body:has(.karma_tooltip:hover) .dash-group-right #karma /*}'*/ {
transform: translate(25px, 20px);
font-size: 50px;
}
.dash-group-left:hover + .dash-group-right {
transform: translate(500px, -50px);
}

/* 自定性別文字 */
#m_or_f {
display: none;
Expand Down

0 comments on commit 9d8f65d

Please sign in to comment.