| .profile-container { | |
| position: relative; | |
| width: 850px; | |
| margin: 0 auto; | |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", | |
| "Lucida Grande"; | |
| } | |
| .cover-photo { | |
| background-image: image_url("cover.jpg"); | |
| background-size: cover; | |
| background-position: center center; | |
| background-origin: border-box; | |
| height: 313px; | |
| border: 1px solid rgba(0, 0, 0, .25); | |
| border-top: 0; | |
| color: white; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-end; | |
| position: relative; | |
| } | |
| .profile-name { | |
| margin-left: 201px; | |
| padding-bottom: 10px; | |
| font-size: 24px; | |
| text-shadow: 0 0 3px rgba(0,0,0,.8) | |
| } | |
| .profile-photo-container { | |
| position: relative; | |
| bottom: -66px; | |
| left: 16px; | |
| padding: 1px; | |
| background-color: rgba(0, 0, 0, 0.15); | |
| display: inline-block; | |
| border-radius: 3px; | |
| height: 168px; | |
| } | |
| .profile-picture { | |
| background-image: image_url("profile.png"); | |
| background-size: cover; | |
| background-position: center center; | |
| height: 160px; | |
| width: 160px; | |
| border: 4px solid white; | |
| border-radius: 2px; | |
| } | |
| .photo-overlay { | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| height: 100%; | |
| width: 100%; | |
| opacity: 0; | |
| transition: .3s ease; | |
| background-color: rgba(128, 128, 128, .8); | |
| border-radius: 2px; | |
| i { | |
| color: white; | |
| font-size: 80px; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| -ms-transform: translate(-50%, -50%); | |
| text-align: center; | |
| } | |
| input { | |
| display: none; | |
| } | |
| &:hover { | |
| cursor: pointer; | |
| opacity: 1; | |
| } | |
| } | |
| .profile-navbar { | |
| width: 647px; | |
| height: 43px; | |
| padding-left: 201px; | |
| font-size: 14px; | |
| font-weight: bold; | |
| background-color: white; | |
| border: 1px solid #d3d6db; | |
| border-top: 0; | |
| border-radius: 0 0 3px 3px; | |
| ul { | |
| border-left: 1px solid #e9eaed; | |
| display: flex; | |
| justify-content: flex-start; | |
| } | |
| li { | |
| border-right: 1px solid #e9eaed; | |
| } | |
| a { | |
| text-decoration: none; | |
| color: #365899; | |
| line-height: 43px; | |
| padding: 13px 20px; | |
| &:hover { | |
| background: #f5f6f7; | |
| } | |
| } | |
| } | |
| .cover-content-right { | |
| margin: 10px; | |
| button { | |
| background-color: #f6f7f9; | |
| color: #4b4f56; | |
| padding: 0 10px; | |
| border: 1px solid rgba(0, 0, 0, .4); | |
| border-radius: 2px; | |
| cursor: pointer; | |
| font-size: 12px; | |
| font-weight: bold; | |
| line-height: 26px; | |
| &:last-of-type { | |
| margin-left: 10px; | |
| } | |
| } | |
| } | |
| .profile-content { | |
| margin-top: 10px; | |
| display: flex; | |
| align-items: flex-start; | |
| } | |
| .content-sidebar { | |
| margin-right: 10px; | |
| width: 340px; | |
| } | |
| .profile-intro, .sidebar-friends { | |
| border: 1px solid #dddfe2; | |
| border-radius: 3px; | |
| padding: 12px; | |
| margin-bottom: 10px; | |
| color: #1d2129; | |
| background-color: white; | |
| } | |
| .intro-header { | |
| font-size: 16px; | |
| padding-bottom: 5px; | |
| border-bottom: 1px solid #ebedf0; | |
| } | |
| .intro-content { | |
| font-size: 14px; | |
| margin-top: 12px; | |
| i { | |
| padding-right: 5px; | |
| } | |
| } | |
| .content-main { | |
| } | |