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 ( -
+
-
+
+ +

CoverView

+

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})}>
*/} - +
this.setState({ bgcolor: e.target.value })} /> @@ -38,11 +41,11 @@ class ConfigCover extends React.Component { this.setState({ border: e.target.value })} /> - +
- +
- +
diff --git a/src/components/CoverImage.css b/src/components/CoverImage.css index de14ce6..8b50ce4 100644 --- a/src/components/CoverImage.css +++ b/src/components/CoverImage.css @@ -7,10 +7,12 @@ height:420px; width:800px; padding:90px; + margin:30px 0px 15px 0px; + } -.card{ +.title-card{ border-radius: 10px; background-color: #ffffff; @@ -23,11 +25,19 @@ } +.card{margin:20px; + border-radius: 8px; + text-align: center; + color:#676683; + +padding:50px 25px 50px 25px;} h1{height:auto;} -button{background-color: #8c52ff; +button{background-color: #282a36; color:#ffffff; border:none; border-radius:4px; padding:10px; -margin:20px;} +margin:auto; +width:100px; +text-align: center;} diff --git a/src/components/CoverImage.js b/src/components/CoverImage.js index a35a0ad..a69db64 100644 --- a/src/components/CoverImage.js +++ b/src/components/CoverImage.js @@ -10,7 +10,7 @@ class CoverImage extends React.Component {
-

{this.props.title}