Advertisement
RyanJEarnshaw

Untitled

Oct 7th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Baloo+Bhaina');
  2. #content {
  3. width: 90%;
  4. }
  5. #persontable, #teamstable {
  6. transition: 0.4s ease;
  7. width: 45%;
  8. height: auto;
  9. text-align: center;
  10. float: middle;
  11. margin: 2% 2% 0;
  12. display:inline-block;
  13. vertical-align:top;
  14. border: 1px solid #FF4646;
  15. background-color: #FF4646;
  16. }
  17.  
  18. .item {
  19. transition: 0.4s ease;
  20. width: 100%;
  21. display: flex;
  22. float: left;
  23. background-color: rgba(255,100,100,1);
  24. margin: 1px 0px;
  25. }
  26.  
  27. .topitem{
  28. background-image: linear-gradient(135deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  29. linear-gradient(-135deg, 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(-45deg, grey 0%, grey 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%),
  32. 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%);
  33. background-position: top center, top center, bottom center, bottom center, top center, bottom center;
  34. background-size: 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 100% 1rem, 100% 1rem;
  35. background-repeat: repeat-x;
  36. transition: all .25s ease-in-out;
  37. background-color: rgba(255,1,1,0.4);
  38. }
  39. /*Top Image*/
  40. .topitem .image .circle {
  41. margin: 25px 0px;
  42. border: 4px dotted white;
  43. width: 7vmax;
  44. height: 7vmax;
  45. }
  46. .image {
  47. margin: 5px 0px;
  48. }
  49.  
  50. .circle {
  51. width: 4vmax;
  52. height: 4vmax;
  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: auto;
  119. }
  120. .topcontainer .image {
  121. vertical-align:middle;
  122. float: left;
  123. width: 100%;
  124. }
  125.  
  126. .topcontainer .name{
  127. position: relative;
  128. width: 100%;
  129. height: 2vmax;
  130. margin-bottom: 2vmax;
  131. }
  132. .trophy .trophyimage {
  133. display: flex;
  134. display: inline-block;
  135. }
  136. .topitem .position, .topitem .trophy {
  137. font-family: 'Baloo Bhaina', sans-serif;
  138. transition: 0.5s;
  139. width: 30%;
  140. }
  141. .topitem .position h6, .topitem .trophy h3 { transition: 0.5s; }
  142. .topitem:hover .position, .topitem:hover .trophy {
  143. transition: 1s;
  144. width: 60%;
  145. }
  146. .topitem .name h6 {
  147. transition: 0.8s;
  148. font-size: 2.5vmax;
  149. font-family: 'Lobster Two', sans-serif;
  150. }
  151. .topitem:hover .name h6{
  152. transition: 1s;
  153. font-size: 1.5vmax;
  154. }
  155. .trophyimage img, .trophyimage {
  156. vertical-align:middle;
  157. float: middle;
  158. width: 82%;
  159. }
  160. .trophytext { margin-top: 10%; line-height: 100%;}
  161.  
  162. .topitem:hover .position h6, .topitem:hover .trophy h3 {
  163. transition: 1s;
  164. font-size: 1vmax;
  165. line-height: 120%;
  166. }
  167. .topitem:hover .position h6, .topitem:hover .trophy h3 {
  168. transition: 1s;
  169. font-size: 2vmax;
  170. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement