move css to App.scss
This commit is contained in:
		
							parent
							
								
									3487e53115
								
							
						
					
					
						commit
						7d08e25a09
					
				
					 3 changed files with 31 additions and 26 deletions
				
			
		|  | @ -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
									
								
							
							
						
						
									
										29
									
								
								src/components/App.scss
									
										
									
									
									
										Normal 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 | ||||
| } | ||||
|  | @ -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 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue