模板:ArthalsTest/style.css:修订间差异
来自RIA | Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的2个中间版本) | |||
| 第2行: | 第2行: | ||
text-align: center; | text-align: center; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0.6rem; | |||
display: flex; | |||
flex-direction: column; | |||
width: 300px; | width: 300px; | ||
background: #fefefe; | background: #fefefe; | ||
2022年12月5日 (一) 01:52的最新版本
#root {
text-align: center;
margin: 0 auto;
padding: 0.6rem;
display: flex;
flex-direction: column;
width: 300px;
background: #fefefe;
border-radius: 0 0 0.7rem 0.7rem;
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
@media (min-width:800px){
#root{
float:right;
margin:0 1rem;
}
}
#name {
font-size: 1.5rem;
font-weight: 800;
margin: 1rem 0;
color: #7f1d1d;
font-family: 'MiSans';
}
#name::after {
content: '';
display: block;
width: 50%;
height: 20px;
background: #fca5a5;
margin: -14px auto;
}
#resonance {
display: flex;
align-items: center;
justify-content: center;
margin-top: 0.3rem;
}
#resonance > .voice-left {
height: 40px;
width: 20px;
background-repeat: no-repeat;
}
#resonance > .voice-right {
height: 40px;
width: 20px;
background-repeat: no-repeat;
}
#resonance > .resonance-title {
margin: 0 1rem;
transform: translateY(-4px);
color: #fca5a5;
font-weight: 600;
font-family: 'MiSans';
}
#screenshot {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
margin: 0.5rem 2rem;
}
#screenshot > .photo {
border-radius: 0.5rem;
border: 1px solid #f4f4f5;
padding: 0.1rem;
color: transparent;
/*height: 100px;*/
}
#screenshot > .photo img {
height: 100%;
border-radius: 0.4rem;
}
#screenshot > .describe {
margin-top: 0.4rem;
font-size: 0.8rem;
font-family: 'MiSans';
}
#screenshot > .describe > .title {
font-weight: 600;
color: #3f3f46;
}
#screenshot > .describe > .subtitle {
font-weight: 400;
font-size: 0.6rem;
color: #a1a1aa;
}
#info {
display: flex;
flex-direction: column;
}
#info > div {
display: flex;
flex-direction: column;
text-align: left;
margin: 0.5rem 2rem;
}
#info > div > div.title {
font-size: 1rem;
color: #171717;
font-weight: 600;
font-family: 'MiSans';
margin-bottom: 0.4rem;
}
#info > div > div.content {
border-radius: 0.5rem;
border: 1px solid #f4f4f5;
display: flex;
flex-direction: column;
}
#info > div > div.content > div:not(:last-child) {
border-bottom: 1px solid #f4f4f5;
}
#info > div > div.content > div {
padding: 3px 5px;
align-items: center;
}
#info > div > div.content > div > .subtitle {
/* width: 80px;
display: inline-block; */
display: inline;
max-width: 80px;
text-align: left;
font-family: 'MiSans';
color: #737373;
font-size: 0.9rem;
}
#info > div > div.content > div > .row-content,
#info > div > div.content > div > .row-content * {
/* float: right; */
display: inline;
text-align: right;
font-family: 'MiSans';
color: #262626;
font-size: 0.9rem;
}
#motto {
display: flex;
flex-direction: column;
text-align: left;
margin: 0.5rem 2rem;
}
#motto > div.title {
font-size: 1rem;
color: #171717;
font-weight: 600;
font-family: 'MiSans';
margin-bottom: 0.4rem;
}
#motto > div.content {
border-radius: 0.5rem;
border: 1px solid #f4f4f5;
padding: 0.3rem 0.5rem;
font-family: 'MiSans';
color: #262626;
font-size: 0.9rem;
text-align: center;
}