Advertisement
RyanJEarnshaw

Untitled

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