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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ==========================================
/* ===========================
   WikiSaga Infobox Person
   WikiSaga Person Infobox
  Version 1.0
=========================== */
========================================== */


.ws-infobox{
.ws-person-box{
     float:right;
     float:right;
     width:340px;
    clear:right;
     margin:0 0 24px 24px;
     width:330px;
     margin:0 0 25px 30px;
     border-collapse:collapse;
     border-collapse:collapse;
     background:#ffffff;
     background:#fff;
     border:1px solid #dbe3ee;
     border:1px solid #d9e1ea;
     border-radius:14px;
     border-radius:16px;
     overflow:hidden;
     overflow:hidden;
     box-shadow:0 6px 18px rgba(0,0,0,.08);
     box-shadow:0 10px 30px rgba(0,0,0,.08);
     font-size:14px;
     font-size:14px;
}
}


/* Header */
.ws-person-header{
 
     background:linear-gradient(135deg,#163A8C,#214db3);
.ws-title{
    color:#fff;
     background:linear-gradient(135deg,#163A8C,#2956d7);
    padding:18px;
     text-align:center;
     text-align:center;
    padding:18px;
    color:#ffffff;
}
.ws-title img{
    display:block;
    margin:0 auto 12px;
    border-radius:10px;
    max-width:100%;
    height:auto;
    background:#ffffff;
    padding:4px;
}
.ws-name{
     font-size:24px;
     font-size:24px;
     font-weight:700;
     font-weight:700;
    color:#ffffff;
    line-height:1.3;
    margin-top:8px;
}
}


.ws-subtitle{
.ws-person-image{
     font-size:15px;
     padding:20px;
     color:#dce7ff;
     text-align:center;
     margin-top:6px;
     background:#fff;
}
}


/* Table */
.ws-person-image img{
 
    width:240px;
.ws-infobox tr{
     border-radius:12px;
     border-bottom:1px solid #edf2f7;
}
}


.ws-infobox tr:last-child{
.ws-person-box th{
    border-bottom:none;
}
 
.ws-infobox th{
     width:38%;
     width:38%;
     background:#f8fafc;
     background:#f6f8fb;
     color:#163A8C;
     color:#163A8C;
    padding:12px;
    text-align:left;
     font-weight:600;
     font-weight:600;
     text-align:left;
     border-top:1px solid #e8edf4;
    vertical-align:top;
    padding:12px 14px;
}
}


.ws-infobox td{
.ws-person-box td{
     padding:12px 14px;
     padding:12px;
     color:#333333;
     border-top:1px solid #e8edf4;
    line-height:1.6;
     vertical-align:top;
     vertical-align:top;
}
}


/* Links */
.ws-person-box a{
 
     color:#163A8C;
.ws-infobox a{
     color:#2956d7;
     text-decoration:none;
     text-decoration:none;
}
}


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


/* Zebra rows */
.mw-parser-output::after{
 
     content:"";
.ws-infobox tr:nth-child(even){
    display:block;
     background:#fcfdff;
    clear:both;
}
}


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


@media only screen and (max-width:768px){
.ws-person-box{
 
.ws-infobox{
     float:none;
     float:none;
     width:100%;
     width:100%;
     margin:20px 0;
     margin:0 0 30px 0;
}
 
.ws-infobox th,
.ws-infobox td{
    display:block;
    width:100%;
}
 
.ws-infobox th{
    padding-bottom:4px;
    background:#f4f7fb;
}
}


.ws-infobox td{
    padding-top:0;
}
}
/* Clear float after article */
.mw-parser-output::after{
    content:"";
    display:block;
    clear:both;
}
}

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;
}

}