@hocgin/gin-footer
Version:
@hocgin/gin-footer
122 lines (121 loc) • 2.43 kB
CSS
/**
* ============
* 通用配置或样式
* ============
**/
.heartbeat {
display: inline-block;
animation: animation-heartbeat 1.3s ease 0s infinite normal;
}
@keyframes animation-heartbeat {
0%,
28%,
70% {
-webkit-transform: scale(1);
transform: scale(1);
}
14%,
42% {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
}
@font-face {
font-family: myfont;
src: url('../../assets/font.woff.ttf');
}
.footer {
font-size: 14px;
transition: all 0.2s ease;
height: 100px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
.footer .footerInfo .heart {
vertical-align: baseline;
color: #f22e3c;
margin: 0 8px;
height: 16px;
width: 16px;
}
.footer .footerInfo .me {
margin-right: 8px;
border-bottom: 4px solid #e2e8f0;
text-decoration: inherit;
box-sizing: inherit;
color: #a0aec0;
font-weight: 700;
}
.footer .footerInfo .year {
vertical-align: baseline;
border-bottom: 4px solid #e2e8f0;
text-decoration: inherit;
box-sizing: inherit;
color: #a0aec0;
font-weight: 700;
border-bottom: none;
}
.footer .copytitle {
color: rgba(127, 127, 127, 0.6);
display: block;
text-align: center;
margin-top: 8px;
font-size: 8px;
}
.footer .copytitle a {
color: rgba(127, 127, 127, 0.6);
}
.footer .copytitle a:hover {
color: rgba(102, 102, 102, 0.75);
}
.links {
margin: 0;
padding: 0;
list-style: none;
display: inline-flex;
vertical-align: baseline;
position: relative;
left: 12px;
width: 0;
}
.links li {
display: inline-flex;
margin-right: 10px;
border-right: 1px solid rgba(234, 234, 234, 0.7);
padding-right: 10px;
}
@media (prefers-color-scheme: dark) {
.links li {
border-right: 1px solid rgba(234, 234, 234, 0.25);
}
}
.links li:last-child {
border-right: none;
padding-right: 0;
margin-right: 0;
}
.links .github,
.links .weibo {
width: 16px;
height: 16px;
display: inline-block;
}
.links a {
color: rgba(102, 102, 102, 0.5);
text-decoration: none;
font-size: 1em;
display: inherit;
}
.links a:hover {
color: rgba(102, 102, 102, 0.75);
}
.site {
text-transform: uppercase;
font-weight: 600;
}
.site .domain {
font-size: 10px;
}