diff --git a/src/components/App.css b/src/components/App.css index 2f53998..158e49b 100644 --- a/src/components/App.css +++ b/src/components/App.css @@ -1,4 +1,5 @@ .navbar{ color:#ffffff; padding-left:40px; + background-color: #6272a4; } \ No newline at end of file diff --git a/src/components/ConfigCover.css b/src/components/ConfigCover.css index 4584865..76148e0 100644 --- a/src/components/ConfigCover.css +++ b/src/components/ConfigCover.css @@ -1,20 +1,35 @@ -.container{ +.main-container{ width:auto; - display:flex; - flex-direction: column; - justify-content: center; align-items: center; + display:flex; + flex-direction: row; } + +body{background-color: #f2f2f2;} .inputData{ - margin:60px 0px 20px 0px; + display:flex; + flex-direction: column; + align-items: center; + padding:15px; } +.blog-cover{display: flex; +flex-direction: column;} label{margin:5px;} input{margin:4px;} .inputTitle{ height:40px; - width:350px; + width:auto; border-radius:4px; padding-left:20px; +} + + +@media screen and (max-width:600px){ + .main-container{ + display:flex; + flex-direction:column; + } + } \ No newline at end of file diff --git a/src/components/ConfigCover.js b/src/components/ConfigCover.js index d384834..90b8dd5 100644 --- a/src/components/ConfigCover.js +++ b/src/components/ConfigCover.js @@ -15,9 +15,12 @@ class ConfigCover extends React.Component { render() { return ( -
Create blog covers for your next blog post
this.setState({ title: e.target.value })}> @@ -30,7 +33,7 @@ class ConfigCover extends React.Component { onChange={e=>this.setState({height: e.target.value})}>