Template:Infobox person/styles.css
Template page
More actions
/* ==========================================
WikiSaga Infobox Person
Version 1.0
========================================== */
.ws-infobox{
float:right;
width:340px;
margin:0 0 24px 24px;
border-collapse:collapse;
background:#ffffff;
border:1px solid #dbe3ee;
border-radius:14px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,.08);
font-size:14px;
}
/* Header */
.ws-title{
background:linear-gradient(135deg,#163A8C,#2956d7);
text-align:center;
padding:18px;
color:#ffffff;
}
.ws-title img{
display:block;
margin:0 auto 12px;
border-radius:10px;
max-width:100%;
height:auto;
background:#ffffff;
padding:4px;
}
.ws-name{
font-size:24px;
font-weight:700;
color:#ffffff;
line-height:1.3;
margin-top:8px;
}
.ws-subtitle{
font-size:15px;
color:#dce7ff;
margin-top:6px;
}
/* Table */
.ws-infobox tr{
border-bottom:1px solid #edf2f7;
}
.ws-infobox tr:last-child{
border-bottom:none;
}
.ws-infobox th{
width:38%;
background:#f8fafc;
color:#163A8C;
font-weight:600;
text-align:left;
vertical-align:top;
padding:12px 14px;
}
.ws-infobox td{
padding:12px 14px;
color:#333333;
line-height:1.6;
vertical-align:top;
}
/* Links */
.ws-infobox a{
color:#2956d7;
text-decoration:none;
}
.ws-infobox a:hover{
text-decoration:underline;
}
/* Zebra rows */
.ws-infobox tr:nth-child(even){
background:#fcfdff;
}
/* Mobile */
@media only screen and (max-width:768px){
.ws-infobox{
float:none;
width:100%;
margin:20px 0;
}
.ws-infobox th,
.ws-infobox td{
display:block;
width:100%;
}
.ws-infobox th{
padding-bottom:4px;
background:#f4f7fb;
}
.ws-infobox td{
padding-top:0;
}
}
/* Clear float after article */
.mw-parser-output::after{
content:"";
display:block;
clear:both;
}