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: Reverted
Line 1: Line 1:
/* ===========================
/* ===================================================
   WikiSaga Person Infobox
   WikiSaga Premium Person Infobox
=========================== */
=================================================== */


.ws-person-box{
.ws-person-box{
     float:right;
     float:right;
     clear:right;
     clear:right;
     width:330px;
     width:340px;
     margin:0 0 25px 30px;
     margin:0 0 28px 32px;
     border-collapse:collapse;
     border-collapse:separate;
    border-spacing:0;
     background:#fff;
     background:#fff;
     border:1px solid #d9e1ea;
     border:1px solid #dce5f2;
     border-radius:16px;
     border-radius:18px;
     overflow:hidden;
     overflow:hidden;
     box-shadow:0 10px 30px rgba(0,0,0,.08);
     box-shadow:0 12px 35px rgba(15,40,90,.12);
     font-size:14px;
     font-size:15px;
}
}
/* Header */


.ws-person-header{
.ws-person-header{
     background:linear-gradient(135deg,#163A8C,#214db3);
     background:linear-gradient(135deg,#163A8C,#315fd3);
     color:#fff;
     color:#fff !important;
     padding:18px;
     font-size:28px;
    font-weight:700;
     text-align:center;
     text-align:center;
     font-size:24px;
     padding:22px;
    font-weight:700;
}
}
/* Image */


.ws-person-image{
.ws-person-image{
     padding:20px;
    background:#fff;
     padding:22px;
     text-align:center;
     text-align:center;
    background:#fff;
}
}


.ws-person-image img{
.ws-person-image img{
     width:240px;
     width:220px;
     border-radius:12px;
     border-radius:14px;
    border:4px solid #eef3ff;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}
}
/* Labels */


.ws-person-box th{
.ws-person-box th{
     width:38%;
     width:36%;
     background:#f6f8fb;
     background:#f5f8fd;
     color:#163A8C;
     color:#163A8C;
     padding:12px;
    font-weight:700;
     padding:14px;
    border-top:1px solid #e6edf8;
     text-align:left;
     text-align:left;
    font-weight:600;
    border-top:1px solid #e8edf4;
}
}
/* Values */


.ws-person-box td{
.ws-person-box td{
     padding:12px;
    background:#fff;
     border-top:1px solid #e8edf4;
     padding:14px;
     vertical-align:top;
     border-top:1px solid #e6edf8;
     color:#333;
    line-height:1.7;
}
}
/* Links */


.ws-person-box a{
.ws-person-box a{
     color:#163A8C;
     color:#1f5fd8;
     text-decoration:none;
     text-decoration:none;
    font-weight:600;
}
}


Line 62: Line 78:
}
}


.mw-parser-output::after{
/* Remove ugly Citizen table borders */
     content:"";
 
    display:block;
.ws-person-box tr:first-child th{
    clear:both;
     border-top:none;
}
}


@media(max-width:900px){
/* Mobile */
 
@media (max-width:900px){


.ws-person-box{
.ws-person-box{
     float:none;
     float:none;
     width:100%;
     width:100%;
     margin:0 0 30px 0;
     margin:25px 0;
}
}


}
/* Clear float */
.mw-parser-output::after{
    content:"";
    display:block;
    clear:both;
}
}

Revision as of 18:24, 23 July 2026

/* ===================================================
   WikiSaga Premium Person Infobox
=================================================== */

.ws-person-box{
    float:right;
    clear:right;
    width:340px;
    margin:0 0 28px 32px;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border:1px solid #dce5f2;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(15,40,90,.12);
    font-size:15px;
}

/* Header */

.ws-person-header{
    background:linear-gradient(135deg,#163A8C,#315fd3);
    color:#fff !important;
    font-size:28px;
    font-weight:700;
    text-align:center;
    padding:22px;
}

/* Image */

.ws-person-image{
    background:#fff;
    padding:22px;
    text-align:center;
}

.ws-person-image img{
    width:220px;
    border-radius:14px;
    border:4px solid #eef3ff;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}

/* Labels */

.ws-person-box th{
    width:36%;
    background:#f5f8fd;
    color:#163A8C;
    font-weight:700;
    padding:14px;
    border-top:1px solid #e6edf8;
    text-align:left;
}

/* Values */

.ws-person-box td{
    background:#fff;
    padding:14px;
    border-top:1px solid #e6edf8;
    color:#333;
    line-height:1.7;
}

/* Links */

.ws-person-box a{
    color:#1f5fd8;
    text-decoration:none;
    font-weight:600;
}

.ws-person-box a:hover{
    text-decoration:underline;
}

/* Remove ugly Citizen table borders */

.ws-person-box tr:first-child th{
    border-top:none;
}

/* Mobile */

@media (max-width:900px){

.ws-person-box{
    float:none;
    width:100%;
    margin:25px 0;
}

}

/* Clear float */

.mw-parser-output::after{
    content:"";
    display:block;
    clear:both;
}