1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- //
- // User Card Flavor
- // --------------------------------------------------
- // Round avatar corners
- .user-card-small-avatar, .user-card-avatar {
- img {
- border-radius: @border-radius-base;
- }
- }
- // Vertical margins to large avatar
- .user-card-avatar {
- margin: @line-height-computed 0px;
- }
- // Upsize the user name
- .user-card-username {
- a, a:link, a:visited, a:hover, a:focus, a:active {
- color: @text-color;
- font-size: @font-size-large;
- font-weight: bold;
- }
- }
- // User title
- .user-card-title {
- span, a, a:link, a:visited {
- color: @gray;
- }
- a:focus, a:hover, a:active {
- color: @text-color;
- }
- }
- // User stats
- .user-card-stats {
- @media screen and (min-width: @screen-sm-min) {
- margin-top: @line-height-computed;
- }
- ul {
- margin: 0px;
- }
- li {
- display: inline-block;
- margin-right: @padding-base-horizontal;
- color: @gray-light;
- font-size: @font-size-small;
- @media screen and (min-width: @screen-sm-min) {
- margin: 0px @padding-base-horizontal / 2;
- }
- }
- li.user-stat-empty {
- display: none;
- }
- }
- // Divide stats in two on larger screen
- @media screen and (min-width: @screen-sm-min) {
- li.user-stat-divider {
- display: block;
- margin: 0px;
- }
- }
- @media screen and (max-width: @screen-xs-max) {
- li.user-stat-divider {
- display: none;
- }
- }
- // Make stats 60px min height on tablets and up
- @media screen and (min-width: @screen-sm-min) {
- .user-card-stats {
- min-height: 60px;
- }
- }
- // Reduce gutter on small grid
- @media screen and (max-width: @screen-xs-max) {
- .user-card-left {
- padding-right: 0px;
- }
- }
|