Advertisement
RyanJEarnshaw

Untitled

Sep 27th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 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. }
  39. .topitem{
  40. background-color: rgba(255,1,1,0.4);
  41. }
  42. /*Top Image*/
  43. .topitem .image .circle {
  44. margin: 10px 0px;
  45. width: 15vh;
  46. height: 15vh;
  47. }
  48. .image {
  49. margin: 5px 0px;
  50. }
  51.  
  52. .circle {
  53. width: 7vh;
  54. height: 7vh;
  55. border-radius: 50%;
  56. color: #fff;
  57. text-align: center;
  58. background-color: #989a8f;;
  59. overflow: hidden;
  60. margin: auto;
  61. }
  62. .circle img {
  63. width: auto;
  64. height: inherit;
  65. color: #fff;
  66. text-align: center;
  67. background-color: #989a8f;
  68. }
  69.  
  70. .name, .image, .points {
  71. vertical-align:middle;
  72. float: left;
  73. width: 32%;
  74. display: flex;
  75. align-items: center;
  76. justify-content: center;
  77. }
  78. .position, .trophy {
  79. overflow: hidden;
  80. vertical-align:middle;
  81. float: left;
  82. width: 4%;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. background-color: #FF4646;
  87. }
  88.  
  89. .topitem .trophy {
  90. -webkit-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  91. -moz-box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  92. box-shadow: 2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  93. }
  94. .topitem .position {
  95. -webkit-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  96. -moz-box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  97. box-shadow: -2px 0px 20px 0px rgba(0,0,0,0.6); /* x, y, blur, spread, colour*/
  98. }
  99. .child:hover {
  100. background-color: rgba(255,130,140,1);
  101. font-weight: bold;
  102. box-shadow: rgba(255,40,40,1) -1px 1px,
  103. rgba(255,40,40,1) -2px 2px,
  104. rgba(255,40,40,1) -3px 3px,
  105. rgba(255,40,40,1) -4px 4px,
  106. rgba(255,40,40,1) -5px 5px,
  107. rgba(255,40,40,1) -6px 6px;
  108. transform: translate3d(6px, -6px, 0);
  109. transition-delay: 0s;
  110. transition-duration: 0.4s;
  111. transition-property: all;
  112. transition-timing-function: line;
  113. }
  114.  
  115. .topcontainer {
  116. display: block;
  117. transition: 0.4s ease;
  118. width: 100%;
  119. height: 30vh;
  120. }
  121. .topcontainer .image {
  122. vertical-align:middle;
  123. float: left;
  124. width: 100%;
  125. }
  126.  
  127. .topcontainer .name{
  128. font-size: 10vh;
  129. vertical-align:middle;
  130. float: middle;
  131. width: 100%;
  132. }
  133. .trophy .trophyimage {
  134. display: flex;
  135. display: inline-block;
  136. }
  137. .topitem .position, .topitem .trophy {
  138. width: 30%;
  139. }
  140. .trophyimage img, .trophyimage {
  141. vertical-align:middle;
  142. float: middle;
  143. width: 82%;
  144. }
  145. .trophytext {
  146. margin-top: 10%;
  147. font-size: 16px;
  148. font-family: 'Baloo Bhaina';
  149. line-height: 100%;
  150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement