RyanEarnshaw

Untitled

Feb 28th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 140px; /* size of header */
  5. margin-left: 20%; /* size of side-nav */
  6. padding-bottom: 200px;
  7. background-color: #ffffff;
  8. float: left;
  9. width: 80%;
  10. }
  11. .headerimage {
  12. position: absolute;
  13. display: inline-block;
  14. width: 100%;
  15. top: 0;
  16. left: 0;
  17. }
  18. .headerimage img {
  19. width: 100%;
  20. }
  21. .innercont {
  22. position: relative;
  23. display: -webkit-flex;
  24. display: -webkit-box;
  25. display: -moz-flex;
  26. display: -ms-flex;
  27. display: flex;
  28. float: left;
  29. margin: 100px 10% 0 10%;
  30. width: 80%;
  31. }
  32.  
  33. .section {
  34. position: relative;
  35. display: inline-block;
  36. float: left;
  37. background-color: #ffffff;
  38. align-items: stretch;
  39. }
  40. .section.s1 { width: 20%; }
  41. .section.s2 { width: 70%; }
  42. .section.s3 { width: 10%; }
  43.  
  44. .section .authorcircle {
  45. position: absolute;
  46. display: inline-block;
  47. top: 100px;
  48. left: 50%;
  49. transform: translateX(-50%);
  50. width: 100px;
  51. height: 100px;
  52. border-radius: 50%;
  53. border: 2px solid #a1a1a1;
  54. background-color: #ffffff;
  55. overflow: hidden;
  56. }
  57. .section .authorcircle img {
  58. width: 100%;
  59. height: 100%;
  60. }
  61. .section.s1 h1 {
  62. position: absolute;
  63. display: inline-block;
  64. top: 210px;
  65. left: 50%;
  66. transform: translateX(-50%);
  67. font-size: 17px;
  68. font-family: sans-serif;
  69. font-weight: 100;
  70. color: #000000;
  71. width: 100%;
  72. text-align: center;
  73. }
  74. .section.s1 h1:nth-child(3) {
  75. color: #6b6b6b;
  76. top: 240px;
  77. }
  78.  
  79.  
  80. .section .title {
  81. position: relative;
  82. display: inline-block;
  83. float: left;
  84. width: 100%;
  85. margin: 40px 0 0;
  86. }
  87. .section .title h1 {
  88. font-size: 24px;
  89. font-family: sans-serif;
  90. font-weight: 600;
  91. color: #363636;
  92. }
  93. .section .body {
  94. position: relative;
  95. display: inline-block;
  96. float: left;
  97. width: 100%;
  98. }
  99. .section .body h1 {
  100. position: relative;
  101. width: 100%;
  102. font-size: 20px;
  103. font-family: sans-serif;
  104. font-weight: 600;
  105. color: #6b6b6b;
  106. margin: 17px 0;
  107. float: left;
  108. }
  109. .section .body h2 {
  110. position: relative;
  111. font-size: 17px;
  112. font-family: sans-serif;
  113. font-weight: 100;
  114. color: #6b6b6b;
  115. margin: 17px 0;
  116. line-height: 25px;
  117. width: 100%;
  118. float: left;
  119. }
  120. .section .body h2.textcenter { text-align: center; }
  121.  
  122. .section .body h2 span {
  123. font-weight: bold;
  124. }
  125. .section .body h2 a {
  126. font-weight: 600;
  127. color: #8ec640;
  128. text-decoration: none;
  129. }
  130.  
  131.  
  132.  
  133. .section .body .imagecont {
  134. display: inline-block;
  135. position: relative;
  136. float: left;
  137. width: 100%;
  138. text-align: center;
  139. }
  140. .section .body .imagecont img { width: 100%; }
  141. .section .body .imagecont.small { height: 100px; }
  142. .section .body .imagecont.small img { height: 100px; width: auto; }
  143. .section .body .imagecont.medium { height: 200px; }
  144. .section .body .imagecont.medium img { height: 200px; width: auto; }
  145. .section .body .imagecont.large { height: 300px; }
  146. .section .body .imagecont.large img { height: 300px; width: auto; }
  147.  
  148.  
  149. .section .body .listtable {
  150. position: relative;
  151. float: left;
  152. border: 1px solid #BCBEC0;
  153. width: 100%;
  154. font-family: sans-serif;
  155. font-size: 17px;
  156. border-collapse: collapse;
  157. }
  158. .section .body .listtable th {
  159. font-weight: 600;
  160. color: #6b6b6b;
  161. padding: 17px 2%;
  162. text-align: center;
  163. border-left: 1px solid #BCBEC0;
  164. }
  165. .section .body .listtable td {
  166. text-align: left;
  167. color: #6b6b6b;
  168. padding: 17px 2%;
  169. vertical-align: top;
  170. border-left: 1px solid #BCBEC0;
  171. }
  172. .section .body .listtable td:first-child { border-left: none; }
  173. .section .body .listtable th:first-child { border-left: none; }
  174.  
  175.  
  176. .section .body .imagetable {
  177. position: relative;
  178. float: left;
  179. width: 100%;
  180. border-collapse: collapse;
  181. }
  182. .section .body .imagetable img {
  183. position: relative;
  184. left: 50%;
  185. transform: translateX(-50%);
  186. max-width: 90%;
  187. max-height: 90%;
  188. }
  189. .section .body .imagetable .width25 { width: 25%; }
  190. .section .body .imagetable .width50 { width: 50%; }
  191. .section .body .imagetable .width75 { width: 75%; }
  192.  
  193. .section .body .hori-line {
  194. position: relative;
  195. display: inline-block;
  196. width: 100%;
  197. background-color: #bcbcbc;
  198. height: 2px;
  199. margin: 20px 0;
  200. }
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208. .scrollbacktotop-container {
  209. position: relative;
  210. float: left;
  211. width: 100%;
  212. text-align: center;
  213. }
  214. .scrollbacktotop-container .scrollbacktotop {
  215. position: relative;
  216. display: inline-block;
  217. background-color: #8ec640;
  218. width: 150px;
  219. height: 50px;
  220. margin-top: 20px;
  221. cursor: pointer;
  222. }
  223. .scrollbacktotop-container .scrollbacktotop h1 {
  224. position: absolute;
  225. display: inline-block;
  226. color: #ffffff;
  227. font-size: 15px;
  228. font-family: sans-serif;
  229. font-weight: 600;
  230. left: 10px;
  231. top: 50%;
  232. transform: translateY(-50%);
  233. }
  234. .scrollbacktotop-container .scrollbacktotop img {
  235. position: absolute;
  236. display: inline-block;
  237. right: 10px;
  238. top: 50%;
  239. transform: translateY(-50%);
  240. height: 50%;
  241. }
  242.  
  243. .section .socialcontainer {
  244. position: relative;
  245. display: inline-block;
  246. color: #ffffff;
  247. width: 100%;
  248. float: left;
  249. text-align: center;
  250. }
  251. .section .socialbuttons {
  252. position: relative;
  253. display: inline-block;
  254. width: 44%;
  255. margin: 100px 0;
  256. }
  257. .section .button {
  258. position: relative;
  259. display: inline-block;
  260. width: 40px;
  261. height: 40px;
  262. background-color: transparent;
  263. text-align: center;
  264. float: left;
  265. /* margin: 0 20%; */
  266. border-right: none;
  267. }
  268. .section .button img {
  269. width: 16px;
  270. height: 16px;
  271. float: left;
  272. position: absolute;
  273. left: 12px;
  274. top: 7px;
  275. }
  276.  
  277. /* ----------------------------------------------------*/
  278. /* Code That Doesnt Change Between Mobile Resolution */
  279. /* ----------------------------------------------------*/
  280. @media only screen and (min-width : 0px) and (max-width : 992px) {
  281. .innercont {
  282. position: relative;
  283. display: inline-block;
  284. float: left;
  285. margin: 10vw 5% 0 5%;
  286. width: 90%;
  287. }
  288. .section {
  289. position: relative;
  290. display: inline-block;
  291. float: left;
  292. background-color: #ffffff;
  293. align-items: initial;
  294.  
  295. }
  296. .section.s1 { width: 90%; margin: 0 5%; height: 160px; }
  297. .section.s2 { width: 90%; margin: 0 5%; }
  298. .section.s3 { width: 90%; margin: 0 5%; }
  299. .section .title h1 { text-align: center; }
  300. .section .authorcircle { top: 10px; }
  301. .section.s1 h1 { top: 120px; }
  302. .section.s1 h1:nth-child(3) { top: 140px; }
  303. .section .button { float: none; }
  304.  
  305. }
  306.  
  307.  
  308. /* ----------------------------------------------------*/
  309. /* Custom, iPhone Retina */
  310. /* ----------------------------------------------------*/
  311. @media only screen and (max-width : 320px) {
  312.  
  313. }
  314.  
  315.  
  316. /* ----------------------------------------------------*/
  317. /* Extra Small Devices, Phones */
  318. /* ----------------------------------------------------*/
  319. @media only screen and (min-width : 320px) and (max-width : 480px) {
  320.  
  321. }
  322.  
  323.  
  324. /* ----------------------------------------------------*/
  325. /* Small Devices, Tablets */
  326. /* ----------------------------------------------------*/
  327. @media only screen and (min-width : 480px) and (max-width : 768px) {
  328.  
  329. }
  330.  
  331.  
  332. /* ----------------------------------------------------*/
  333. /* Medium Devices, Desktops */
  334. /* ----------------------------------------------------*/
  335. @media only screen and (min-width : 768px) and (max-width : 992px) {
  336.  
  337. }
  338.  
  339.  
  340. /* ----------------------------------------------------*/
  341. /* Large Devices, Wide Screens */
  342. /* ----------------------------------------------------*/
  343. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  344.  
  345. }
Advertisement
Add Comment
Please, Sign In to add comment