Advertisement
RyanJEarnshaw

Untitled

Oct 5th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. html {
  2. transition: 1s ease;
  3. }
  4. #content {
  5. transition: 1s ease;
  6. width: 90%;
  7. margin-bottom: 10%;
  8. }
  9.  
  10. hr {
  11. margin: 10px auto;
  12. width: 80%;
  13. float: middle;
  14. }
  15.  
  16. #content h3{
  17. font-family: 'Work Sans', sans-serif;
  18. font-weight: 200;
  19. }
  20. .mc1 .header h3 {font-size: 2.5vmax;}
  21. .mc2 .header h3 {font-size: 2.5vmax;}
  22. .mc3 .header h3 {font-size: 2.5vmax;}
  23. .mc4 .header h3 {font-size: 2.5vmax;}
  24. .mc5 .header h3 {font-size: 2.5vmax;}
  25. .mc6 .header h3 {font-size: 2vmax;}
  26.  
  27. /*Building content*/
  28. .captain-header {
  29. margin-top: -20%;
  30. }
  31. .captain-header h4 {
  32. font-family: 'Work Sans', sans-serif;
  33. font-weight: 200;
  34. font-size: 2vmax;
  35. }
  36. .teamscontainer {
  37. position: relative;
  38. margin: auto;
  39. float: left;
  40. width: 100%;
  41. height: 50vmax;
  42. margin-top: 1%;
  43. }
  44. .teams {
  45. display: flex;
  46. position: relative;
  47. margin: auto;
  48. width: 100%;
  49. height: auto;
  50. justify-content: center;
  51. }
  52. .team {
  53. float: left;
  54. width: 15%;
  55. }
  56. .team .image {
  57. background-color: white;
  58. display: inline-block;
  59. position: relative;
  60. border: 4px solid purple;
  61. width: 8vw;
  62. height: 8vw;
  63. overflow: hidden;
  64. border-radius: 50%;
  65. }
  66. .memberscontainer {
  67. position: relative;
  68. transition: 1s ease;
  69. float: left;
  70. height: 0%;
  71. background-color: black;
  72. width: 100%;
  73. }
  74. .memberscontainer .mc2, .memberscontainer .mc3, .memberscontainer .mc4, .memberscontainer .mc5, .memberscontainer .mc6 {
  75. -webkit-transition: 1s;
  76. -moz-transition: 1s;
  77. -ms-transition: 1s;
  78. transition: 1s;
  79. margin-left: 0;
  80. z-index: 1;
  81. }
  82. .mc1 { height: 6vmax; background-color: #eadab5; filter:none !important;}
  83. .mc1.expandedheight { height: 30vmax; }
  84. .mc1.expandedwidth{ width: 600%; z-index: 10; margin-top: 30%; }
  85.  
  86.  
  87. .mc2 { height: 6vmax; background-color: #bcaecc; filter:none !important;}
  88. .mc2.expandedheight { height: 30vmax; }
  89. .mc2.expandedwidth{ width: 600%; margin-left:-100%; z-index: 10; margin-top: 30%;}
  90.  
  91.  
  92. .mc3 { height: 6vmax; background-color: #bad4e2; filter:none !important;}
  93. .mc3.expandedheight { height: 30vmax; }
  94. .mc3.expandedwidth{ width: 600%; margin-left:-200%; z-index: 10; margin-top: 30%;}
  95.  
  96.  
  97. .mc4 { height: 6vmax; background-color: #e8b78b; filter:none !important;}
  98. .mc4.expandedheight { height: 30vmax; }
  99. .mc4.expandedwidth{ width: 600%; margin-left:-300%; z-index: 10; margin-top: 30%;}
  100.  
  101.  
  102. .mc5 { height: 6vmax; background-color: #bdd6d2; filter:none !important;}
  103. .mc5.expandedheight { height: 30vmax; }
  104. .mc5.expandedwidth{ width: 600%; margin-left:-400%; z-index: 10; margin-top: 30%;}
  105.  
  106.  
  107. .mc6 { height: 6vmax; background-color: #ead0d9; filter:none !important;}
  108. .mc6.expandedheight { height: 30vmax; }
  109. .mc6.expandedwidth{ width: 600%; margin-left:-500%; z-index: 10; margin-top: 30%;}
  110.  
  111. /*
  112. .team1 .image { border: 4px solid purple; }
  113. .team2 .image { border: 4px solid blue; }
  114. .team3 .image { border: 4px solid grey; }
  115. .team4 .image { border: 4px solid yellow; }
  116. .team5 .image { border: 4px solid red; }
  117. .team6 .image { border: 4px solid orange; }
  118. */
  119.  
  120. .team .image img {
  121. margin-left: -17%; /*delete me for default*/
  122. width: auto;
  123. height: 90%; /*100*/
  124. }
  125.  
  126. .team2 .image img {
  127. margin-left: 0%; /*delete me for default*/
  128. height: 100%; /*100*/
  129. }
  130.  
  131. .mc1.expandedwidth .captains,
  132. .mc2.expandedwidth .captains,
  133. .mc2.expandedwidth .captains,
  134. .mc3.expandedwidth .captains,
  135. .mc4.expandedwidth .captains,
  136. .mc5.expandedwidth .captains,
  137. .mc6.expandedwidth .captains,
  138. .mc1.expandedwidth .children,
  139. .mc2.expandedwidth .children,
  140. .mc2.expandedwidth .children,
  141. .mc3.expandedwidth .children,
  142. .mc4.expandedwidth .children,
  143. .mc5.expandedwidth .children,
  144. .mc6.expandedwidth .children {
  145. position: relative;
  146. transition: 2s 1s ease;
  147. opacity: 1;
  148. }
  149.  
  150.  
  151. .memberscontainer .header {
  152. font-family: 'Lobster Two', Sans-serif;
  153. font-size: 2vmax;
  154. width: 100%;
  155. margin-bottom: 2%;
  156. }
  157.  
  158. .captains, .children {
  159. position: absolute;
  160. opacity: 0;
  161. }
  162. .memberscontainer .member {
  163. margin: .3vmax;
  164. float: middle;
  165. display: inline-block;
  166. vertical-align: center;
  167. }
  168. .memberscontainer .captains {
  169. display: block;
  170. border-right: 1px solid rgba(0,0,0,0.2);
  171. display: inline-block;
  172. float: left;
  173. width: 19%;
  174. }
  175. .memberscontainer .children {
  176. display: inline-block;
  177. float: left;
  178. width: 80%;
  179. }
  180. .member .memberimage {
  181. width: 8vmax;
  182. height: 8vmax;
  183. border-radius: 50%;
  184. color: #fff;
  185. text-align: center;
  186. background-color: white;
  187. overflow: hidden;
  188. }
  189. .member .memberimage img {
  190. width: auto;
  191. height: inherit;
  192. color: #fff;
  193. text-align: center;
  194. }
  195. .member .membername h3 {
  196. font-size: 1.1vmax;
  197. }
  198. .member .membername {
  199. width: 100%;
  200. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement