Template:Infobox person/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* =========================== | ||
WikiSaga Infobox | WikiSaga Person Infobox | ||
=========================== */ | |||
.ws- | .ws-person-box{ | ||
float:right; | float:right; | ||
width: | clear:right; | ||
margin:0 0 | width:330px; | ||
margin:0 0 25px 30px; | |||
border-collapse:collapse; | border-collapse:collapse; | ||
background:# | background:#fff; | ||
border:1px solid # | border:1px solid #d9e1ea; | ||
border-radius: | border-radius:16px; | ||
overflow:hidden; | overflow:hidden; | ||
box-shadow:0 | box-shadow:0 10px 30px rgba(0,0,0,.08); | ||
font-size:14px; | font-size:14px; | ||
} | } | ||
.ws-person-header{ | |||
background:linear-gradient(135deg,#163A8C,#214db3); | |||
.ws- | color:#fff; | ||
background:linear-gradient(135deg,#163A8C,# | padding:18px; | ||
text-align:center; | text-align:center; | ||
font-size:24px; | font-size:24px; | ||
font-weight:700; | font-weight:700; | ||
} | } | ||
.ws- | .ws-person-image{ | ||
padding:20px; | |||
text-align:center; | |||
background:#fff; | |||
} | } | ||
.ws-person-image img{ | |||
width:240px; | |||
.ws- | border-radius:12px; | ||
border- | |||
} | } | ||
.ws- | .ws-person-box th{ | ||
width:38%; | width:38%; | ||
background:# | background:#f6f8fb; | ||
color:#163A8C; | color:#163A8C; | ||
padding:12px; | |||
text-align:left; | |||
font-weight:600; | font-weight:600; | ||
border-top:1px solid #e8edf4; | |||
} | } | ||
.ws- | .ws-person-box td{ | ||
padding:12px | padding:12px; | ||
border-top:1px solid #e8edf4; | |||
vertical-align:top; | vertical-align:top; | ||
} | } | ||
.ws-person-box a{ | |||
color:#163A8C; | |||
.ws- | |||
color:# | |||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
.ws- | .ws-person-box a:hover{ | ||
text-decoration:underline; | text-decoration:underline; | ||
} | } | ||
.mw-parser-output::after{ | |||
content:""; | |||
. | display:block; | ||
clear:both; | |||
} | } | ||
@media(max-width:900px){ | |||
.ws-person-box{ | |||
.ws- | |||
float:none; | float:none; | ||
width:100%; | width:100%; | ||
margin: | margin:0 0 30px 0; | ||
} | } | ||
} | } | ||
Revision as of 18:22, 23 July 2026
/* ===========================
WikiSaga Person Infobox
=========================== */
.ws-person-box{
float:right;
clear:right;
width:330px;
margin:0 0 25px 30px;
border-collapse:collapse;
background:#fff;
border:1px solid #d9e1ea;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
font-size:14px;
}
.ws-person-header{
background:linear-gradient(135deg,#163A8C,#214db3);
color:#fff;
padding:18px;
text-align:center;
font-size:24px;
font-weight:700;
}
.ws-person-image{
padding:20px;
text-align:center;
background:#fff;
}
.ws-person-image img{
width:240px;
border-radius:12px;
}
.ws-person-box th{
width:38%;
background:#f6f8fb;
color:#163A8C;
padding:12px;
text-align:left;
font-weight:600;
border-top:1px solid #e8edf4;
}
.ws-person-box td{
padding:12px;
border-top:1px solid #e8edf4;
vertical-align:top;
}
.ws-person-box a{
color:#163A8C;
text-decoration:none;
}
.ws-person-box a:hover{
text-decoration:underline;
}
.mw-parser-output::after{
content:"";
display:block;
clear:both;
}
@media(max-width:900px){
.ws-person-box{
float:none;
width:100%;
margin:0 0 30px 0;
}
}