Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox person/styles.css: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
.ws-infobox{
/* ===========================
float:right;
  WikiSaga Person Infobox
width:340px;
=========================== */
margin:0 0 20px 25px;
 
border-collapse:collapse;
.ws-person-box{
background:#fff;
    float:right;
border:1px solid #e5e7eb;
    clear:right;
border-radius:16px;
    width:330px;
overflow:hidden;
    margin:0 0 25px 30px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
    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-title{
.ws-person-image{
background:linear-gradient(135deg,#163A8C,#2d5bdb);
    padding:20px;
color:#fff;
    text-align:center;
padding:18px;
    background:#fff;
text-align:center;
}
}


.ws-title img{
.ws-person-image img{
display:block;
    width:240px;
margin:0 auto 15px;
    border-radius:12px;
border-radius:12px;
background:#fff;
padding:6px;
max-width:100%;
height:auto;
}
}


.ws-name{
.ws-person-box th{
font-size:26px;
    width:38%;
font-weight:700;
    background:#f6f8fb;
line-height:1.2;
    color:#163A8C;
margin-top:10px;
    padding:12px;
    text-align:left;
    font-weight:600;
    border-top:1px solid #e8edf4;
}
}


.ws-subtitle{
.ws-person-box td{
margin-top:6px;
    padding:12px;
font-size:15px;
    border-top:1px solid #e8edf4;
opacity:.95;
    vertical-align:top;
}
}


.ws-infobox th{
.ws-person-box a{
width:38%;
    color:#163A8C;
padding:12px 14px;
    text-decoration:none;
text-align:left;
background:#f8fafc;
color:#163A8C;
font-weight:700;
border-top:1px solid #edf2f7;
vertical-align:top;
}
}


.ws-infobox td{
.ws-person-box a:hover{
padding:12px 14px;
    text-decoration:underline;
border-top:1px solid #edf2f7;
color:#444;
line-height:1.5;
}
}


.ws-infobox tr:first-child th,
.mw-parser-output::after{
.ws-infobox tr:first-child td{
    content:"";
border-top:none;
    display:block;
    clear:both;
}
}


@media (max-width:768px){
@media(max-width:900px){


.ws-infobox{
.ws-person-box{
float:none;
    float:none;
width:100%;
    width:100%;
margin:20px 0;
    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;
}

}