smaller font, smaller torrent list item

This commit is contained in:
Feross Aboukhadijeh
2016-03-02 18:43:21 -08:00
parent 63fbbd0882
commit e982c320f0
2 changed files with 7 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ function createMainWindow () {
backgroundColor: '#282828', backgroundColor: '#282828',
darkTheme: true, darkTheme: true,
minWidth: 360, minWidth: 360,
minHeight: 168, minHeight: 158,
show: false, show: false,
title: 'WebTorrent', title: 'WebTorrent',
titleBarStyle: 'hidden-inset', titleBarStyle: 'hidden-inset',

View File

@@ -15,7 +15,7 @@ body {
cursor: default; cursor: default;
height: 100%; height: 100%;
font-family: BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif; font-family: BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
font-size: 16px; font-size: 14px;
line-height: 1.5em; line-height: 1.5em;
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -73,12 +73,11 @@ a:not(.disabled):hover {
.header { .header {
border-bottom: 1px solid rgb(20, 20, 20); border-bottom: 1px solid rgb(20, 20, 20);
height: 37px; height: 37px;
padding-top: 6px; padding-top: 8px;
overflow: hidden; overflow: hidden;
} }
.header .title { .header .title {
font-size: 14px;
opacity: 0.6; opacity: 0.6;
position: absolute; position: absolute;
width: 100%; width: 100%;
@@ -156,7 +155,7 @@ body.drag::before {
*/ */
.torrent { .torrent {
height: 130px; height: 120px;
padding: 20px; padding: 20px;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -182,9 +181,9 @@ body.drag::before {
.torrent .btn { .torrent .btn {
float: right; float: right;
margin-top: 21px; margin-top: 20px;
margin-left: 20px; margin-left: 20px;
padding-top: 9px; padding-top: 10px;
} }
.torrent .play { .torrent .play {
@@ -201,7 +200,7 @@ body.drag::before {
} }
.torrent .name { .torrent .name {
font-size: 1.6em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
line-height: 1.5em; line-height: 1.5em;
} }