mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-18 14:01:56 +08:00
Improved CSS
This commit is contained in:
parent
ce993f4e1a
commit
df4e56e142
@ -1,3 +1,8 @@
|
|||||||
|
html,
|
||||||
|
body,
|
||||||
|
#root {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.navbar {
|
.navbar {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
@ -5,11 +10,20 @@
|
|||||||
padding: 5px 5px 5px 35px;
|
padding: 5px 5px 5px 35px;
|
||||||
font-family: segoe ui;
|
font-family: segoe ui;
|
||||||
}
|
}
|
||||||
|
.navbar h4 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
.logo {
|
.logo {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
.outerContainer {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
@ -26,5 +40,7 @@ footer{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
footer{margin-top:40px;}
|
footer {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
@ -6,7 +6,7 @@ class App extends React.Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={"outerContainer"}>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<ConfigCover />
|
<ConfigCover />
|
||||||
<Footer />
|
<Footer />
|
||||||
|
@ -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;
|
||||||
|
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user