font: switch to source han sans

This commit is contained in:
louis f 2018-08-01 04:42:51 +09:00
parent b31d712782
commit 03cbf45349
2 changed files with 12 additions and 5 deletions

View File

@ -39,6 +39,11 @@
src: url(../Fonts/SourceCodePro-Regular.woff2) format('woff'); src: url(../Fonts/SourceCodePro-Regular.woff2) format('woff');
} }
@font-face {
font-family: SourceHanSans-Regular;
src: url(../Fonts/SourceHanSans-Regular.woff2) format('woff');
}
@-webkit-keyframes smallbounce { @-webkit-keyframes smallbounce {
from { transform: translate(0, 5px); } from { transform: translate(0, 5px); }
to { transform: translate(0, -5px); } to { transform: translate(0, -5px); }
@ -64,7 +69,7 @@ body { margin: 0; }
#parent-container { display: flex; flex-direction: column; align-items: center; } #parent-container { display: flex; flex-direction: column; align-items: center; }
#text-container { color: white; position: absolute; margin: auto; height: 750px; width: 1334px; font-family: 'FOT-RodinNTLGPro'; } #text-container { color: white; position: absolute; margin: auto; height: 750px; width: 1334px; font-family: 'SourceHanSans-Regular'; }
#text-container #fullscreen-button { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 30px; line-height: 30px; opacity: 0.35; z-index: 11; } #text-container #fullscreen-button { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 30px; line-height: 30px; opacity: 0.35; z-index: 11; }
@ -149,4 +154,4 @@ body { margin: 0; }
@media screen and (max-height: 600px) { @media screen and (max-height: 600px) {
#mission-modal #mission-detail { display: none; } #mission-modal #mission-detail { display: none; }
#mission-modal #mission-icon { display: block; max-height: 20%; margin: 10px 0 10px 0; object-fit: contain; } #mission-modal #mission-icon { display: block; max-height: 20%; margin: 10px 0 10px 0; object-fit: contain; }
} }

View File

@ -67,8 +67,10 @@
<div style="opacity: 0; position: fixed; top: -2000;"> <div style="opacity: 0; position: fixed; top: -2000;">
<!-- <span style="font-family: 'FOT-RodinNTLGPro-B_0'">test</span> <!-- <span style="font-family: 'FOT-RodinNTLGPro-B_0'">test</span>
<span style="font-family: 'FOT-RodinNTLGPro-DB'">test</span> --> <span style="font-family: 'FOT-RodinNTLGPro-DB'">test</span> -->
<span style="font-family: 'FOT-RodinNTLGPro';">test</span> <!-- <span style="font-family: 'FOT-RodinNTLGPro';">test</span>
<span style="font-family: 'FOT-RodinNTLGPro'; font-weight: bold;">test</span> <span style="font-family: 'FOT-RodinNTLGPro'; font-weight: bold;">test</span>-->
<span style="font-family: 'SourceHanSans-Regular';">test</span>
<span style="font-family: 'SourceHanSans-Regular'; font-weight: bold;">test</span>
<!-- <span style="font-family: 'Orbitron-Black'">test</span> <!-- <span style="font-family: 'Orbitron-Black'">test</span>
<span style="font-family: 'Orbitron-Bold'">test</span> <span style="font-family: 'Orbitron-Bold'">test</span>
<span style="font-family: 'Orbitron-Light'">test</span> <span style="font-family: 'Orbitron-Light'">test</span>
@ -76,4 +78,4 @@
<span style="font-family: 'SourceCodePro-Regular'">test</span> --> <span style="font-family: 'SourceCodePro-Regular'">test</span> -->
</div> </div>
</body> </body>
</html> </html>