diff --git a/src/App.tsx b/src/App.tsx index 684787d..fe11e17 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,7 +21,6 @@ import CreateLinkTile from './components/CreateLinkTile'; import MatrixTile from './components/MatrixTile'; import Tile from './components/Tile'; import LinkRouter from './pages/LinkRouter'; -import Footer from './components/Footer'; import './App.scss'; @@ -67,11 +66,7 @@ const App: React.FC = () => {
{page} -
- -
-
-
+
diff --git a/src/components/Button.scss b/src/components/Button.scss index c1a6d70..25997ab 100644 --- a/src/components/Button.scss +++ b/src/components/Button.scss @@ -21,15 +21,19 @@ limitations under the License. height: 48px; - border-radius: 2rem; + border-radius: 24px; border: 0; - background-color: $foreground; + background-color: $accent; color: $background; - font-size: 14px; + font-size: 15px; font-weight: 500; + display: inline-flex; + justify-content: center; + align-items: center; + &:hover { cursor: pointer; } diff --git a/src/components/CreateLinkTile.scss b/src/components/CreateLinkTile.scss index 0fba4fc..e302aff 100644 --- a/src/components/CreateLinkTile.scss +++ b/src/components/CreateLinkTile.scss @@ -17,8 +17,6 @@ limitations under the License. @import '../color-scheme'; .createLinkTile { - background: none; - row-gap: 24px; * { @@ -33,6 +31,11 @@ limitations under the License. > a { color: $foreground; + font-weight: bold; + font-size: 24px; + line-height: 32px; + text-align: left; + text-decoration: underline; } .createLinkReset { diff --git a/src/components/CreateLinkTile.tsx b/src/components/CreateLinkTile.tsx index 2b92455..35950fd 100644 --- a/src/components/CreateLinkTile.tsx +++ b/src/components/CreateLinkTile.tsx @@ -128,7 +128,9 @@ const LinkCreatedTile: React.FC = (props) => {
New link
Go back to matrix.to home page -

{props.link}

+ + {props.link} +
); diff --git a/src/components/Tile.scss b/src/components/Tile.scss index a5dabae..e97d907 100644 --- a/src/components/Tile.scss +++ b/src/components/Tile.scss @@ -20,6 +20,7 @@ limitations under the License. background-color: $background; border-radius: 16px; + box-shadow: 0px 18px 24px rgba(0, 0, 0, 0.06); padding: 2rem; display: grid; diff --git a/src/index.scss b/src/index.scss index 9ac7302..7bbbad4 100644 --- a/src/index.scss +++ b/src/index.scss @@ -46,7 +46,7 @@ h1 { font-weight: bold; font-size: 24px; line-height: 32px; - text-align: center; + text-align: left; color: $foreground; } diff --git a/src/layouts/SingleColumn.scss b/src/layouts/SingleColumn.scss index 00edf39..3e589b8 100644 --- a/src/layouts/SingleColumn.scss +++ b/src/layouts/SingleColumn.scss @@ -1,10 +1,26 @@ +/* +Copyright 2020 The Matrix.org Foundation C.I.C. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + .singleColumnLayout { height: 100%; padding: 0 1em; margin: 0 auto; - max-width: 550px; + max-width: 480px; display: grid; row-gap: 60px;