用户:LettuceIce/styles.css:修订间差异
来自RIA | Wiki
更多操作
LettuceIce(留言 | 贡献) 无编辑摘要 |
LettuceIce(留言 | 贡献) 无编辑摘要 |
||
| 第73行: | 第73行: | ||
padding: 1px 15px; | padding: 1px 15px; | ||
box-shadow: 0 1px 3px rgba(0,0,0,.2); | box-shadow: 0 1px 3px rgba(0,0,0,.2); | ||
} | |||
/** QQ聊天 **/ | |||
.sl { | |||
position: relative; | |||
background-color: lightgreen; | |||
padding: 0.5rem; | |||
border-radius: 0.5rem; | |||
margin: 0.5rem 0 1rem 0; | |||
} | |||
.message { | |||
max-width: calc(100% - 6.5rem) !important; | |||
} | |||
.sll { | |||
margin-left: 0.5rem; | |||
border-top-left-radius: 0; | |||
} | |||
.slr { | |||
margin-right: 0.5rem; | |||
border-top-right-radius: 0; | |||
text-align: left; | |||
} | |||
.sl > *:nth-child(1) { | |||
margin-top: 0; | |||
} | |||
.sl > *:nth-last-child(1) { | |||
margin-bottom: 0; | |||
} | |||
.sl::before { | |||
content: ""; | |||
display: block; | |||
top: 0; | |||
position: absolute; | |||
background-color: lightgreen; | |||
width: 0.5rem; | |||
height: 0.5rem; | |||
} | |||
.sll::before { | |||
left: -0.5rem; | |||
} | |||
.slr::before { | |||
right: -0.5rem; | |||
} | |||
.sl::after { | |||
content: ""; | |||
display: block; | |||
top: 0; | |||
position: absolute; | |||
background-color: white; | |||
width: 0.5rem; | |||
height: 0.5rem; | |||
} | |||
.sll::after { | |||
left: -0.5rem; | |||
border-top-right-radius: 0.8rem; | |||
} | |||
.slr::after { | |||
right: -0.5rem; | |||
border-top-left-radius: 0.8rem; | |||
} | |||
.sl-container { | |||
display: flex; | |||
} | |||
.sl-container.alignr { | |||
text-align: right; | |||
justify-content: flex-end; | |||
} | |||
.sl-container.alignr .sl.slr { | |||
margin-left: auto; | |||
} | |||
.user { | |||
width: 3rem; | |||
height: 3rem; | |||
min-width: 3rem; | |||
border-radius: 50%; | |||
background-color: #FFF; | |||
} | |||
.user { | |||
background-color: blue; | |||
background-size: contain; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-color: green; | |||
box-sizing: border-box; | |||
border: solid 0.125rem #000; | |||
} | |||
.user.Khoi { | |||
background-color: #000; | |||
} | |||
.message > p { | |||
margin: 0; | |||
margin-left: 0.5rem; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
overflow: hidden; | |||
} | |||
.placeholder { | |||
width: 3.5rem; | |||
min-width: 3.5rem; | |||
} | |||
.mn-container.alignright .alignl, | |||
.mn-container.alignleft .alignr { | |||
display: none; | |||
} | |||
.mn-container.alignright { | |||
text-align: right; | |||
} | } | ||
2023年11月7日 (二) 14:36的版本
/** 更改选中颜色 **/
::selection {
color: #2168bf;
background-color: #dee7ff;
}
/** 图片虚化 **/
.blurred-image {
filter: blur(5px);
}
/** 中心页栏框 **/
.content_box {
height: 230px;
width: 80%;
margin: 0 auto;
display: flex;
}
.content_box_column {
flex: 1;
}
.column_header {
border: solid 1px white;
border-radius: 10px;
background-color: #CCEAFC;
margin: 10px;
box-shadow: 3px 3px 6px #F1F9FE;
}
.column_header_text {
padding: 2px 10px;
color: #fff;
font-weight: 600;
text-shadow: 1px 1px 2px rgba(0,0,0,.35);
}
.column_body {
padding: 5px 10px;
height: 160px;
background-image: linear-gradient(180deg,white,#ECF7FC);
overflow-y: hidden;
}
.column_footer {
padding: 1px 10px;
color: ivory;
font-weight: 600;
text-align: right;
text-shadow: 1px 1px 2px rgba(0,0,0,.5);
}
/** 控制台样式 **/
.console {
padding: 5px 5px 5px 15px;
margin: 0 auto;
margin-bottom:10px;
width: 60%;
font-family: monospace;
font-size: 1.1em;
background-color:#002200;
border: 3px solid #55AA55;
color: #77CC77;
}
/** 打开子页面样式 **/
.subpage {
background: white;
margin: 0 auto;
width: 60%;
border: solid 2px #000000;
padding: 1px 15px;
box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
/** QQ聊天 **/
.sl {
position: relative;
background-color: lightgreen;
padding: 0.5rem;
border-radius: 0.5rem;
margin: 0.5rem 0 1rem 0;
}
.message {
max-width: calc(100% - 6.5rem) !important;
}
.sll {
margin-left: 0.5rem;
border-top-left-radius: 0;
}
.slr {
margin-right: 0.5rem;
border-top-right-radius: 0;
text-align: left;
}
.sl > *:nth-child(1) {
margin-top: 0;
}
.sl > *:nth-last-child(1) {
margin-bottom: 0;
}
.sl::before {
content: "";
display: block;
top: 0;
position: absolute;
background-color: lightgreen;
width: 0.5rem;
height: 0.5rem;
}
.sll::before {
left: -0.5rem;
}
.slr::before {
right: -0.5rem;
}
.sl::after {
content: "";
display: block;
top: 0;
position: absolute;
background-color: white;
width: 0.5rem;
height: 0.5rem;
}
.sll::after {
left: -0.5rem;
border-top-right-radius: 0.8rem;
}
.slr::after {
right: -0.5rem;
border-top-left-radius: 0.8rem;
}
.sl-container {
display: flex;
}
.sl-container.alignr {
text-align: right;
justify-content: flex-end;
}
.sl-container.alignr .sl.slr {
margin-left: auto;
}
.user {
width: 3rem;
height: 3rem;
min-width: 3rem;
border-radius: 50%;
background-color: #FFF;
}
.user {
background-color: blue;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-color: green;
box-sizing: border-box;
border: solid 0.125rem #000;
}
.user.Khoi {
background-color: #000;
}
.message > p {
margin: 0;
margin-left: 0.5rem;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.placeholder {
width: 3.5rem;
min-width: 3.5rem;
}
.mn-container.alignright .alignl,
.mn-container.alignleft .alignr {
display: none;
}
.mn-container.alignright {
text-align: right;
}