main.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /* browse unit */
  2. .bx-persons-unit {
  3. width:169px;
  4. float:left;
  5. }
  6. .bx-persons-unit img {
  7. display:inline;
  8. display:inline-block;
  9. vertical-align:middle;
  10. }
  11. .bx-persons-unit div {
  12. display:inline;
  13. display:inline-block;
  14. width:95px;
  15. padding-left:10px;
  16. text-overflow:ellipsis;
  17. overflow:hidden;
  18. vertical-align:middle;
  19. }
  20. /* view content */
  21. .bx-persons-preview {
  22. max-width:278px;
  23. text-align:center;
  24. }
  25. .bx-persons-preview img {
  26. width:100%;
  27. }
  28. /* profile cover */
  29. .bx-persons-cover {
  30. position:relative;
  31. height:300px;
  32. -moz-box-sizing: border-box;
  33. -ms-box-sizing: border-box;
  34. -webkit-box-sizing: border-box;
  35. box-sizing: border-box;
  36. }
  37. .bx-persons-cover-image {
  38. position:absolute;
  39. width:100%;
  40. height:100%;
  41. background: url(../images/no-picture-cover.png) no-repeat center center;
  42. -webkit-background-size: cover;
  43. -moz-background-size: cover;
  44. -o-background-size: cover;
  45. background-size: cover;
  46. background-color: #333;
  47. }
  48. .bx-persons-cover-info {
  49. position:absolute;
  50. bottom:0;
  51. left:0;
  52. }
  53. .bx-persons-cover-info img,
  54. .bx-persons-cover-info h1 {
  55. display:inline-block;
  56. vertical-align:bottom;
  57. }
  58. .bx-persons-cover-info img {
  59. border:3px solid #fff;
  60. -moz-box-shadow:0px 0px 0px 1px #000;
  61. -webkit-box-shadow:0px 0px 0px 1px #000;
  62. box-shadow:0px 0px 0px 1px #000;
  63. }
  64. .bx-persons-cover-info h1 {
  65. padding:0;
  66. color:#fff;
  67. text-shadow: 0px 0px 2px #000;
  68. }
  69. .bx-persons-popup-wrapper {
  70. position:relative;
  71. }
  72. .bx-persons-popup-btn {
  73. position:absolute;
  74. top:0;
  75. right:0;
  76. }