Template:Infobox person/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
float:right; | float:right; | ||
width:340px; | width:340px; | ||
margin:0 0 25px | margin:0 0 20px 25px; | ||
border-collapse:collapse; | |||
background:#fff; | background:#fff; | ||
border-radius: | border:1px solid #e5e7eb; | ||
border-radius:16px; | |||
overflow:hidden; | overflow:hidden; | ||
box-shadow:0 | box-shadow:0 8px 20px rgba(0,0,0,.08); | ||
font-size:14px; | font-size:14px; | ||
} | } | ||
.ws- | .ws-title{ | ||
background:linear-gradient(135deg,#163A8C,# | background:linear-gradient(135deg,#163A8C,#2d5bdb); | ||
padding: | color:#fff; | ||
padding:18px; | |||
text-align:center; | text-align:center; | ||
} | } | ||
.ws- | .ws-title img{ | ||
display:block; | |||
margin:0 auto 15px; | |||
border-radius:12px; | border-radius:12px; | ||
background:#fff; | background:#fff; | ||
padding:6px; | padding:6px; | ||
max-width:100%; | |||
height:auto; | |||
} | } | ||
.ws-name{ | .ws-name{ | ||
font-size: | font-size:26px; | ||
font-weight:700; | font-weight:700; | ||
margin-top: | line-height:1.2; | ||
margin-top:10px; | |||
} | } | ||
.ws-subtitle{ | .ws-subtitle{ | ||
margin-top:6px; | |||
font-size:15px; | font-size:15px; | ||
opacity:. | opacity:.95; | ||
} | } | ||
.ws- | .ws-infobox th{ | ||
padding: | width:38%; | ||
padding:12px 14px; | |||
text-align:left; | |||
background:#f8fafc; | |||
color:#163A8C; | |||
font-weight:700; | |||
border-top:1px solid #edf2f7; | |||
vertical-align:top; | |||
} | } | ||
.ws- | .ws-infobox td{ | ||
padding:12px 14px; | |||
border-top:1px solid #edf2f7; | |||
color:#444; | |||
line-height:1.5; | |||
} | } | ||
.ws- | .ws-infobox tr:first-child th, | ||
.ws-infobox tr:first-child td{ | |||
border-top:none; | |||
.ws- | |||
} | } | ||
| Line 74: | Line 71: | ||
width:100%; | width:100%; | ||
margin:20px 0; | margin:20px 0; | ||
} | } | ||
} | } | ||
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;
}
}