Add zoom factor to splash screen

This commit is contained in:
Ryan Huffman 2016-01-18 11:09:15 -08:00
parent 70371e41bf
commit c01907f115
2 changed files with 6 additions and 5 deletions

View file

@ -480,13 +480,15 @@ function maybeShowSplash() {
var suppressSplash = userConfig.get('doNotShowSplash', false);
if (!suppressSplash) {
const zoomFactor = 0.8;
var window = new BrowserWindow({
icon: appIcon,
width: 1600,
height: 737,
width: 1600 * zoomFactor,
height: 737 * zoomFactor,
center: true,
frame: true,
useContentSize: true,
zoomFactor: zoomFactor,
resizable: false
});
window.loadURL('file://' + __dirname + '/splash.html');

View file

@ -16,7 +16,7 @@ body {
* {
font-family: "Proxima Nova", "Open Sans", Arial, Helvetica, sans-serif;
font-size: 1.022em;
font-size: 14.5pt;
line-height: 130%;
}
@ -36,14 +36,13 @@ a:hover {
h1 {
font-weight: normal;
color: #6D7472;
font-size: 2.0em;
font-size: 30pt;
margin: 0;
padding: 0;
}
h2 {
color: #6D7472;
font-size: 1.0em;
font-weight: bold;
margin: 0;
padding: 0;