From a0494c4e05833fd6f0766aef2a596b0741e44718 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 8 Feb 2019 11:17:36 +0000 Subject: [PATCH] Adjust welcome layout to match new design --- res/welcome.html | 116 ++++++++++++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 47 deletions(-) diff --git a/res/welcome.html b/res/welcome.html index d98ff63def..ba5d8d69a2 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -28,6 +28,45 @@ h1::after { align-items: center; text-align: center; padding: 25px 35px; + color: #2e2f32; +} + +.mx_Logo { + height: 54px; + margin-top: 2px; +} + +.mx_ButtonGroup { + margin-top: 10px; +} + +.mx_ButtonRow { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-justify-content: space-around; + -ms-flex-pack: distribute; + justify-content: space-around; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + justify-content: space-between; + box-sizing: border-box; + margin: 12px 0 0; +} + +.mx_ButtonRow > * { + margin: 0 10px; +} + +.mx_ButtonRow > *:first-child { + margin-left: 0; +} + +.mx_ButtonRow > *:last-child { + margin-right: 0; } .mx_ButtonParent { @@ -57,25 +96,6 @@ h1::after { color: #2e2f32 !important; } -.mx_ButtonRow { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 480px; - -webkit-justify-content: space-around; - -ms-flex-pack: distribute; - justify-content: space-around; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - justify-content: space-between; - padding: 0 40px; - box-sizing: border-box; - margin: 28px 0; -} - .mx_ButtonHeadline { margin-bottom: 14px; } @@ -89,16 +109,16 @@ h1::after { margin-bottom: 10px; } -.mx_Header2 { - font-size: 32px; +.mx_Header_title { + font-size: 24px; font-weight: 600; - margin-top: 40px; + margin: 20px 0 0; } -.mx_Header22 { - font-size: 14px; - font-weight: 200; - margin-bottom: 40px; +.mx_Header_subtitle { + font-size: 12px; + font-weight: normal; + margin: 8px 0 0; } .mx_ButtonSignIn { @@ -133,30 +153,32 @@ h1::after {
- + -

_t("Welcome to Riot.im")

-

_t("Decentralised, encrypted chat & collaboration powered by [matrix]")

- -