Advertisement
RyanJEarnshaw

Untitled

Oct 10th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 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. .circle img :nth-child(1) {
  68. margin-left: -10%;
  69. }
  70.  
  71. .name, .image, .points {
  72. vertical-align:middle;
  73. float: left;
  74. width: 32%;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. }
  79. .position, .trophy {
  80. overflow: hidden;
  81. vertical-align:middle;
  82. float: left;
  83. width: 4%;
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. background-color: #FF4646;
  88. }
  89.  
  90. .topitem .trophy {
  91. -webkit-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  92. -moz-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  93. box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  94. }
  95. .topitem .position {
  96. -webkit-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  97. -moz-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  98. box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  99. }
  100.  
  101. .child:hover {
  102. background-color: rgba(255,130,140,1);
  103. font-weight: bold;
  104. box-shadow: rgba(255,40,40,1) -1px 1px,
  105. rgba(255,40,40,1) -2px 2px,
  106. rgba(255,40,40,1) -3px 3px,
  107. rgba(255,40,40,1) -4px 4px,
  108. rgba(255,40,40,1) -5px 5px,
  109. rgba(255,40,40,1) -6px 6px;
  110. transform: translate3d(6px, -6px, 0);
  111. transition-delay: 0s;
  112. transition-duration: 0.4s;
  113. transition-property: all;
  114. transition-timing-function: line;
  115. }
  116.  
  117. .topcontainer {
  118. display: block;
  119. transition: 0.4s ease;
  120. width: 100%;
  121. height: auto;
  122. }
  123. .topcontainer .image {
  124. vertical-align:middle;
  125. float: left;
  126. width: 100%;
  127. }
  128.  
  129. .topcontainer .name{
  130. position: relative;
  131. width: 100%;
  132. height: 2vmax;
  133. margin-bottom: 2vmax;
  134. }
  135. .trophy .trophyimage {
  136. display: flex;
  137. display: inline-block;
  138. }
  139. .topitem .position, .topitem .trophy {
  140. font-family: 'Baloo Bhaina', sans-serif;
  141. transition: 0.5s;
  142. width: 30%;
  143. }
  144. .topitem .position h6, .topitem .trophy h3 { transition: 0.5s; }
  145. .topitem:hover .position, .topitem:hover .trophy {
  146. transition: 1s;
  147. width: 60%;
  148. }
  149. .topitem .name h6 {
  150. transition: 0.8s;
  151. font-size: 2.5vmax;
  152. font-family: 'Lobster Two', sans-serif;
  153. }
  154. .topitem:hover .name h6{
  155. transition: 1s;
  156. font-size: 1.5vmax;
  157. }
  158. .trophyimage img, .trophyimage {
  159. vertical-align:middle;
  160. float: middle;
  161. width: 82%;
  162. }
  163.  
  164. .trophytext { font-size: 1vmax; margin-top: 10%; line-height: 100%;}
  165.  
  166.  
  167. .topitem:hover .position h6, .topitem:hover .trophy h3 {
  168. transition: 1s;
  169. font-size: 1.5vmax;
  170. line-height: 120%;
  171. }
  172.  
  173.  
  174.  
  175.  
  176. #persontable .topitem .circle img { margin-left: -8%; } /*Sam Townend*/
  177. #teamstable .topitem .circle img { width: 100%; } /*Tourettes Cadet*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement