Skip to content

Commit

Permalink
Step 2: Add some Styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Kattw committed Oct 7, 2016
1 parent 2f78f50 commit e858635
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/app/animation-target/animation-target.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:host {
width: 500px;
height: 200px;
background: #ADFF2F;
color: #1a2580;
font-size: 40px;
line-height: 200px;
display: block;
text-align: center;
margin: 50px 0;
}
20 changes: 20 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
:host {
padding: 50px;
width: 500px;
display: block;
margin:auto;
}

button {
border:none;
padding: 25px;
background: #181d69;
color: #fff;
font-size: 26px;
width: 500px;
font-weight: lighter;

&:hover {
background: #1a2580;
}
}
7 changes: 6 additions & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/* You can add global styles to this file, and also import other style files */
/* You can add global styles to this file, and also import other style files */

body, * {
font-family: 'Roboto', sans-serif;
font-weight: lighter;
}

0 comments on commit e858635

Please sign in to comment.