RyanEarnshaw

Untitled

Apr 5th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 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 .no-comments-text {
  287. position: relative;
  288. display: inline-block;
  289. font-size: 16px;
  290. font-family: sans-serif;
  291. font-weight: bold;
  292. text-align: center;
  293. width: 100%;
  294. color: #8ec640;
  295. }
  296. .comments-section .comment-input {
  297. position: relative;
  298. display: inline-block;
  299. border: none;
  300. margin: 3px 0;
  301. background-color: #dfdfdf;
  302. border-radius: 2px;
  303. font-size: 16px;
  304. font-family: sans-serif;
  305. font-weight: 100;
  306. color: #8ec640;
  307. padding: 10px;
  308. resize: none;
  309. height: 80px;
  310. width: 100%;
  311. box-sizing: border-box;
  312. }
  313. .comments-section .comment-name {
  314. position: relative;
  315. display: inline-block;
  316. border: none;
  317. margin: 3px 0;
  318. background-color: #dfdfdf;
  319. border-radius: 2px;
  320. font-size: 16px;
  321. font-family: sans-serif;
  322. font-weight: 100;
  323. color: #8ec640;
  324. padding: 10px;
  325. resize: none;
  326. height: 40px;
  327. width: 100%;
  328. box-sizing: border-box;
  329. }
  330. .comments-section .comment-submit {
  331. position: relative;
  332. display: inline-block;
  333. font-size: 14px;
  334. float: left;
  335. padding: 15px 40px;
  336. margin-top: 10px;
  337. border: 2px solid #8ec640;
  338. background-color: #8ec640;
  339. color: #ffffff;
  340. font-family: sans-serif;
  341. font-weight: bold;
  342. font-size: 14px;
  343. width: 100%;
  344. cursor: pointer;
  345. transition: all 0.2s ease;
  346. -webkit-appearance: none;
  347. margin-bottom: 30px;
  348. }
  349. .comments-section .comment-submit:hover {
  350. background-color: #ffffff;
  351. color: #8ec640;
  352. }
  353. .comments-section input:focus,
  354. .comments-section input:valid {
  355. box-shadow: none;
  356. outline: none;
  357. background-position: 0 0;
  358. }
  359. .comments-section .comment {
  360. position: relative;
  361. display: inline-block;
  362. margin-top: -5px;
  363. width: 100%;
  364. border: 1px solid #595959;
  365. box-sizing: border-box;
  366. }
  367. .comments-section .comment .name {
  368. position: relative;
  369. display: inline-block;
  370. float: left;
  371. width: 50%;
  372. text-align: left;
  373. padding: 5px 0px 5px 20px;
  374. box-sizing: border-box;
  375. font-family: sans-serif;
  376. font-weight: bold;
  377. font-size: 14px;
  378. color: #9d9d9d;
  379. border-bottom: 1px solid #cdcdcd;
  380. }
  381. .comments-section .comment .date {
  382. position: relative;
  383. display: inline-block;
  384. float: left;
  385. width: 50%;
  386. text-align: right;
  387. padding: 5px 20px 5px 0px;
  388. box-sizing: border-box;
  389. font-family: sans-serif;
  390. font-weight: bold;
  391. font-size: 14px;
  392. color: #9d9d9d;
  393. border-bottom: 1px solid #cdcdcd;
  394. }
  395. .comments-section .comment .text {
  396. position: relative;
  397. display: inline-block;
  398. float: left;
  399. width: 100%;
  400. text-align: left;
  401. padding: 15px 20px 15px 20px;
  402. box-sizing: border-box;
  403. font-family: sans-serif;
  404. font-weight: 400;
  405. font-size: 14px;
  406. line-height: 20px;
  407. color: #4e4e4e;
  408. }
  409. /* ----------------------------------------------------*/
  410. /* Code That Doesnt Change Between Mobile Resolution */
  411. /* ----------------------------------------------------*/
  412. @media only screen and (min-width : 0px) and (max-width : 992px) {
  413. .innercont {
  414. position: relative;
  415. display: inline-block;
  416. float: left;
  417. margin: 10vw 5% 0 5%;
  418. width: 90%;
  419. }
  420. .section {
  421. position: relative;
  422. display: inline-block;
  423. float: left;
  424. background-color: #ffffff;
  425. align-items: initial;
  426.  
  427. }
  428. .section.s1 { width: 90%; margin: 0 5%; height: 160px; }
  429. .section.s2 { width: 90%; margin: 0 5%; }
  430. .section.s3 { width: 90%; margin: 0 5%; }
  431.  
  432. .section .authorcircle {
  433. top: 10px;
  434. }
  435. .section.s1 h1 { top: 120px; }
  436. .section.s1 h1:nth-child(3) { top: 140px; }
  437.  
  438. .section .button { float: none; }
  439. .section .socialbuttons { width: 100%; }
  440. }
  441.  
  442.  
  443. /* ----------------------------------------------------*/
  444. /* Custom, iPhone Retina */
  445. /* ----------------------------------------------------*/
  446. @media only screen and (max-width : 320px) {
  447.  
  448. }
  449.  
  450.  
  451. /* ----------------------------------------------------*/
  452. /* Extra Small Devices, Phones */
  453. /* ----------------------------------------------------*/
  454. @media only screen and (min-width : 320px) and (max-width : 480px) {
  455.  
  456. }
  457.  
  458.  
  459. /* ----------------------------------------------------*/
  460. /* Small Devices, Tablets */
  461. /* ----------------------------------------------------*/
  462. @media only screen and (min-width : 480px) and (max-width : 768px) {
  463.  
  464. }
  465.  
  466.  
  467. /* ----------------------------------------------------*/
  468. /* Medium Devices, Desktops */
  469. /* ----------------------------------------------------*/
  470. @media only screen and (min-width : 768px) and (max-width : 992px) {
  471.  
  472. }
  473.  
  474.  
  475. /* ----------------------------------------------------*/
  476. /* Large Devices, Wide Screens */
  477. /* ----------------------------------------------------*/
  478. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  479.  
  480. }
Advertisement
Add Comment
Please, Sign In to add comment