feat: new style fix nav

This commit is contained in:
Dillon
2019-08-22 01:22:33 +08:00
parent 87857b2002
commit a46456ef0a
6 changed files with 20 additions and 30 deletions

View File

@@ -8,9 +8,13 @@
}
.navbar {
display: block !important;
position: fixed;
width: 100%;
z-index: 100;
height: 4rem;
line-height: 4rem;
width: 100%;
.container {
width: auto;
max-width: 1200px;
@@ -26,20 +30,20 @@
}
.container {
padding-left: 1em;
padding-right: 1em;
padding-left: 1rem;
padding-right: 1rem;
}
.footer {
height: 2rem;
width: 100%;
text-align: center;
line-height: 1.4rem;
padding-top: 1em;
line-height: 1.5rem;
padding-top: 2rem;
}
.notfound {
font-size: 2em;
font-size: 2rem;
transform: translateY(35vh);
text-align: center;
}

View File

@@ -120,26 +120,7 @@
display: none !important;
}
.footer {
height: 3rem;
width: 100%;
text-align: center;
line-height: 1.5rem;
padding-top: 2em;
}
.post-warp {
padding-top: 6em;
.post-content {
a.post-title-target:target {
display: block;
position: relative;
top: -60px;
visibility: hidden;
}
}
.categories-card {
.card-item {
width: 95%;