1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Loading font 微調整

This commit is contained in:
Rokt33r
2015-08-26 18:27:19 +09:00
parent 47383c347c
commit de6d6b692e
2 changed files with 15 additions and 4 deletions

View File

@@ -8,6 +8,17 @@
<link rel="stylesheet" href="../../node_modules/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8"> <link rel="stylesheet" href="../../node_modules/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
<style>
@font-face {
font-family: 'Lato';
src: url('../../Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../../Lato-Regular.woff') format('woff'), /* Modern Browsers */
url('../../Lato-Regular.ttf') format('truetype');
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
</style>
<script> <script>
document.addEventListener('mousewheel', function(e) { document.addEventListener('mousewheel', function(e) {
if(e.deltaY % 1 !== 0) { if(e.deltaY % 1 !== 0) {
@@ -47,14 +58,13 @@
} }
}); });
} }
require('electron-stylus')(__dirname + '/../styles/finder/index.styl')
</script> </script>
</head> </head>
<body> <body>
<div id="content"></div> <div id="content"></div>
<script src="../ace/src-min/ace.js"></script> <script src="../ace/src-min/ace.js"></script>
<script> <script>
require('electron-stylus')(__dirname + '/../styles/finder/index.styl')
require('node-jsx').install({ harmony: true, extension: '.jsx' }) require('node-jsx').install({ harmony: true, extension: '.jsx' })
require('./index.jsx') require('./index.jsx')
</script> </script>

View File

@@ -14,7 +14,7 @@
url('../../Lato-Regular.woff') format('woff'), /* Modern Browsers */ url('../../Lato-Regular.woff') format('woff'), /* Modern Browsers */
url('../../Lato-Regular.ttf') format('truetype'); url('../../Lato-Regular.ttf') format('truetype');
font-style: normal; font-style: normal;
font-weight: 400; font-weight: normal;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
#loadingCover{ #loadingCover{
@@ -32,8 +32,9 @@
margin: 0 auto; margin: 0 auto;
} }
#loadingCover .message{ #loadingCover .message{
font-size: 2.5em; font-size: 45px;
text-align: center; text-align: center;
line-height: 1.6;
font-weight: 200; font-weight: 200;
color: #404849; color: #404849;
} }