RyanEarnshaw

Untitled

Apr 5th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.78 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 80px; /* size of header */
  5. margin-left: 20%; /* size of side-nav */
  6. padding-bottom: 100px;
  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.  
  58. .section .authorcircle img {
  59. width: 100%;
  60. height: 100%;
  61. }
  62. .section.s1 h1 {
  63. position: absolute;
  64. display: inline-block;
  65. top: 210px;
  66. left: 50%;
  67. transform: translateX(-50%);
  68. font-size: 17px;
  69. font-family: sans-serif;
  70. font-weight: 100;
  71. color: #000000;
  72. width: 100%;
  73. text-align: center;
  74. }
  75. .section.s1 h1:nth-child(3) {
  76. color: #6b6b6b;
  77. top: 240px;
  78. }
  79.  
  80.  
  81. .section .title {
  82. position: relative;
  83. display: inline-block;
  84. float: left;
  85. width: 100%;
  86. margin: 40px 0 0;
  87. }
  88. .section .title h1 {
  89. font-size: 24px;
  90. font-family: sans-serif;
  91. font-weight: 600;
  92. color: #363636;
  93. }
  94. .section .body {
  95. position: relative;
  96. display: inline-block;
  97. float: left;
  98. width: 100%;
  99. }
  100. .section .body h1 {
  101. position: relative;
  102. width: 100%;
  103. font-size: 20px;
  104. font-family: sans-serif;
  105. font-weight: 600;
  106. color: #6b6b6b;
  107. margin: 17px 0;
  108. float: left;
  109. }
  110. .section .body h2 {
  111. position: relative;
  112. font-size: 17px;
  113. font-family: sans-serif;
  114. font-weight: 100;
  115. color: #6b6b6b;
  116. margin: 17px 0;
  117. line-height: 25px;
  118. width: 100%;
  119. float: left;
  120. }
  121. .section .body h2.textcenter { text-align: center; }
  122.  
  123. .section .body h2 span {
  124. font-weight: bold;
  125. }
  126. .section .body h2 a {
  127. font-weight: 600;
  128. color: #8ec640;
  129. text-decoration: none;
  130. }
  131.  
  132.  
  133.  
  134. .section .body .imagecont {
  135. display: inline-block;
  136. position: relative;
  137. float: left;
  138. width: 100%;
  139. text-align: center;
  140. }
  141. .section .body .imagecont img { width: 100%; }
  142. .section .body .imagecont.small { height: 100px; }
  143. .section .body .imagecont.small img { height: 100px; width: auto; }
  144. .section .body .imagecont.medium { height: 200px; }
  145. .section .body .imagecont.medium img { height: 200px; width: auto; }
  146. .section .body .imagecont.large { height: 300px; }
  147. .section .body .imagecont.large img { height: 300px; width: auto; }
  148.  
  149.  
  150. .section .body .listtable {
  151. position: relative;
  152. float: left;
  153. border: 1px solid #BCBEC0;
  154. width: 100%;
  155. font-family: sans-serif;
  156. font-size: 17px;
  157. border-collapse: collapse;
  158. }
  159. .section .body .listtable th {
  160. font-weight: 600;
  161. color: #6b6b6b;
  162. padding: 17px 2%;
  163. text-align: center;
  164. border-left: 1px solid #BCBEC0;
  165. }
  166. .section .body .listtable td {
  167. text-align: left;
  168. color: #6b6b6b;
  169. padding: 17px 2%;
  170. vertical-align: top;
  171. border-left: 1px solid #BCBEC0;
  172. }
  173. .section .body .listtable td:first-child { border-left: none; }
  174. .section .body .listtable th:first-child { border-left: none; }
  175.  
  176.  
  177. .section .body .imagetable {
  178. position: relative;
  179. float: left;
  180. width: 100%;
  181. border-collapse: collapse;
  182. }
  183. .section .body .imagetable img {
  184. position: relative;
  185. left: 50%;
  186. transform: translateX(-50%);
  187. max-width: 90%;
  188. max-height: 90%;
  189. }
  190. .section .body .imagetable .width25 { width: 25%; }
  191. .section .body .imagetable .width50 { width: 50%; }
  192. .section .body .imagetable .width75 { width: 75%; }
  193.  
  194. .section .body .hori-line {
  195. position: relative;
  196. display: inline-block;
  197. width: 100%;
  198. background-color: #bcbcbc;
  199. height: 2px;
  200. margin: 20px 0;
  201. }
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. .scrollbacktotop-container {
  210. position: relative;
  211. float: left;
  212. width: 100%;
  213. text-align: center;
  214. }
  215. .scrollbacktotop-container .scrollbacktotop {
  216. position: relative;
  217. display: inline-block;
  218. background-color: #8ec640;
  219. width: 150px;
  220. height: 50px;
  221. margin-top: 20px;
  222. cursor: pointer;
  223. }
  224. .scrollbacktotop-container .scrollbacktotop h1 {
  225. position: absolute;
  226. display: inline-block;
  227. color: #ffffff;
  228. font-size: 15px;
  229. font-family: sans-serif;
  230. font-weight: 600;
  231. left: 10px;
  232. top: 50%;
  233. transform: translateY(-50%);
  234. }
  235. .scrollbacktotop-container .scrollbacktotop img {
  236. position: absolute;
  237. display: inline-block;
  238. right: 10px;
  239. top: 50%;
  240. transform: translateY(-50%);
  241. height: 50%;
  242. }
  243.  
  244. .section .socialcontainer {
  245. position: relative;
  246. display: inline-block;
  247. color: #ffffff;
  248. width: 100%;
  249. float: left;
  250. text-align: center;
  251. }
  252. .section .socialbuttons {
  253. position: relative;
  254. display: inline-block;
  255. width: 44%;
  256. margin: 30px 0 0;
  257. }
  258. .section .button {
  259. position: relative;
  260. display: inline-block;
  261. width: 40px;
  262. height: 40px;
  263. background-color: transparent;
  264. text-align: center;
  265. float: left;
  266. /* margin: 0 20%; */
  267. border-right: none;
  268. }
  269. .section .button img {
  270. width: 16px;
  271. height: 16px;
  272. float: left;
  273. position: absolute;
  274. left: 12px;
  275. top: 7px;
  276. }
  277.  
  278. .comments-section {
  279. position: relative;
  280. display: inline-block;
  281. width: 100%;
  282. margin: 20px 0;
  283. border-top: 2px solid #979797;
  284. padding-top: 20px;
  285. }
  286. .comments-section .comment-input {
  287. position: relative;
  288. display: inline-block;
  289. border: none;
  290. margin: 3px 0;
  291. background-color: #dfdfdf;
  292. border-radius: 2px;
  293. font-size: 16px;
  294. font-family: sans-serif;
  295. font-weight: bold;
  296. color: #f3bc15;
  297. padding: 10px;
  298. resize: none;
  299. height: 200px;
  300. width: 100%;
  301. box-sizing: border-box;
  302. }
  303. .comments-section .comment-submit {
  304. position: relative;
  305. display: inline-block;
  306. font-size: 14px;
  307. float: left;
  308. padding: 15px 40px;
  309. margin-top: 10px;
  310. border: 2px solid #8ec640;
  311. background-color: #8ec640;
  312. color: #ffffff;
  313. font-family: sans-serif;
  314. font-weight: bold;
  315. font-size: 14px;
  316. width: 100%;
  317. cursor: pointer;
  318. transition: all 0.2s ease;
  319. -webkit-appearance: none;
  320. margin-bottom: 30px;
  321. }
  322. .comments-section .comment-submit:hover {
  323. background-color: #ffffff;
  324. color: #8ec640;
  325. }
  326. .comments-section input:focus,
  327. .comments-section input:valid {
  328. box-shadow: none;
  329. outline: none;
  330. background-position: 0 0;
  331. }
  332. .comments-section .comment {
  333. position: relative;
  334. display: inline-block;
  335. margin-top: -5px;
  336. width: 100%;
  337. border: 1px solid #595959;
  338. box-sizing: border-box;
  339. }
  340. .comments-section .comment .name {
  341. position: relative;
  342. display: inline-block;
  343. float: left;
  344. width: 50%;
  345. text-align: left;
  346. padding: 5px 0px 5px 20px;
  347. box-sizing: border-box;
  348. font-family: sans-serif;
  349. font-weight: bold;
  350. font-size: 14px;
  351. color: #9d9d9d;
  352. border-bottom: 1px solid #cdcdcd;
  353. }
  354. .comments-section .comment .date {
  355. position: relative;
  356. display: inline-block;
  357. float: left;
  358. width: 50%;
  359. text-align: right;
  360. padding: 5px 20px 5px 0px;
  361. box-sizing: border-box;
  362. font-family: sans-serif;
  363. font-weight: bold;
  364. font-size: 14px;
  365. color: #9d9d9d;
  366. border-bottom: 1px solid #cdcdcd;
  367. }
  368. .comments-section .comment .text {
  369. position: relative;
  370. display: inline-block;
  371. float: left;
  372. width: 100%;
  373. text-align: left;
  374. padding: 15px 20px 15px 20px;
  375. box-sizing: border-box;
  376. font-family: sans-serif;
  377. font-weight: 400;
  378. font-size: 14px;
  379. line-height: 20px;
  380. color: #4e4e4e;
  381. }
  382. /* ----------------------------------------------------*/
  383. /* Code That Doesnt Change Between Mobile Resolution */
  384. /* ----------------------------------------------------*/
  385. @media only screen and (min-width : 0px) and (max-width : 992px) {
  386. .innercont {
  387. position: relative;
  388. display: inline-block;
  389. float: left;
  390. margin: 10vw 5% 0 5%;
  391. width: 90%;
  392. }
  393. .section {
  394. position: relative;
  395. display: inline-block;
  396. float: left;
  397. background-color: #ffffff;
  398. align-items: initial;
  399.  
  400. }
  401. .section.s1 { width: 90%; margin: 0 5%; height: 160px; }
  402. .section.s2 { width: 90%; margin: 0 5%; }
  403. .section.s3 { width: 90%; margin: 0 5%; }
  404.  
  405. .section .authorcircle {
  406. top: 10px;
  407. }
  408. .section.s1 h1 { top: 120px; }
  409. .section.s1 h1:nth-child(3) { top: 140px; }
  410.  
  411. .section .button { float: none; }
  412. .section .socialbuttons { width: 100%; }
  413. }
  414.  
  415.  
  416. /* ----------------------------------------------------*/
  417. /* Custom, iPhone Retina */
  418. /* ----------------------------------------------------*/
  419. @media only screen and (max-width : 320px) {
  420.  
  421. }
  422.  
  423.  
  424. /* ----------------------------------------------------*/
  425. /* Extra Small Devices, Phones */
  426. /* ----------------------------------------------------*/
  427. @media only screen and (min-width : 320px) and (max-width : 480px) {
  428.  
  429. }
  430.  
  431.  
  432. /* ----------------------------------------------------*/
  433. /* Small Devices, Tablets */
  434. /* ----------------------------------------------------*/
  435. @media only screen and (min-width : 480px) and (max-width : 768px) {
  436.  
  437. }
  438.  
  439.  
  440. /* ----------------------------------------------------*/
  441. /* Medium Devices, Desktops */
  442. /* ----------------------------------------------------*/
  443. @media only screen and (min-width : 768px) and (max-width : 992px) {
  444.  
  445. }
  446.  
  447.  
  448. /* ----------------------------------------------------*/
  449. /* Large Devices, Wide Screens */
  450. /* ----------------------------------------------------*/
  451. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  452.  
  453. }
Advertisement
Add Comment
Please, Sign In to add comment