Advertisement
RyanJEarnshaw

Untitled

Sep 29th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. #content {
  2. width: 90%;
  3. }
  4.  
  5. hr {
  6. margin: 10px auto;
  7. width: 80%;
  8. float: middle;
  9. }
  10.  
  11.  
  12. /*Building content*/
  13.  
  14. .teamscontainer {
  15. position: relative;
  16. margin: auto;
  17. float: left;
  18. width: 100%;
  19. margin-bottom: 20%;
  20. }
  21. .teams {
  22. display: flex;
  23. position: relative;
  24. margin: auto;
  25. width: 90%;
  26. justify-content: center;
  27. }
  28. .team {
  29. float: left;
  30. width: 15%;
  31. }
  32. .team .image {
  33. background-color: white;
  34. display: inline-block;
  35. position: relative;
  36. border: 4px solid purple;
  37. width: 8vw;
  38. height: 8vw;
  39. overflow: hidden;
  40. border-radius: 50%;
  41. }
  42. .memberscontainer {
  43. position: relative;
  44. transition: 1s ease;
  45. float: left;
  46. height: 0%;
  47. background-color: black;
  48. width: 100%;
  49. }
  50. .memberscontainer .mc2, .memberscontainer .mc3, .memberscontainer .mc4, .memberscontainer .mc5, .memberscontainer .mc6 {
  51. -webkit-transition: 1s;
  52. -moz-transition: 1s;
  53. -ms-transition: 1s;
  54. transition: 1s;
  55. margin-left: 0;
  56. z-index: 1;
  57. }
  58. .mc1 { background-color: PALEGREEN; }
  59. .mc1.expandedheight { height: 75%; }
  60. .mc1.expandedwidth{ width: 600%; z-index: 10; }
  61.  
  62.  
  63. .mc2 { background-color: purple; }
  64. .mc2.expandedheight { height: 75%; }
  65. .mc2.expandedwidth{ width: 600%; margin-left:-100%; z-index: 10;}
  66.  
  67.  
  68. .mc3 { background-color: grey; }
  69. .mc3.expandedheight { height: 75%; }
  70. .mc3.expandedwidth{ width: 600%; margin-left:-200%; z-index: 10;}
  71.  
  72.  
  73. .mc4 { background-color: plum; }
  74. .mc4.expandedheight { height: 75%; }
  75. .mc4.expandedwidth{ width: 600%; margin-left:-300%; z-index: 10;}
  76.  
  77.  
  78. .mc5 { background-color: lightsalmon; }
  79. .mc5.expandedheight { height: 75%; }
  80. .mc5.expandedwidth{ width: 600%; margin-left:-400%; z-index: 10;}
  81.  
  82.  
  83. .mc6 { background-color: indianred; }
  84. .mc6.expandedheight { height: 75%; }
  85. .mc6.expandedwidth{ width: 600%; margin-left:-500%; z-index: 10;}
  86.  
  87. /*
  88. .team1 .image { border: 4px solid purple; }
  89. .team2 .image { border: 4px solid blue; }
  90. .team3 .image { border: 4px solid grey; }
  91. .team4 .image { border: 4px solid yellow; }
  92. .team5 .image { border: 4px solid red; }
  93. .team6 .image { border: 4px solid orange; }
  94. */
  95.  
  96. .team .image img {
  97. margin-left: -17%; /*delete me for default*/
  98. width: auto;
  99. height: 90%; /*100*/
  100. }
  101.  
  102.  
  103.  
  104. .memberscontainer .header {
  105. width: 100%;
  106. border-bottom: 1px solid black;
  107. }
  108. .memberscontainer .member {
  109. margin: .3vmax;
  110. float: middle;
  111. display: inline-block;
  112. vertical-align: center;
  113. }
  114. .memberscontainer .captains {
  115. display: inline-block;
  116. float: left;
  117. width: 20%;
  118. }
  119. .memberscontainer .children {
  120. display: inline-block;
  121. float: left;
  122. width: 80%;
  123. }
  124. .member .memberimage {
  125. width: 8vmax;
  126. height: 8vmax;
  127. border-radius: 50%;
  128. color: #fff;
  129. text-align: center;
  130. background-color: #989a8f;;
  131. overflow: hidden;
  132. }
  133. .member .memberimage img {
  134. width: auto;
  135. height: inherit;
  136. color: #fff;
  137. text-align: center;
  138. }
  139. .member .membername h3 {
  140. font-size: 1.1vmax;
  141. }
  142. .member .membername {
  143. width: 100%;
  144. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement