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
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
.ws-infobox{
/* ===========================
float:right;
  WikiSaga Person Infobox
width:340px;
=========================== */
margin:0 0 25px 30px;
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
border:1px solid #e8edf4;
font-size:14px;
}


.ws-header{
.ws-person-box{
background:linear-gradient(135deg,#163A8C,#2956d7);
    float:right;
padding:25px;
    clear:right;
text-align:center;
    width:330px;
color:#fff;
    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-header img{
.ws-person-header{
width:220px;
    background:linear-gradient(135deg,#163A8C,#214db3);
max-width:100%;
    color:#fff;
border-radius:12px;
    padding:18px;
background:#fff;
    text-align:center;
padding:6px;
    font-size:24px;
box-shadow:0 8px 20px rgba(0,0,0,.18);
    font-weight:700;
}
}


.ws-name{
.ws-person-image{
font-size:28px;
    padding:20px;
font-weight:700;
    text-align:center;
margin-top:18px;
    background:#fff;
}
}


.ws-subtitle{
.ws-person-image img{
font-size:15px;
    width:240px;
opacity:.9;
    border-radius:12px;
margin-top:8px;
}
}


.ws-body{
.ws-person-box th{
padding:18px;
    width:38%;
    background:#f6f8fb;
    color:#163A8C;
    padding:12px;
    text-align:left;
    font-weight:600;
    border-top:1px solid #e8edf4;
}
}


.ws-row{
.ws-person-box td{
display:flex;
    padding:12px;
justify-content:space-between;
    border-top:1px solid #e8edf4;
gap:15px;
    vertical-align:top;
padding:12px 0;
border-bottom:1px solid #eef2f8;
}
}


.ws-row:last-child{
.ws-person-box a{
border-bottom:none;
    color:#163A8C;
    text-decoration:none;
}
}


.ws-label{
.ws-person-box a:hover{
font-weight:700;
    text-decoration:underline;
color:#163A8C;
width:40%;
}
}


.ws-value{
.mw-parser-output::after{
width:60%;
    content:"";
text-align:right;
    display:block;
color:#444;
    clear:both;
word-break:break-word;
}
}


@media (max-width:768px){
@media(max-width:900px){
 
.ws-infobox{
float:none;
width:100%;
margin:20px 0;
}
 
.ws-row{
flex-direction:column;
}


.ws-label,
.ws-person-box{
.ws-value{
    float:none;
width:100%;
    width:100%;
text-align:left;
    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;
}

}