Advertisement
RyanJEarnshaw

Untitled

Sep 27th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Baloo+Bhaina');
  2. #content {
  3. width: 90%;
  4. }
  5.  
  6. #persontable, #teamstable {
  7. transition: 0.4s ease;
  8. width: 45%;
  9. height: auto;
  10. text-align: center;
  11. float: middle;
  12. margin: 2% 2% 0;
  13. display:inline-block;
  14. vertical-align:top;
  15. border: 1px solid #FF4646;
  16. background-color: #FF4646;
  17. }
  18.  
  19. .item {
  20. transition: 0.4s ease;
  21. width: 100%;
  22. display: flex;
  23. float: left;
  24. background-color: rgba(255,100,100,1);
  25. margin: 1px 0px;
  26. }
  27.  
  28. .topitem{
  29. background-image: linear-gradient(135deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  30. linear-gradient(-135deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  31. linear-gradient(45deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  32. linear-gradient(-45deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  33. 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%);
  34. background-position: top center, top center, bottom center, bottom center, top center, bottom center;
  35. background-size: 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 100% 1rem, 100% 1rem;
  36. background-repeat: repeat-x;
  37. transition: all .25s ease-in-out;
  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.  
  98. .child:hover {
  99. background-color: rgba(255,130,140,1);
  100. font-weight: bold;
  101. box-shadow: rgba(255,40,40,1) -1px 1px,
  102. rgba(255,40,40,1) -2px 2px,
  103. rgba(255,40,40,1) -3px 3px,
  104. rgba(255,40,40,1) -4px 4px,
  105. rgba(255,40,40,1) -5px 5px,
  106. rgba(255,40,40,1) -6px 6px;
  107. transform: translate3d(6px, -6px, 0);
  108. transition-delay: 0s;
  109. transition-duration: 0.4s;
  110. transition-property: all;
  111. transition-timing-function: line;
  112. }
  113.  
  114. .topcontainer {
  115. display: block;
  116. transition: 0.4s ease;
  117. width: 100%;
  118. height: 30vh;
  119. }
  120. .topcontainer .image {
  121. vertical-align:middle;
  122. float: left;
  123. width: 100%;
  124. }
  125.  
  126. .topcontainer .name{
  127. font-size: 10vh;
  128. vertical-align:middle;
  129. float: middle;
  130. width: 100%;
  131. }
  132. .topitem: hover{
  133. font-size: 14vh;
  134. }
  135. .trophy .trophyimage {
  136. display: flex;
  137. display: inline-block;
  138. }
  139. .topitem .position, .topitem .trophy {
  140. transition: 0.2s;
  141. width: 30%;
  142. }
  143. .topitem:hover .name {
  144. transition: 0.2s;
  145. }
  146. .topitem:hover .position, .topitem:hover .trophy {
  147. transition: 1s;
  148. width: 60%;
  149. }
  150. .topitem:hover .name {
  151. transition: 1s;
  152. font-size: 5vh;
  153. }
  154. .trophyimage img, .trophyimage {
  155. vertical-align:middle;
  156. float: middle;
  157. width: 82%;
  158. }
  159. .trophytext {
  160. margin-top: 10%;
  161. font-size: 16px;
  162. font-family: 'Baloo Bhaina';
  163. line-height: 100%;
  164. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement