diff --git a/app/base.css b/app/base.css index f5c623f4..9c5a0ab3 100644 --- a/app/base.css +++ b/app/base.css @@ -57,11 +57,14 @@ a { background: var(--pageBGColor); box-shadow: var(--large-box-shadow); width: 90%; - height: 100%; max-width: 960px; + min-height: 550px; max-height: 600px; align-self: center; margin: auto 0; + display: grid; + grid-template-columns: 70px 360px 1fr; + grid-template-areas: 'nav files content'; } .split { @@ -73,12 +76,11 @@ a { .split__left { height: 100%; - width: 360px; - margin: 0; border-right: 1px solid #d7d7db; display: flex; flex-direction: column; text-align: center; + grid-area: files; } .split__right { @@ -88,6 +90,16 @@ a { align-items: flex-end; justify-content: center; position: relative; + grid-area: content; +} + +.wide { + grid-area: files-start / files-start / content-end / content-end; + overflow: hidden; + display: flex; + flex-direction: column; + margin-left: 12px; + height: 100%; } .noscript { @@ -187,8 +199,6 @@ a { .page { height: 100%; - width: 75%; - margin: 0 auto; padding: 24px; display: flex; flex-direction: column; @@ -275,16 +285,17 @@ a { align-items: center; max-height: none; width: 100%; - } - - .split { - flex-direction: column-reverse; - align-items: center; + grid-template-columns: none; + grid-template-rows: 90px minmax(160px, 30vh) minmax(240px, 30vh) 70px; + grid-template-areas: + 'promo' + 'files' + 'content' + 'nav'; } .split__left { border: none; - height: 600px; } .description { diff --git a/app/main.css b/app/main.css index 384587e0..a0c0661b 100644 --- a/app/main.css +++ b/app/main.css @@ -1,7 +1,10 @@ @import './base.css'; @import './pages/share/share.css'; @import './pages/signin/signin.css'; +@import './pages/uploads/uploads.css'; @import './pages/unsupported/unsupported.css'; +@import './templates/archiveTile/archiveTile.css'; +@import './templates/controlArea/controlArea.css'; @import './templates/downloadButton/downloadButton.css'; @import './templates/downloadPassword/downloadPassword.css'; @import './templates/file/file.css'; diff --git a/app/pages/blank.js b/app/pages/blank.js index edaadcac..6e8decdc 100644 --- a/app/pages/blank.js +++ b/app/pages/blank.js @@ -1,5 +1,5 @@ const html = require('choo/html'); module.exports = function() { - return html`
`; + return html``; }; diff --git a/app/pages/legal.js b/app/pages/legal.js index 6261c29d..95103a51 100644 --- a/app/pages/legal.js +++ b/app/pages/legal.js @@ -4,7 +4,7 @@ const title = require('../templates/title'); module.exports = function(state) { return html` -