「MediaWiki:Common.css」の版間の差分

提供: 作業療法大百科事典OtWiki
41行目: 41行目:
}
}


h5{
h5 {
display:inline-block
position: relative;
position: relative;
padding: .1em .3em .1em 1em;
padding: 0.25em 0;
border: 1px solid #00BCD4;
}
}
h5:after {
h5 {
display:inline-block
position: absolute;
content: "";
top: .5em;
display: block;height:4px;
left: .5em;
background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
content: '';
background: linear-gradient(to right, rgb(230, 90, 90), transparent);
width: 6px;
height: -webkit-calc(100% - 1em);
height: calc(100% - 1em);
background-color: #00BCD4;
border-radius: 4px;
}
}



2021年3月25日 (木) 11:45時点における版

/* ここに記述したCSSはすべての外装に反映されます */

#searchform{
position: -webkit-fixed;
position: fixed;
top: 0;
z-index: 100;
width: 66%;
padding: 0.5em 0 0;
}

#mw-content-text > div > h2 {
	padding: .3em;
	border-bottom: 2px solid #64B5F6;
	box-shadow:0px 4px 0px 0px #0D47A1;
}

h3 {
padding: .3em;
border-bottom: 2px dashed #29B6F6;
}

h4{
	position: relative;
	overflow: hidden;
	padding: .3em;
}
h4::before,
h4::after{
	content: "";
	position: absolute;
	bottom: 0;
}
h4:before{
	border-bottom: 4px solid #F4511E;
	width: 100%;
}
h4:after{
	border-bottom: 4px solid #000000;
	width: 100%;
}

h5 {
	position: relative;
	padding: .1em .3em .1em 1em;
	border: 1px solid #00BCD4;
}
h5 {
	position: absolute;
	top: .5em;
	left: .5em;
	content: '';
	width: 6px;
	height: -webkit-calc(100% - 1em);
	height: calc(100% - 1em);
	background-color: #00BCD4;
	border-radius: 4px;
}

.mw-body h6 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #7db4e6;/*左線*/
}