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

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

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

来自RIA | Wiki
LettuceIce留言 | 贡献
无编辑摘要
LettuceIce留言 | 贡献
无编辑摘要
 
(未显示同一用户的85个中间版本)
第1行: 第1行:
/** 页面边框 **/
.page_border {
border: 0.3125rem solid #eaf7fd;
border-radius: 0.3125rem;
box-shadow: 0 0 0.625rem 0.3125rem #bfe5fb;
margin-bottom: 0.75rem;
}
/** 顶部渐变 **/
.header_gadient {
background: linear-gradient(to top, rgba(255, 255, 255, 0), #87ceeb);
padding-top: 0.625rem;
}
/** 顶部装饰用分割线 **/
.custom_split_line {
margin: 1rem auto;
padding: 0;
border: none;
width: 70%;
height: 0.1875rem;
background-color: white;
}
/** 页面主标题 **/
@media screen and (max-width: 480px) {
.main_header {
font-size:2rem;
color: white;
text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
}
}
@media screen and (min-width: 481px) and (max-width: 768px) {
.main_header {
font-size:3.5rem;
color: white;
text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
}
}
@media screen and (min-width: 769px) {
.main_header {
font-size:5rem;
color: white;
text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
}
}
/** 更改选中颜色 **/
/** 更改选中颜色 **/
::selection {
::selection {
第7行: 第56行:
/** 图片虚化 **/
/** 图片虚化 **/
.blurred-image {
.blurred-image {
   filter: blur(5px);
   filter: blur(0.3125rem);
}
}


/** 中心页栏框 **/
/** 中心页栏框 **/
.content_box {
.content_border {
height: 230px;
display:block;
width: 80%;
}
margin: 0 auto;
 
display: flex;
@media screen and (max-width: 480px) {
.content_box {
width: 100%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
row-gap: 4rem;
}
}
 
@media screen and (min-width: 481px) and (max-width: 768px) {
.content_box {
width: 90%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
row-gap: 4rem;
}
}
 
@media screen and (min-width: 769px) {
.content_box {
width: 80%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
row-gap: 4rem;
}
}
 
.content_box_left {
height: 14.375rem;
min-width: 20rem;
flex-basis:50%;
flex-shrink:0;
flex-grow:1
}
}


.content_box_column {
.content_box_right {
flex: 1;
height: 14.375rem;
min-width: 20rem;
flex-basis:50%;
flex-shrink:0;
flex-grow:1
}
}


.column_header {
.column_header {
border: solid 1px white;
border: solid 0.0625rem white;
border-radius: 10px;
border-radius: 0.625rem;
background-color: #CCEAFC;
background-color: #CCEAFC;
margin: 10px;
margin: 0.625rem;
box-shadow: 3px 3px 6px #F1F9FE;
box-shadow: 0.1875rem 0.1875rem 0.375rem #F1F9FE;
}
}


.column_header_text {
.column_header_text {
padding: 2px 10px;
padding: 0.125rem 0.625rem;
color: #fff;
color: #fff;
font-weight: 600;
font-weight: 600;
text-shadow: 1px 1px 2px rgba(0,0,0,.35);
text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0,0,0,.35);
}
}


.column_body {
.column_body {
padding: 5px 10px;
padding: 0.3125rem 0.625rem;
height: 160px;
height: 10.0rem;
width:auto;
background-image: linear-gradient(180deg,white,#ECF7FC);
background-image: linear-gradient(180deg,white,#ECF7FC);
overflow-y: hidden;
overflow-y: hidden;
第45行: 第134行:


.column_footer {
.column_footer {
padding: 1px 10px;
padding: 0.0625rem 0.625rem;
color: ivory;
color: ivory;
font-weight: 600;
font-weight: 600;
text-align: right;
text-align: right;
text-shadow: 1px 1px 2px rgba(0,0,0,.5);
text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0,0,0,.5);
}
}


/** 控制台样式 **/
/** 控制台样式 **/
.console {
.console {
padding: 5px 5px 5px 15px;  
padding: 0.3125rem 0.3125rem 0.3125rem 0.9375rem;  
margin: 0 auto;  
margin: 0 auto;  
margin-bottom:10px;  
margin-bottom:0.625rem;  
width: 60%;  
width: 60%;  
font-family: monospace;  
font-family: monospace;  
font-size: 1.1em;  
font-size: 1.1rem;  
background-color:#002200;  
background-color:#002200;  
border: 3px solid #55AA55;  
border: 0.1875rem solid #55AA55;  
color: #77CC77;
color: #77CC77;
}
}
第70行: 第159行:
margin: 0 auto;  
margin: 0 auto;  
width: 60%;  
width: 60%;  
border: solid 2px #000000;  
border: solid 0.125rem #000000;  
padding: 1px 15px;  
padding: 0.0625rem 0.9375rem;  
box-shadow: 0 1px 3px rgba(0,0,0,.2);
box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,.2);
}
}


/** QQ聊天 **/
/** QQ聊天 **/
/** 修改自 http://ah-sandbox.wikidot.com/message **/
.chat_header {
.sl {
margin: 0 auto;  
    position: relative;
text-align: center;
    background-color: white;
width: 60%; color:  
    padding: 0.5rem;
white; padding:0.75rem 0.0rem 0.5rem 0.0rem;  
    border-radius: 0.5rem;
background-image:linear-gradient(90deg,#00D7FE,#00A8FF);
    margin: 0.5rem 0 1rem 0;
}
}


.message {
.chat_background {
    max-width: calc(100% - 6.5rem) !important;
background-color: #F1F1F1;
width: 60%; padding-top: 0.75rem;
padding-bottom:0.1875rem;
margin: 0 auto;
}
}


.sll {
.chat_left_box {
    margin-left: 0.5rem;
position: relative;
    border-top-left-radius: 0;
margin-top: 3.125rem;  
margin-bottom: 3.125rem;
}
}


.slr {
.chat_left_bubble_control {
    margin-right: 0.5rem;
position: absolute;
    border-top-right-radius: 0;
left: 3.25rem;  
    text-align: left;
margin-bottom: 0.625rem;  
max-width: 75%;
}
}


.sl > *:nth-child(1) {
.chat_left_bubble {
    margin-top: 0;
border-radius: 0.625rem;
background-color: white;
padding: 0.375rem 0.625rem 0.375rem 0.625rem;
display: inline-block;
}
}


.sl > *:nth-last-child(1) {
.chat_left_text {
    margin-bottom: 0;
color: #000000;
font-size: 0.875rem;  
}
}


.sl::before {
.chat_left_profile {
    content: "";
position: absolute;
    display: block;
left: 0.625rem;
    top: 0;
top: -1.25rem;
    position: absolute;
width: 2.25rem;
    background-color: white;
height: 2.25rem;
    width: 0.5rem;
border-radius: 50%;
    height: 0.5rem;
}
}


.sll::before {
.chat_left_user_box {
    left: -0.5rem;
position: absolute;
top: -1.875rem;
left:3.375rem;
}
}


.slr::before {
.chat_left_user_title {
    right: -0.5rem;
color: white;
background-image: linear-gradient(90deg,#C487FF,#E8A2FC);
padding: 0 0.1875rem 0 0.1875rem;
border-radius: 0.1875rem;
font-size:0.625rem;
display: inline-block;
}
}


.sl::after {
.chat_left_user_name {
    content: "";
color: gray;
    display: block;
font-size: 0.75rem;
    top: 0;
vertical-align: bottom;
    position: absolute;
    background-color: #F1F1F1;
    width: 0.5rem;
    height: 0.5rem;
}
}


.sll::after {
.chat_right_box {
    left: -0.5rem;
position: relative;
    border-top-right-radius: 0.8rem;
margin-top: 3.125rem;  
margin-bottom: 3.125rem;
}
}


.slr::after {
.chat_right_bubble_control {
    right: -0.5rem;
position: absolute;
    border-top-left-radius: 0.8rem;
right: 3.25rem;
margin-bottom: 0.625rem;  
max-width: 75%;
}
}


.sl-container {
.chat_right_bubble {
    display: flex;
border-radius: 0.625rem;
background-color: white;
padding: 0.375rem 0.625rem 0.375rem 0.625rem;
display: inline-block;
}
 
.chat_right_text {
color: #000000;
font-size: 0.875rem;  
}
}


.sl-container.alignr {
.chat_right_profile {
    text-align: right;
position: absolute;
    justify-content: flex-end;
right: 0.625rem;
top: -1.25rem;
width: 2.25rem;
height: 2.25rem;
border-radius: 50%;
}
}


.sl-container.alignr .sl.slr {
.chat_right_user_box {
    margin-left: auto;
position: absolute;
top: -1.875rem;
right: 3.375rem;
}
}


.title {
.chat_right_user_title {
display: inline-block;
color: white;
color: #FFF;  
background-image: linear-gradient(90deg,#C487FF,#E8A2FC);
background-image:linear-gradient(90deg,#C487FF,#E8A2FC);  
padding: 0 0.1875rem 0 0.1875rem;  
border-radius: 0.125rem;  
border-radius: 0.1875rem;  
margin-right: 0.125rem;  
font-size:0.625rem;
padding: 0 0.125rem;
display: inline-block;
text-align: center;
}
}


.user {
.chat_right_user_name {
    width: 3rem;
color: gray;
    height: 3rem;
font-size: 0.75rem;
    min-width: 3rem;
vertical-align: bottom;
    border-radius: 50%;
    background-color: #FFF;
}
}


.user {
/** 海龟汤问答框 **/
     background-color: blue;
.dialogue-container {
     background-size: contain;
     display: flex;
     background-position: center;
    width: 75%;
     background-repeat: no-repeat;
    margin: 0 auto;
     background-color: green;
     margin-top: 1.25rem;
     box-sizing: border-box;
     margin-bottom: 1.25rem;
     border: solid 0.125rem #000;
     flex-direction: row;
     align-items: flex-start;
     justify-content: space-between;
     margin-bottom: 0.625rem;
}
}


.message > p {
.question {
     margin: 0;
     background-color: #e6e6e6;
     margin-left: 0.5rem;
     padding: 0.4375rem;
     white-space: nowrap;
     border-radius: 0.3125rem;
     text-overflow: ellipsis;
     margin-right: 0.625rem;
    overflow: hidden;
}
}


.placeholder {
.answer {
     width: 3.5rem;
     background-color: #f2f2f2;
     min-width: 3.5rem;
    padding: 0.4375rem;
     border-radius: 0.3125rem;
}
}


.mn-container.alignright .alignl,
/** 根据页面改变图片大小 **/
.mn-container.alignleft .alignr {
img.x20width {
     display: none;
     width: 20%;
    height: auto;
    overflow: hidden;
    margin:0;
    padding:0;
}
}


.mn-container.alignright {
img.x98width {
     text-align: right;
     width: 98%;
    height: auto;
    overflow: hidden;
    margin:0;
    padding:0;
}
}

2025年2月26日 (三) 15:34的最新版本

/** 页面边框 **/
.page_border {
	border: 0.3125rem solid #eaf7fd; 
	border-radius: 0.3125rem; 
	box-shadow: 0 0 0.625rem 0.3125rem #bfe5fb;
	margin-bottom: 0.75rem;
}

/** 顶部渐变 **/
.header_gadient {
	background: linear-gradient(to top, rgba(255, 255, 255, 0), #87ceeb); 
	padding-top: 0.625rem;
}

/** 顶部装饰用分割线 **/
.custom_split_line {
	margin: 1rem auto;
	padding: 0; 
	border: none;
	width: 70%;
	height: 0.1875rem;
	background-color: white;
}

/** 页面主标题 **/
@media screen and (max-width: 480px) {
	.main_header {
		font-size:2rem; 
		color: white; 
		text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
	}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
	.main_header {
		font-size:3.5rem; 
		color: white; 
		text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
	}
}

@media screen and (min-width: 769px) {
	.main_header {
		font-size:5rem; 
		color: white; 
		text-shadow: 0 0 0.5rem lightblue, 0 0 0.5rem white;
	}
}

/** 更改选中颜色 **/
::selection {
	color: #2168bf;
	background-color: #dee7ff;
}

/** 图片虚化 **/
.blurred-image {
  filter: blur(0.3125rem);
}

/** 中心页栏框 **/
.content_border {
	display:block;
}

@media screen and (max-width: 480px) {
	.content_box {
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		row-gap: 4rem;
	}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
	.content_box {
		width: 90%;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		row-gap: 4rem;
	}
}

@media screen and (min-width: 769px) {
	.content_box {
		width: 80%;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		row-gap: 4rem;
	}
}

.content_box_left {
	height: 14.375rem;
	min-width: 20rem;
	flex-basis:50%;
	flex-shrink:0;
	flex-grow:1
}

.content_box_right {
	height: 14.375rem;
	min-width: 20rem; 
	flex-basis:50%;
	flex-shrink:0;
	flex-grow:1
}

.column_header {
	border: solid 0.0625rem white;
	border-radius: 0.625rem;
	background-color: #CCEAFC;
	margin: 0.625rem;
	box-shadow: 0.1875rem 0.1875rem 0.375rem #F1F9FE;
}

.column_header_text {
	padding: 0.125rem 0.625rem;
	color: #fff;
	font-weight: 600;
	text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0,0,0,.35);
}

.column_body {
	padding: 0.3125rem 0.625rem;
	height: 10.0rem;
	width:auto;
	background-image: linear-gradient(180deg,white,#ECF7FC);
	overflow-y: hidden;
}

.column_footer {
	padding: 0.0625rem 0.625rem;
	color: ivory;
	font-weight: 600;
	text-align: right;
	text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0,0,0,.5);
}

/** 控制台样式 **/
.console {
	padding: 0.3125rem 0.3125rem 0.3125rem 0.9375rem; 
	margin: 0 auto; 
	margin-bottom:0.625rem; 
	width: 60%; 
	font-family: monospace; 
	font-size: 1.1rem; 
	background-color:#002200; 
	border: 0.1875rem solid #55AA55; 
	color: #77CC77;
}

/** 打开子页面样式 **/
.subpage {
	background: white; 
	margin: 0 auto; 
	width: 60%; 
	border: solid 0.125rem #000000; 
	padding: 0.0625rem 0.9375rem; 
	box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,.2);
}

/** QQ聊天 **/
.chat_header {
	margin: 0 auto; 
	text-align: center; 
	width: 60%; color: 
	white; padding:0.75rem 0.0rem 0.5rem 0.0rem; 
	background-image:linear-gradient(90deg,#00D7FE,#00A8FF);
}

.chat_background {
	background-color: #F1F1F1; 
	width: 60%; padding-top: 0.75rem; 
	padding-bottom:0.1875rem; 
	margin: 0 auto;
}

.chat_left_box {
	position: relative; 
	margin-top: 3.125rem; 
	margin-bottom: 3.125rem;
}

.chat_left_bubble_control {
	position: absolute;
	left: 3.25rem; 
	margin-bottom: 0.625rem; 
	max-width: 75%;
}

.chat_left_bubble {
	border-radius: 0.625rem;
	background-color: white; 
	padding: 0.375rem 0.625rem 0.375rem 0.625rem; 
	display: inline-block;
}

.chat_left_text {
	color: #000000; 
	font-size: 0.875rem; 
}

.chat_left_profile {
	position: absolute;
	left: 0.625rem;
	top: -1.25rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
}

.chat_left_user_box {
	position: absolute;
	top: -1.875rem; 
	left:3.375rem;
}

.chat_left_user_title {
	color: white;
	background-image: linear-gradient(90deg,#C487FF,#E8A2FC); 
	padding: 0 0.1875rem 0 0.1875rem; 
	border-radius: 0.1875rem; 
	font-size:0.625rem; 
	display: inline-block;
}

.chat_left_user_name {
	color: gray;
	font-size: 0.75rem;
	vertical-align: bottom;
}

.chat_right_box {
	position: relative; 
	margin-top: 3.125rem; 
	margin-bottom: 3.125rem;
}

.chat_right_bubble_control {
	position: absolute;
	right: 3.25rem; 
	margin-bottom: 0.625rem; 
	max-width: 75%;
}

.chat_right_bubble {
	border-radius: 0.625rem;
	background-color: white; 
	padding: 0.375rem 0.625rem 0.375rem 0.625rem; 
	display: inline-block;
}

.chat_right_text {
	color: #000000; 
	font-size: 0.875rem; 
}

.chat_right_profile {
	position: absolute;
	right: 0.625rem;
	top: -1.25rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
}

.chat_right_user_box {
	position: absolute;
	top: -1.875rem; 
	right: 3.375rem;
}

.chat_right_user_title {
	color: white;
	background-image: linear-gradient(90deg,#C487FF,#E8A2FC); 
	padding: 0 0.1875rem 0 0.1875rem; 
	border-radius: 0.1875rem; 
	font-size:0.625rem; 
	display: inline-block;
	text-align: center;
}

.chat_right_user_name {
	color: gray;
	font-size: 0.75rem;
	vertical-align: bottom;
}

/** 海龟汤问答框 **/
.dialogue-container {
    display: flex;
    width: 75%;
    margin: 0 auto;
    margin-top: 1.25rem; 	
    margin-bottom: 1.25rem;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.question {
    background-color: #e6e6e6;
    padding: 0.4375rem;
    border-radius: 0.3125rem;
    margin-right: 0.625rem;
}

.answer {
    background-color: #f2f2f2;
    padding: 0.4375rem;
    border-radius: 0.3125rem;
}

/** 根据页面改变图片大小 **/
img.x20width {
    width: 20%;
    height: auto;
    overflow: hidden;
    margin:0;
    padding:0;
}

img.x98width {
    width: 98%;
    height: auto;
    overflow: hidden;
    margin:0;
    padding:0;
}