Advertisement
RyanJEarnshaw

Untitled

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