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
Line 2: Line 2:
float:right;
float:right;
width:340px;
width:340px;
margin:0 0 25px 30px;
margin:0 0 20px 25px;
border-collapse:collapse;
background:#fff;
background:#fff;
border-radius:18px;
border:1px solid #e5e7eb;
border-radius:16px;
overflow:hidden;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
box-shadow:0 8px 20px rgba(0,0,0,.08);
border:1px solid #e8edf4;
font-size:14px;
font-size:14px;
}
}


.ws-header{
.ws-title{
background:linear-gradient(135deg,#163A8C,#2956d7);
background:linear-gradient(135deg,#163A8C,#2d5bdb);
padding:25px;
color:#fff;
padding:18px;
text-align:center;
text-align:center;
color:#fff;
}
}


.ws-header img{
.ws-title img{
width:220px;
display:block;
max-width:100%;
margin:0 auto 15px;
border-radius:12px;
border-radius:12px;
background:#fff;
background:#fff;
padding:6px;
padding:6px;
box-shadow:0 8px 20px rgba(0,0,0,.18);
max-width:100%;
height:auto;
}
}


.ws-name{
.ws-name{
font-size:28px;
font-size:26px;
font-weight:700;
font-weight:700;
margin-top:18px;
line-height:1.2;
margin-top:10px;
}
}


.ws-subtitle{
.ws-subtitle{
margin-top:6px;
font-size:15px;
font-size:15px;
opacity:.9;
opacity:.95;
margin-top:8px;
}
}


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


.ws-row{
.ws-infobox td{
display:flex;
padding:12px 14px;
justify-content:space-between;
border-top:1px solid #edf2f7;
gap:15px;
color:#444;
padding:12px 0;
line-height:1.5;
border-bottom:1px solid #eef2f8;
}
}


.ws-row:last-child{
.ws-infobox tr:first-child th,
border-bottom:none;
.ws-infobox tr:first-child td{
}
border-top:none;
 
.ws-label{
font-weight:700;
color:#163A8C;
width:40%;
}
 
.ws-value{
width:60%;
text-align:right;
color:#444;
word-break:break-word;
}
}


Line 74: Line 71:
width:100%;
width:100%;
margin:20px 0;
margin:20px 0;
}
.ws-row{
flex-direction:column;
}
.ws-label,
.ws-value{
width:100%;
text-align:left;
}
}


}
}

Revision as of 18:02, 23 July 2026

.ws-infobox{
float:right;
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{
background:linear-gradient(135deg,#163A8C,#2d5bdb);
color:#fff;
padding:18px;
text-align:center;
}

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

.ws-name{
font-size:26px;
font-weight:700;
line-height:1.2;
margin-top:10px;
}

.ws-subtitle{
margin-top:6px;
font-size:15px;
opacity:.95;
}

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

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

.ws-infobox tr:first-child th,
.ws-infobox tr:first-child td{
border-top:none;
}

@media (max-width:768px){

.ws-infobox{
float:none;
width:100%;
margin:20px 0;
}

}