Advertisement
RyanJEarnshaw

Untitled

Sep 27th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Baloo+Bhaina');
  2.  
  3.  
  4. #persontable, #teamstable {
  5. transition: 0.4s ease;
  6. width: 45%;
  7. height: auto;
  8. text-align: center;
  9. float: middle;
  10. margin: 2% 2% 0;
  11. display:inline-block;
  12. vertical-align:top;
  13. border: 1px solid #FF4646;
  14. background-color: #FF4646;
  15. }
  16.  
  17. .item {
  18. transition: 0.4s ease;
  19. width: 100%;
  20. display: flex;
  21. float: left;
  22. border: 1px solid #FF4646;
  23. background-color: rgba(255,100,100,1);
  24. }
  25.  
  26. .topitem{
  27. background-image: linear-gradient(135deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  28. linear-gradient(-135deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  29. linear-gradient(45deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  30. linear-gradient(-45deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  31. linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%), linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  32. background-position: top center, top center, bottom center, bottom center, top center, bottom center;
  33. background-size: 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 100% 1rem, 100% 1rem;
  34. background-repeat: repeat-x;
  35. transition: all .25s ease-in-out;
  36. }
  37. .topitem{
  38. background-color: rgba(255,1,1,0.4);
  39. }
  40. /*Top Image*/
  41. .topitem .image .circle {
  42. margin: 10px 0px;
  43. width: 15vh;
  44. height: 15vh;
  45. }
  46. .image {
  47. margin: 5px 0px;
  48. }
  49.  
  50. .circle {
  51. width: 7vh;
  52. height: 7vh;
  53. border-radius: 50%;
  54. color: #fff;
  55. text-align: center;
  56. background-color: #989a8f;;
  57. overflow: hidden;
  58. margin: auto;
  59. }
  60. .circle img {
  61. width: auto;
  62. height: inherit;
  63. color: #fff;
  64. text-align: center;
  65. background-color: #989a8f;
  66. }
  67.  
  68. .name, .image, .points {
  69. vertical-align:middle;
  70. float: left;
  71. width: 32%;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. }
  76. .position, .trophy {
  77. overflow: hidden;
  78. vertical-align:middle;
  79. float: left;
  80. width: 4%;
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. background-color: #FF4646;
  85. }
  86.  
  87. .topitem .trophy {
  88. -webkit-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  89. -moz-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  90. box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  91. }
  92. .topitem .position {
  93. -webkit-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  94. -moz-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  95. box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  96. }
  97. .item:hover {
  98. background-color: #FFF842;
  99. font-weight: bold;
  100. box-shadow: #7F7C21 -1px 1px, #7F7C21 -2px 2px, #7F7C21 -3px 3px, #7F7C21 -4px 4px, #7F7C21 -5px 5px, #7F7C21 -6px 6px;
  101. transform: translate3d(6px, -6px, 0);
  102. transition-delay: 0s;
  103. transition-duration: 0.4s;
  104. transition-property: all;
  105. transition-timing-function: line;
  106. }
  107.  
  108. .topcontainer {
  109. display: block;
  110. transition: 0.4s ease;
  111. width: 100%;
  112. height: 30vh;
  113. }
  114. .topcontainer .image {
  115. vertical-align:middle;
  116. float: left;
  117. width: 100%;
  118. }
  119.  
  120. .topcontainer .name{
  121. font-size: 10vh;
  122. vertical-align:middle;
  123. float: middle;
  124. width: 100%;
  125. }
  126. .trophy .trophyimage {
  127. display: flex;
  128. display: inline-block;
  129. }
  130. .topitem .position, .topitem .trophy {
  131. width: 30%;
  132. }
  133. .trophyimage img, .trophyimage {
  134. vertical-align:middle;
  135. float: middle;
  136. width: 82%;
  137. }
  138. .trophytext {
  139. margin-top: 10%;
  140. font-size: 16px;
  141. font-family: 'Baloo Bhaina';
  142. line-height: 100%;
  143. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement