Improved CSS

This commit is contained in:
Haider Ali Punjabi 2020-08-30 16:44:58 +05:30
parent ce993f4e1a
commit df4e56e142
4 changed files with 45 additions and 28 deletions

View File

@ -1,30 +1,46 @@
.navbar{ html,
color:#ffffff; body,
padding-left:40px; #root {
background-color: #6272a4; height: 100%;
padding:5px 5px 5px 35px;
font-family:segoe ui;
} }
.logo{ .navbar {
height:30px; color: #ffffff;
width:30px; padding-left: 40px;
margin-right:10px; background-color: #6272a4;
padding: 5px 5px 5px 35px;
font-family: segoe ui;
}
.navbar h4 {
margin-bottom: 0;
}
.logo {
height: 30px;
width: 30px;
margin-right: 10px;
}
.outerContainer {
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
} }
a { a {
color:inherit; color: inherit;
} }
a i:hover{ a i:hover {
color:#f2f2f2; color: #f2f2f2;
} }
footer{ footer {
height:40px; height: 40px;
text-align: center; text-align: center;
background-color:#ffffff; background-color: #ffffff;
padding:10px; padding: 10px;
font-size: 14px; font-size: 14px;
border-top:1px solid #cccccc; border-top: 1px solid #cccccc;
} }
@media screen and (max-width:600px){ @media screen and (max-width: 600px) {
footer{margin-top:40px;} footer {
margin-top: 40px;
}
} }

View File

@ -6,7 +6,7 @@ class App extends React.Component {
render() { render() {
return ( return (
<div> <div className={"outerContainer"}>
<Navbar /> <Navbar />
<ConfigCover /> <ConfigCover />
<Footer /> <Footer />

View File

@ -8,7 +8,7 @@ body {
align-items: center; */ align-items: center; */
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center;
} }
.tagline { .tagline {
max-width: 300px; max-width: 300px;
@ -85,7 +85,7 @@ svg {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin:60px; width: 100%;
} }
label{ label{
margin: 5px; margin: 5px;

View File

@ -31,7 +31,6 @@ i{
margin-left:2vw; margin-left:2vw;
} }
.author{ .author{
float:right;
margin-right:3vw; margin-right:3vw;
} }
.meta{ .meta{
@ -41,7 +40,9 @@ i{
height:42px; height:42px;
padding :4px; padding :4px;
font-weight: 500; font-weight: 500;
vertical-align: middle; display: flex;
align-items: center;
justify-content: space-between
} }
h1{ h1{