move css to App.scss

This commit is contained in:
Niel 2019-04-21 13:35:05 +02:00
parent 3487e53115
commit 7d08e25a09
3 changed files with 31 additions and 26 deletions

View file

@ -3,6 +3,8 @@ import { BrowserRouter as Router, Route } from 'react-router-dom';
import Home from './Home';
import Header from './Header';
import './App.scss';
export default () => {
return (
<div className='App'>

29
src/components/App.scss Normal file
View file

@ -0,0 +1,29 @@
body {
background-color: #4a4a4a;
font-size: 160%;
color: #fff
}
.app-header {
text-align: center;
background-color: #282c34;
font-size: 1.6em;
padding: 0.5em 0;
color: white;
}
.channelList {
list-style: none
}
.channel-view {
background-color: green;
width: 20%;
height: auto;
margin: auto;
}
.channel-view ul {
text-align: left
}

View file

@ -6,35 +6,9 @@ body {
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #4a4a4a;
font-size: 160%;
color: #fff
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
.app-header {
text-align: center;
background-color: #282c34;
font-size: 1.6em;
padding: 0.5em 0;
color: white;
}
.channelList {
list-style: none
}
.channel-view {
background-color: green;
width: 20%;
height: auto;
margin: auto;
}
.channel-view ul {
text-align: left
}