Files
ultimatemember/assets/dynamic_css/dynamic_profile.php
T

35 lines
584 B
PHP
Raw Normal View History

2014-12-15 22:38:07 +02:00
<style type="text/css">
<?php
$photosize = str_replace('px','',$photosize);
$photosize_up = ( $photosize / 2 ) + 10;
$meta_padding = ( $photosize + 60 ) . 'px';
2015-01-25 19:59:18 +02:00
if ( $area_max_width ) {
print "
.um-$form_id.um .um-profile-body {
max-width: $area_max_width;
}
";
}
2014-12-15 22:38:07 +02:00
print "
.um-$form_id.um .um-profile-photo a.um-profile-photo-img {
width: ".$photosize."px;
height: ".$photosize."px;
}
";
print "
.um-$form_id.um .um-profile-photo a.um-profile-photo-img {
top: -".$photosize_up."px;
}
";
print "
.um-$form_id.um .um-profile-meta {
padding-left: $meta_padding;
}
";
?>
</style>