diff --git a/apps/remix-ide/src/app/ui/landing-page/landing-page.js b/apps/remix-ide/src/app/ui/landing-page/landing-page.js index 0fdf657bfc..74a86ad83d 100644 --- a/apps/remix-ide/src/app/ui/landing-page/landing-page.js +++ b/apps/remix-ide/src/app/ui/landing-page/landing-page.js @@ -32,12 +32,24 @@ let css = csjs` margin:30px; padding-right: 90px; } + .mediaBadge { + font-size: 2em; + height: 2em; + width: 2em; + } + .logoImg { + height: 10em; + } .hpSections { min-width: 640px; } .remixHomeMedia { - overflow-x: hidden; overflow-y: auto; + overflow-x: hidden; + max-height: 570px; + } + .panels { + box-shadow: 5px 5px 15px 0px; } .labelIt { margin-bottom: 0; @@ -49,9 +61,6 @@ let css = csjs` .importFrom p { margin-right: 10px; } - .logoContainer { - float: left; - } .logoContainer img{ height: 150px; opacity: 0.7; @@ -66,18 +75,14 @@ let css = csjs` width: 120px; height: 70px; } - .block input[type='radio']:checked ~ .media{ - width: auto; - display: block; - transition: .5s ease-in; - } - .media{ - width: 0; - display: none; + .media { overflow: hidden; + width: 400px; transition: .5s ease-out; + z-index: 1000; } - .mediumPanel { + + .mediaMedium { width: 400px; } } @@ -106,7 +111,7 @@ export class LandingPage extends ViewPlugin { this.twitterFrame = yo`
` + this.badgeTwitter = yo`` + this.badgeMedium = yo`` + this.twitterPanel = yo` +