加分号使格式统一

加分号使格式统一,0px可以简化为0
This commit is contained in:
fayeah
2020-09-12 21:24:00 +08:00
committed by GitHub
parent 9d5dbff061
commit 1500874cdf

View File

@@ -32,7 +32,7 @@
html, html,
body { body {
width: 100%; width: 100%;
height: 100% height: 100%;
} }
a, a,
@@ -40,15 +40,15 @@
a:before, a:before,
a:after { a:after {
text-decoration: none; text-decoration: none;
transition-duration: .25s transition-duration: .25s;
} }
section { section {
display: block display: block;
} }
body { body {
line-height: 1 line-height: 1;
} }
#about { #about {
@@ -118,26 +118,26 @@
} }
#about p { #about p {
margin: 30px; margin: 30px;
margin-bottom: 0px margin-bottom: 0;
} }
#about .social { #about .social {
margin: 30px; margin: 30px;
margin-bottom: 0px margin-bottom: 0;
} }
#about .copyright { #about .copyright {
width: 100%; width: 100%;
float: left; float: left;
margin-bottom: 0px; margin-bottom: 0;
} }
} }
.animated { .animated {
animation-duration: 1s; animation-duration: 1s;
animation-fill-mode: both animation-fill-mode: both;
} }
.bounce-in { .bounce-in {
animation-name: bounce-in animation-name: bounce-in;
} }
@keyframes bounce-in { @keyframes bounce-in {
@@ -146,24 +146,24 @@
75%, 75%,
90%, 90%,
to { to {
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1) animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
} }
0% { 0% {
opacity: 0; opacity: 0;
transform: translate3d(-3000px, -50%, 0) transform: translate3d(-3000px, -50%, 0);
} }
60% { 60% {
opacity: 1; opacity: 1;
transform: translate3d(25px, -50%, 0) transform: translate3d(25px, -50%, 0);
} }
75% { 75% {
transform: translate3d(-10px, -50%, 0) transform: translate3d(-10px, -50%, 0);
} }
90% { 90% {
transform: translate3d(5px, -50%, 0) transform: translate3d(5px, -50%, 0);
} }
to { to {
transform: translate3d(0, -50%) transform: translate3d(0, -50%);
} }
} }
@@ -172,7 +172,7 @@
font-size: 16px; font-size: 16px;
font-weight: 300; font-weight: 300;
line-height: 1.75; line-height: 1.75;
color: rgba(0, 0, 0, 0.65) color: rgba(0, 0, 0, 0.65);
} }
h1 { h1 {
@@ -181,7 +181,7 @@
font-weight: 700; font-weight: 700;
line-height: 1.25; line-height: 1.25;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
margin-bottom: 25px margin-bottom: 25px;
} }
a { a {
@@ -191,11 +191,11 @@
@media (max-width: 580px) { @media (max-width: 580px) {
body { body {
font-size: 14px font-size: 14px;
} }
h1 { h1 {
font-size: 42px; font-size: 42px;
line-height: 1.45 line-height: 1.45;
} }
} }