Skip to content

Commit

Permalink
added white nav, background photo, fonts, regist. pane
Browse files Browse the repository at this point in the history
  • Loading branch information
RobWiggins committed Sep 4, 2019
1 parent 3129568 commit 6c9627e
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 3 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Nunito|Open+Sans|Roboto&display=swap" rel="stylesheet">
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
Expand Down
Binary file added public/leonard-cotte-R5scocnOOdM-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/components/App/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
main {
display: flex;
justify-content: center;
}

h2, .desc {
display: inline-block;
margin-left: 50%;
transform: translate(-50%);
}

body {
background: url('/static/leonard-cotte-R5scocnOOdM-unsplash.jpg') no-repeat center center fixed;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
font-family: 'Nunito', 'Open Sans' ,'Roboto', 'sans-serif';
}
2 changes: 1 addition & 1 deletion src/components/Header/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ header h1 {
nav {
width: 100%;
height: 40px;
background-color: lightgray;
background-color: ghostwhite;
padding: 10px;
}

Expand Down
13 changes: 13 additions & 0 deletions src/components/RegistrationForm/RegistrationForm.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
.register-container {
display: flex;
flex-direction: column;
width: 70%;
min-width: 300px;
max-width: 600px;
background-color: #e66760;
color: white;
font-size: 1.2em;
font-weight: 500;
}

.register-form {
width: 100%;
}
Expand All @@ -11,6 +23,7 @@
.input label{
margin-top: 10px;
margin-bottom: 10px;
margin-right: 15px;
display: inline-block;
width: 90px;
}
Expand Down
1 change: 0 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
body {
margin: 0;
padding: 0;
font-family: "Ubuntu", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/RegistrationRoute/RegistrationRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RegistrationRoute extends Component {

render() {
return (
<section>
<section className="register-container">
<p className="desc">
Practice learning a language with the spaced reptition revision technique.
</p>
Expand Down

0 comments on commit 6c9627e

Please sign in to comment.