RyanJEarnshaw

Untitled

Sep 27th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 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. vertical-align:middle;
  78. float: left;
  79. width: 4%;
  80. display: flex;
  81. align-items: center;
  82. justify-content: center;
  83. background-color: #FF4646;
  84. }
  85.  
  86. .item:hover {
  87. background-color: #FFF842;
  88. font-weight: bold;
  89. box-shadow: #7F7C21 -1px 1px, #7F7C21 -2px 2px, #7F7C21 -3px 3px, #7F7C21 -4px 4px, #7F7C21 -5px 5px, #7F7C21 -6px 6px;
  90. transform: translate3d(6px, -6px, 0);
  91. transition-delay: 0s;
  92. transition-duration: 0.4s;
  93. transition-property: all;
  94. transition-timing-function: line;
  95. }
  96.  
  97. .topcontainer {
  98. display: block;
  99. transition: 0.4s ease;
  100. width: 100%;
  101. height: 30vh;
  102. }
  103. .topcontainer .image {
  104. vertical-align:middle;
  105. float: left;
  106. width: 100%;
  107. }
  108.  
  109. .topcontainer .name{
  110. font-size: 10vh;
  111. vertical-align:middle;
  112. float: middle;
  113. width: 100%;
  114. }
  115. .trophy .trophyimage {
  116. display: flex;
  117. display: inline-block;
  118. }
  119. .topitem .position, .topitem .trophy {
  120. width: 30%;
  121. }
  122. .trophyimage img, .trophyimage {
  123. vertical-align:middle;
  124. float: middle;
  125. width: 82%;
  126. }
  127. .trophytext {
  128. margin-top: 10%;
  129. font-size: 16px;
  130. font-family: 'Baloo Bhaina';
  131. line-height: 100%;
  132. }
Advertisement
Add Comment
Please, Sign In to add comment