mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
139 lines
2.3 KiB
CSS
139 lines
2.3 KiB
CSS
:root{
|
|
/* colors */
|
|
--primary-color: #8589e0;
|
|
--secondary-color: #b2cbd3;
|
|
|
|
--primary-text-color: #c9cacc;
|
|
--secondary-text-color: #9c9c9c;
|
|
|
|
--background-color: #191c1d;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'fusion-pixel';
|
|
src: url('../../assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
input:focus {
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
a, a:link, a:visited, a:active {
|
|
text-decoration: none;
|
|
color: var(--primary-text-color);
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--primary-color);
|
|
text-decoration-thickness: 2px;
|
|
}
|
|
|
|
.m-icon {
|
|
color: var(--primary-text-color);
|
|
}
|
|
|
|
.root-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
@media screen and (max-width: 576px){
|
|
.root-container {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 3px;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 10px;
|
|
background: var(--secondary-text-color);
|
|
}
|
|
|
|
.footer {
|
|
position: fixed;
|
|
width: 100%;
|
|
bottom: 20px;
|
|
text-align: center;
|
|
color: var(--secondary-text-color);
|
|
}
|
|
|
|
.main-logo {
|
|
display: flex;
|
|
}
|
|
|
|
.main-logo-img {
|
|
width: 40px;
|
|
height: 40px;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
.main-logo-txt {
|
|
width: fit-content;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
font-size: 36px;
|
|
padding-top: 2px;
|
|
margin-left: 10px;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.main-menu-link {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.special-info-area {
|
|
height: 340px;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
font-family: fusion-pixel, serif;
|
|
border: var(--secondary-text-color) 1px dashed;
|
|
}
|
|
|
|
.search-wrap {
|
|
width: 300px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
display: flex;
|
|
}
|
|
|
|
.search-input {
|
|
width: 270px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
display: inline;
|
|
border: none;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.search-button {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: inline;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background: var(--secondary-color);
|
|
}
|
|
|
|
.search-button:hover {
|
|
background: var(--primary-color);
|
|
}
|