2024-08-03 13:48:13 +00:00
|
|
|
body, html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
/* overflow: hidden; */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 应用背景 */
|
|
|
|
body {
|
|
|
|
background: var(--bg-color);
|
|
|
|
background-image: var(--bg-image);
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 阴影效果 */
|
|
|
|
.shadow {
|
|
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 水平和垂直偏移量,模糊半径,和颜色 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 背景模糊 */
|
|
|
|
.mh {
|
|
|
|
backdrop-filter: blur(10px); /* 模糊背后的内容 */
|
|
|
|
/* 为了看到模糊效果,可能需要设置背景透明 */
|
|
|
|
background-color: rgba(255, 255, 255, 0.5); /* 半透明背景 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 圆角效果 */
|
|
|
|
.round {
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
2024-08-04 10:36:49 +00:00
|
|
|
.round-5{
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2024-08-03 13:48:13 +00:00
|
|
|
.container{
|
|
|
|
display: flex; /* 添加 Flex 容器 */
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100vh;
|
|
|
|
flex-direction: column; /* 子元素垂直排列 */
|
|
|
|
justify-content: space-between; /* 顶部和底部的子元素之间留有足够的空间 */
|
|
|
|
}
|
|
|
|
/* 如果需要,可以为主要内容区域设置一个类名 */
|
|
|
|
.main-content {
|
|
|
|
flex-grow: 1; /* 使主要内容区域扩展以填充剩余的空间 */
|
|
|
|
}
|
|
|
|
.header{
|
|
|
|
width: 90%;
|
|
|
|
min-width: 350px;
|
|
|
|
/* 调整高度以适应剩余的空间 */
|
|
|
|
height: 50px;
|
|
|
|
margin: 16px auto;
|
|
|
|
padding: 0.5em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.jianjie{
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.xiangmu,.wangzhan,.gongsi{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.jianjie,.xiangmu,.wangzhan,.gongsi{
|
|
|
|
width: 90%;
|
|
|
|
min-width: 350px;
|
|
|
|
/* 调整高度以适应剩余的空间 */
|
|
|
|
height: 85%;
|
2024-08-04 10:36:49 +00:00
|
|
|
/* max-height: calc(100vh - 18%); */
|
2024-08-03 13:48:13 +00:00
|
|
|
margin: 16px auto;
|
|
|
|
padding: 0.5em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
/* 添加以下样式以实现内部滚动条 */
|
2024-08-04 10:36:49 +00:00
|
|
|
/* 当内容超过 div 高度时显示滚动条 */
|
|
|
|
/* overflow-y: auto; */
|
|
|
|
flex-direction: column;
|
2024-08-03 13:48:13 +00:00
|
|
|
}
|
|
|
|
footer {
|
|
|
|
width: 100%;
|
|
|
|
height: 2.5em;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-size: 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
footer a{
|
|
|
|
outline: none;
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
footer a:hover{
|
|
|
|
color: rgb(62, 173, 238);
|
|
|
|
}
|
|
|
|
.box-profile{
|
|
|
|
display: flex;
|
|
|
|
/* margin: 1em auto; */
|
|
|
|
align-items: center; /* 垂直居中 */
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
.profile{
|
|
|
|
margin-left: 1em;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
border-radius: 50px;
|
|
|
|
}
|
2024-08-04 10:36:49 +00:00
|
|
|
|
|
|
|
.center{
|
|
|
|
text-align: center;
|
|
|
|
}
|
2024-08-03 13:48:13 +00:00
|
|
|
.profile-about{
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-08-04 10:36:49 +00:00
|
|
|
font-size: 12px;
|
2024-08-03 13:48:13 +00:00
|
|
|
}
|
|
|
|
.profile-name{
|
|
|
|
font-size:20px;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.profile-text{
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
2024-08-04 10:36:49 +00:00
|
|
|
}
|
|
|
|
.tag{
|
|
|
|
background-color:black;
|
|
|
|
color: bisque;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.2em 0.5em;
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
|
|
|
.tags-profile{
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.tags{
|
|
|
|
display:none;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
@media (max-width: 400px){
|
|
|
|
.tags{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.tags-profile{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gongsi-jieshao{
|
|
|
|
padding: 1em;
|
|
|
|
box-sizing: border-box;
|
2024-08-03 13:48:13 +00:00
|
|
|
}
|