Template:剧情模板/styles.css

来自Rotaeno中文维基
< Template:剧情模板
SSF讨论 | 贡献2023年12月31日 (日) 15:18的版本
.storyTable .storyError{
	color:red;
	font-size:150%;
	font-weight:bold;
}
.storyTable .storyWarning{
	background-color:red;
	font-weight:bold;
}
.storyTable tbody tr,
.storyTable tbody tr:hover{
	background-color: unset !important;
}
.storyTable h4{
	padding:0;
	margin:0;
}

/* _Name */
.storySim .LineBreak{height:1.5em;}

.storySim .name{color: #00aaff;}

.storySim .changedName:not(:hover) span:nth-child(1),
.storySim .changedName:hover span:nth-child(2){
  display:inline;
}

.storySim .changedName:not(:hover) span:nth-child(2),
.storySim .changedName:hover span:nth-child(1){
  display:none;
}
.storySim .changedName{border-bottom:1px dashed black;}

/* _Color */
.storySim .Colored{
	text-shadow:0 0 2px black;
}

.storySim .Colored.color_yellow{
	color:#ffcc00 !important;
	text-shadow:unset;
}

.storySim .Colored.color_cyan{
	color:#00dddd !important;
	text-shadow:0 0 0.5px #00aaaa;
}

/* _Size */

/* N+C+D */
.storySim.type_Novel{padding-left: 2em;padding-right: 2em;padding-top: 1em;text-align: left;}
.storySim.type_Novel > .SimChild{padding-bottom: 2em;}
.storySim.type_Novel > .SimChild > div{padding-bottom: 0.4em;}

.storySim.type_Chat > .SimChild,
.storySim.type_Dialogue > .SimChild{
	width:100%;
	padding-top:2em;
	padding-bottom:2em;
}

.storySim.type_Chat > .SimChild th,
.storySim.type_Chat > .SimChild td,
.storySim.type_Dialogue > .SimChild th,
.storySim.type_Dialogue > .SimChild td{
	background-color: unset;
    border: 0;
    vertical-align: text-top;
}
.storySim.type_Chat > .SimChild th.L,
.storySim.type_Chat > .SimChild td.R,
.storySim.type_Dialogue > .SimChild th.L{
	text-align:right;
}

.storySim.type_Chat > .SimChild td.L,
.storySim.type_Chat > .SimChild th.R,
.storySim.type_Dialogue > .SimChild td{
	text-align:left;
}

.storySim.type_Dialogue > .SimChild td.thinking{
	font-style: italic;
    font-size: 90%;
}
.storySim.type_Dialogue > .SimChild td.thinking::before{
	content: "(";
    font-size: 90%;
}
.storySim.type_Dialogue > .SimChild td.thinking::after{
	content: ")";
    font-size: 90%;
}

.storySim.type_CgDialog .thinking{font-style: italic;}
/* CT */
.storySim.type_ChapterTitle .SimChild{
	font-size:200%;
	padding:1em;
	color:#888888;
	text-shadow:1px 1px black;
}

/* FullScreen */
.storySim.type_Fullscreen .SimChild{
	padding:2em;
	font-style:italic;
}
.storySim.type_Fullscreen .SimChild div{
	padding-bottom:1em;
}

/* FullscreenImportant */
.storySim.type_FullscreenImportant > .SimChild{
    font-size: 160%;
    padding: 2em;
    color: #666666;
    text-shadow: 0 0 1px black;
}

.storySim.type_FullscreenImportant > .SimChild::before,
.storySim.type_ChapterTitle > .SimChild::before{
	content: "- ";
}
.storySim.type_FullscreenImportant > .SimChild::after,
.storySim.type_ChapterTitle > .SimChild::after{
	content: " -";
}

/* Extra - Background */
.storyTable .bgSim{
    text-align: left;
    padding: 1em;
}
.storyTable .bgSim .subTitle{
    font-weight:lighter;
}
.storyTable .bgSim .Title{
    font-size: 200%;
    margin-bottom: 0.5em;
}
.storyTable .bgSim .Context{
    margin-bottom: 2em;
}