diff --git a/app/assets/stylesheets/app.layout.scss b/app/assets/stylesheets/app.layout.scss index d209ca3a6..9fd540210 100644 --- a/app/assets/stylesheets/app.layout.scss +++ b/app/assets/stylesheets/app.layout.scss @@ -491,4 +491,48 @@ body.container{ border: 1px solid $border-color; } } +} + +.profile-top { + background-size: cover !important; + + .profile-top-head { + margin: 0 15px 0 15px; + padding: 30px 0 30px 0; + border-bottom: 1px solid $border-color; + } + + .profile-top-corpus { + padding-top: 15px; + margin: 0 !important; + height: 190px; + overflow-y: visible; + + .avatar img { + border: 9px solid #fff; + background-color: #fff; + box-shadow: 1px 2px 2px 0 #1f1f1f; + margin-top: 10px; + } + + .profile-top-social { + border-left: 1px solid $border-color; + height: 100%; + top: -15px; + + .social-links { + span { + border: 1px solid #fff; + width: 30px; + height: 30px; + border-radius: 50%; + display: inline-block; + text-align: center; + background-color: #fff; + + i { vertical-align: middle; } + } + } + } + } } \ No newline at end of file diff --git a/app/assets/stylesheets/app.utilities.scss b/app/assets/stylesheets/app.utilities.scss index d3e25d512..ddf73f9f5 100644 --- a/app/assets/stylesheets/app.utilities.scss +++ b/app/assets/stylesheets/app.utilities.scss @@ -82,6 +82,7 @@ p, .widget p { .font-bold{font-weight: 700;} .font-ebold{font-weight: 900;} +.text-xl{font-size: $font-size-xl;} .text-lg{font-size: $font-size-lg;} .text-md{font-size: $font-size-md;} .text-sm{font-size: $font-size-sm;} @@ -257,12 +258,19 @@ p, .widget p { .thumb-38 { width: 38px !important; height: 38px; } .thumb-50 { width: 50px !important; height: 50px; } .thumb-128 { width: 128px !important; height: 128px; } +.thumb-140 { width: 140px !important; height: 140px; } .thumb-128-wrapper { img { width: 128px !important; height: 128px; @extend .img-circle; } } +.thumb-140-wrapper { + img { + width: 140px !important; height: 140px; + @extend .img-circle; + } +} .thumb-lg{width: 128px;display: inline-block} .thumb-md{width: 64px;display: inline-block} @@ -292,10 +300,7 @@ p, .widget p { width: auto; vertical-align: sub; } -.contrast-250 { - -webkit-filter: contrast(250%); - filter: contrast(250%); -} +.contrast-250 { -webkit-filter: contrast(250%); filter: contrast(250%); } .clear{display:block;overflow: hidden;} .scroll-x, .scroll-y{overflow:hidden;-webkit-overflow-scrolling:touch;} diff --git a/app/assets/stylesheets/bootstrap_and_overrides.scss b/app/assets/stylesheets/bootstrap_and_overrides.scss index 6dda4f54d..4eb38226e 100644 --- a/app/assets/stylesheets/bootstrap_and_overrides.scss +++ b/app/assets/stylesheets/bootstrap_and_overrides.scss @@ -95,6 +95,7 @@ $font-size-medium: ceil(($font-size-base * 0.875)) !default; // ~14px $font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px //add sleede +$font-size-xl: rem-calc(32); $font-size-lg: rem-calc(20); $font-size-md: rem-calc(18); $font-size-sm: rem-calc(14); diff --git a/app/assets/templates/shared/publicProfile.html.erb b/app/assets/templates/shared/publicProfile.html.erb index 0ed2ec05f..a6a8f86fb 100644 --- a/app/assets/templates/shared/publicProfile.html.erb +++ b/app/assets/templates/shared/publicProfile.html.erb @@ -1,4 +1,34 @@