Template:Infobox person/styles.css: Difference between revisions
Template page
More actions
Created page with ".ws-infobox{ width:320px; float:right; margin:0 0 20px 25px; border:1px solid #dfe6ef; border-radius:12px; background:#fff; border-collapse:collapse; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.08); font-size:14px; } .ws-infobox-title{ background:#163A8C; color:#fff; font-size:22px; padding:15px; text-align:center; } .ws-infobox th{ width:38%; background:#f6f8fb; padding:10px; text-align:left; font-weight:600; border-top:1px solid #e8edf5; } .ws-infobox td{ pad..." |
No edit summary Tag: Manual revert |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.ws- | /* =========================== | ||
WikiSaga Person Infobox | |||
=========================== */ | |||
margin:0 0 | |||
border: | .ws-person-box{ | ||
float:right; | |||
clear:right; | |||
border- | width:330px; | ||
overflow:hidden; | margin:0 0 25px 30px; | ||
box-shadow:0 | border-collapse:collapse; | ||
font-size:14px; | 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- | .ws-person-image img{ | ||
width:240px; | |||
border-radius:12px; | |||
} | } | ||
.ws- | .ws-person-box th{ | ||
width:38%; | width:38%; | ||
background:#f6f8fb; | background:#f6f8fb; | ||
padding: | color:#163A8C; | ||
text-align:left; | padding:12px; | ||
font-weight:600; | text-align:left; | ||
border-top:1px solid # | font-weight:600; | ||
border-top:1px solid #e8edf4; | |||
} | } | ||
.ws- | .ws-person-box td{ | ||
padding: | padding:12px; | ||
border-top:1px solid # | border-top:1px solid #e8edf4; | ||
vertical-align:top; | |||
} | } | ||
.ws- | .ws-person-box a{ | ||
color:#163A8C; | |||
text- | text-decoration:none; | ||
} | } | ||
.ws- | .ws-person-box a:hover{ | ||
text-decoration:underline; | |||
} | } | ||
. | .mw-parser-output::after{ | ||
content:""; | |||
display:block; | |||
clear:both; | |||
} | } | ||
@media(max-width: | @media(max-width:900px){ | ||
.ws- | .ws-person-box{ | ||
float:none; | float:none; | ||
width:100%; | width:100%; | ||
margin: | margin:0 0 30px 0; | ||
} | } | ||
} | } | ||
Latest revision as of 18:25, 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;
}
}