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: Reverted
No edit summary
Tag: Manual revert
 
(5 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;
background:#fff;
border:1px solid #e5e7eb;
border-radius:16px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,.08);
font-size:14px;
}


.ws-title{
.ws-person-box{
background:linear-gradient(135deg,#163A8C,#2d5bdb);
    float:right;
color:#fff;
    clear:right;
padding:18px;
    width:330px;
text-align:center;
    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-title img{
.ws-person-header{
display:block;
    background:linear-gradient(135deg,#163A8C,#214db3);
margin:0 auto 15px;
    color:#fff;
border-radius:12px;
    padding:18px;
background:#fff;
    text-align:center;
padding:6px;
    font-size:24px;
max-width:100%;
    font-weight:700;
height:auto;
}
}


.ws-name{
.ws-person-image{
font-size:26px;
    padding:20px;
font-weight:700;
    text-align:center;
line-height:1.2;
    background:#fff;
margin-top:10px;
}
}


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


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


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


.ws-infobox tr:first-child th,
.ws-person-box a{
.ws-infobox tr:first-child td{
    color:#163A8C;
border-top:none;
    text-decoration:none;
}
}


@media (max-width:768px){
.ws-person-box a:hover{
 
    text-decoration:underline;
.ws-infobox{
float:none;
width:100%;
margin:20px 0;
}
}


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


.ws-infobox,
@media(max-width:900px){
.ws-infobox *{
box-sizing:border-box;
}
 
.ws-infobox tr{
height:auto !important;
min-height:0 !important;
}


.ws-infobox td,
.ws-person-box{
.ws-infobox th{
    float:none;
padding:10px 14px !important;
    width:100%;
margin:0 !important;
    margin:0 0 30px 0;
height:auto !important;
min-height:0 !important;
line-height:1.4 !important;
vertical-align:top !important;
}
}


.ws-infobox p,
.ws-infobox div{
margin:0 !important;
padding:0 !important;
}
}

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

}