RyanEarnshaw

Untitled

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