打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

RIA Wiki 已更新到 1.41!部分 CSS 在新版本下可能有不同的表现,请编辑者注意检查和修改。 目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

用户:LettuceIce/styles.css:修订间差异

来自RIA | Wiki
LettuceIce留言 | 贡献
无编辑摘要
LettuceIce留言 | 贡献
无编辑摘要
第76行: 第76行:


/** QQ聊天 **/
/** QQ聊天 **/
/** 修改自 http://ah-sandbox.wikidot.com/message **/
.chat_left_box {
.sl {
position: relative;  
    position: relative;
margin-top: 50px;  
    background-color: white;
margin-bottom: 50px;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0 1rem 0;
    width: auto;
}
}


.message {
.chat_left_bubble_control {
    max-width: calc(100% - 6.5rem) !important;
position: absolute;
left: 52px;
margin-bottom: 10px;
max-width: 75%;
}
}


.sll {
.chat_left_bubble {
    margin-left: 0.5rem;
border-radius: 10px;
    border-top-left-radius: 0;
background-color: white;
padding: 6px 10px 6px 10px;
display: inline-block;
}
}


.slr {
.chat_text {
    margin-right: 0.5rem;
color: #000000;  
    border-top-right-radius: 0;
font-size: 14px;  
    text-align: left;
}
}


.sl > *:nth-child(1) {
.chat_profile {
    margin-top: 0;
position: absolute;
left: 10px;
top: -20px;
width: 36px;
height: 36px;
border-radius: 50%;
}
}


.sl > *:nth-last-child(1) {
.chat_user_box {
    margin-bottom: 0;
position: absolute;
top: -30px;
left:54px;
}
}


.sl::before {
.chat_user_title {
    content: "";
color: white;
    display: block;
background-image: linear-gradient(90deg,#C487FF,#E8A2FC);  
    top: 0;
padding: 0 3px 0 3px;  
    position: absolute;
border-radius: 3px;  
    background-color: white;
font-size:10px;  
    width: 0.5rem;
display: inline-block;
    height: 0.5rem;
}
}


.sll::before {
.chat_user_name {
    left: -0.5rem;
color: gray;
}
font-size: 12px;
 
vertical-align: bottom;
.slr::before {
    right: -0.5rem;
}
 
.sl::after {
    content: "";
    display: block;
    top: 0;
    position: absolute;
    background-color: #F1F1F1;
    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;
}
 
.message > p {
    margin: 0;
    margin-left: 0.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
 
.title {
display: inline-block;
color: #FFF;  
background-image:linear-gradient(90deg,#C487FF,#E8A2FC);
border-radius: 0.125rem;
margin-right: 0.125rem;
padding: 0 0.125rem;
vertical-align: middle;
height: 1rem;
}
 
.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日 (二) 16:28的版本

/** 更改选中颜色 **/
::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聊天 **/
.chat_left_box {
	position: relative; 
	margin-top: 50px; 
	margin-bottom: 50px;
}

.chat_left_bubble_control {
	position: absolute;
	left: 52px; 
	margin-bottom: 10px; 
	max-width: 75%;
}

.chat_left_bubble {
	border-radius: 10px;
	background-color: white; 
	padding: 6px 10px 6px 10px; 
	display: inline-block;
}

.chat_text {
	color: #000000; 
	font-size: 14px; 
}

.chat_profile {
	position: absolute;
	left: 10px;
	top: -20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.chat_user_box {
	position: absolute;
	top: -30px; 
	left:54px;
}

.chat_user_title {
	color: white;
	background-image: linear-gradient(90deg,#C487FF,#E8A2FC); 
	padding: 0 3px 0 3px; 
	border-radius: 3px; 
	font-size:10px; 
	display: inline-block;
}

.chat_user_name {
	color: gray;
	font-size: 12px;
	vertical-align: bottom;
}