Template:WV Profile Card/styles.css
Jump to navigation
Jump to search
.wv-profile-card {
width: 100%;
max-width: 340px;
float: right;
clear: right;
margin: 0 0 1.2em 1.2em;
border: 1px solid #cfcfcf;
background: #f8f8f8;
border-spacing: 0;
font-size: 15px;
line-height: 1.6;
overflow: hidden;
}
.wv-card-title {
text-align: center;
font-size: 32px;
font-weight: 700;
padding: 18px 12px 10px;
background: #f8f8f8;
border: none;
}
.wv-card-image {
text-align: center;
padding: 0 15px 15px;
background: #f8f8f8;
}
.wv-card-image img {
width: 100%;
max-width: 250px;
height: auto;
}
.wv-profile-card th {
width: 34%;
padding: 10px 14px;
text-align: left;
vertical-align: top;
font-weight: 700;
color: #111;
white-space: nowrap;
}
.wv-profile-card td {
width: 66%;
padding: 10px 14px;
vertical-align: top;
color: #222;
}
.wv-profile-card tr {
border-top: 1px solid #e5e5e5;
}
@media screen and (max-width: 768px) {
.wv-profile-card {
float: none;
margin: 0 auto 1em;
max-width: 100%;
}
.wv-card-title {
font-size: 28px;
}
.wv-profile-card th,
.wv-profile-card td {
padding: 8px 10px;
font-size: 14px;
}
}