SS同盟手册.css:修订间差异

来自SS唯基
跳到导航 跳到搜索
(修改)
(修改)
第21行: 第21行:
h2 {
h2 {
display:inline-block;
display:inline-block;
border-bottom: none;
border-bottom: 4mm ridge rgba(211, 220, 50, .6);
text-align:center;
text-align:center;
font:700 1.5em/1em sans-serif;
font:700 1.5em/1em sans-serif;
第27行: 第27行:
}
}


h2 .mw-headline {
display: inline-block;
text-shadow: 2.1em -1.1em #FFFFF4
}


h2 .mw-headline::after {
content: '';
display: block;
background: linear-gradient(30deg, #AAAAFF, #00E3E3);
height: 0.7em;
margin: -0.5em 0 0 -0.5em;
text-align: left;
width: 100%;
border-radius: 0.85em;
box-shadow: 0 0 1px 1px #fff;
}
/* 编辑按钮右置、半透明 */
/* 编辑按钮右置、半透明 */
.mw-editsection {
.mw-editsection {

2022年7月19日 (二) 04:14的版本

/* div 边框圆角 */
div {
    position: relative;
    border-radius: 15px;
    flex: 0 0 25%;
}

/*特殊透明框
需使用<div class="card" style="padding-top:1px"> 内容 </div>*/
.card, .cardTalk {
	padding: 1px 1.5em 0.5em;
	background: rgba(255,255,255,0.2);
	border-radius: 10px;
	border: 1px solid #ddd;
	margin: 0.5em auto;
	max-width: 1080px;
	box-shadow: inset 0 0 2px 1px #fff, 0 1px 1px rgba(0,0,0,0.07), 0 1px 3px 1px rgba(61,0,99,0.14);
}

/*标题*/
h2 {
	display:inline-block;
	border-bottom: 4mm ridge rgba(211, 220, 50, .6);
	text-align:center;
	font:700 1.5em/1em sans-serif;
	color:#000000;
}


/* 编辑按钮右置、半透明 */
.mw-editsection {
	float: right;
	font-size: 13px;
	opacity: 0;
	transition: opacity 0.5s;
}
 
.mw-editsection:hover {
	opacity: 1;
}