123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- //
- // Forum Profile
- // --------------------------------------------------
- .page-user-profile .page-header {
- padding-top: @line-height-computed;
- .alert {
- margin-bottom: @line-height-computed;
- }
- h1 {
- margin-bottom: 0px;
- }
-
- .btn-aligned {
- margin-top: 0px;
- }
- }
- // Small displays header
- @media screen and (max-width: @screen-xs-max) {
- .page-user-profile .page-header {
- text-align: center;
- img {
- clear: both;
- margin-top: @line-height-computed;
- width: 100px;
- height: 100px;
- }
- h1 {
- margin-top: @line-height-computed;
- font-size: @font-size-base * 2;
- }
- .header-stats ul {
- text-align: center;
- li {
- display: inline-block;
- white-space: nowrap;
- }
- }
- }
- .page-user-profile .profile-side-avatar {
- display: none;
- }
- }
- // Tablet displays
- @media screen and (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
- .page-user-profile .page-header {
- img, h1 {
- float: left;
- }
- img {
- margin-top: @line-height-computed;
- margin-right: 24px;
- width: 80px;
- height: 80px;
- }
- h1 {
- position: relative;
- top: @line-height-computed * 1.25;
- }
- .header-stats {
- margin-left: 80px + 32px;
- margin-top: @line-height-computed * 1.25;
- margin-bottom: @line-height-computed * -2.25;
- position: relative;
- bottom: @line-height-computed * 2.5;
- }
- }
- }
- // Dekstops header
- @media screen and (min-width: @screen-md-min) {
- .page-user-profile .page-header {
- .user-avatar-sm {
- display: none;
- }
- h1 {
- position: relative;
- top: 5px;
- }
- .header-stats ul {
- li {
- display: block;
- float: left;
- }
- }
- }
- .page-user-profile .profile-side-avatar img {
- width: 100%;
- height: auto;
- margin-top: @line-height-computed * -7;
- margin-bottom: @line-height-computed;
- }
- }
|