Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.93 KB | None | 0 0
  1. /*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */
  2.  
  3. /* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
  4. /*
  5. * What follows is the result of much research on cross-browser styling.
  6. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
  7. * Kroc Camen, and the H5BP dev community and team.
  8. */
  9.  
  10. /* ==========================================================================
  11. Base styles: opinionated defaults
  12. ========================================================================== */
  13.  
  14. html {
  15. color: #222;
  16. font-size: 1em;
  17. line-height: 1.4;
  18. }
  19.  
  20. /*
  21. * Remove text-shadow in selection highlight:
  22. * https://twitter.com/miketaylr/status/12228805301
  23. *
  24. * Vendor-prefixed and regular ::selection selectors cannot be combined:
  25. * https://stackoverflow.com/a/16982510/7133471
  26. *
  27. * Customize the background color to match your design.
  28. */
  29.  
  30. ::-moz-selection {
  31. background: #b3d4fc;
  32. text-shadow: none;
  33. }
  34.  
  35. ::selection {
  36. background: #b3d4fc;
  37. text-shadow: none;
  38. }
  39.  
  40. /*
  41. * A better looking default horizontal rule
  42. */
  43.  
  44. hr {
  45. display: block;
  46. height: 1px;
  47. border: 0;
  48. border-top: 1px solid #ccc;
  49. margin: 1em 0;
  50. padding: 0;
  51. }
  52.  
  53. /*
  54. * Remove the gap between audio, canvas, iframes,
  55. * images, videos and the bottom of their containers:
  56. * https://github.com/h5bp/html5-boilerplate/issues/440
  57. */
  58.  
  59. audio,
  60. canvas,
  61. iframe,
  62. img,
  63. svg,
  64. video {
  65. vertical-align: middle;
  66. }
  67.  
  68. /*
  69. * Remove default fieldset styles.
  70. */
  71.  
  72. fieldset {
  73. border: 0;
  74. margin: 0;
  75. padding: 0;
  76. }
  77.  
  78. /*
  79. * Allow only vertical resizing of textareas.
  80. */
  81.  
  82. textarea {
  83. resize: vertical;
  84. }
  85.  
  86. /* ==========================================================================
  87. Browser Upgrade Prompt
  88. ========================================================================== */
  89.  
  90. .browserupgrade {
  91. margin: 0.2em 0;
  92. background: #ccc;
  93. color: #000;
  94. padding: 0.2em 0;
  95. }
  96.  
  97. /* ==========================================================================
  98. Author's custom styles
  99. ========================================================================== */
  100. @font-face {
  101. font-family: 'Bariol';
  102. src: url('../fonts/Bariol-Regular.woff2') format('woff2'),
  103. url('../fonts/Bariol-Regular.woff') format('woff'),
  104. url('../fonts/Bariol-Regular.ttf') format('truetype');
  105. font-weight: normal;
  106. font-style: normal;
  107. }
  108.  
  109. @font-face {
  110. font-family: 'Bariol';
  111. src: url('../fonts/BariolRegular-Italic.woff2') format('woff2'),
  112. url('../fonts/BariolRegular-Italic.woff') format('woff'),
  113. url('../fonts/BariolRegular-Italic.ttf') format('truetype');
  114. font-weight: normal;
  115. font-style: italic;
  116. }
  117.  
  118. h1, h2, h3, h4, h5, h6, p{
  119. margin: 0;
  120. text-align: center;
  121. }
  122.  
  123. html{
  124. font-family: 'Bariol';
  125. }
  126.  
  127. .wrapper {
  128. max-width: 960px;
  129. margin: 0 auto;
  130. }
  131.  
  132. header {
  133. background-color: #F56262;
  134. }
  135.  
  136. header h1, header p{
  137. text-align: left;
  138. }
  139.  
  140. header .wrapper{
  141. display: flex;
  142. justify-content: space-between;
  143. align-items: center;
  144. padding: 20px 0px;
  145. }
  146.  
  147. header nav a{
  148. margin: 10px;
  149. color: white;
  150. text-decoration: none;
  151. font-weight: bold;
  152. font-family: 'Arial';
  153. padding: 10px;
  154. }
  155.  
  156. header nav a:hover {
  157. background-color: black;
  158. border-radius: 5px;
  159. }
  160.  
  161. header nav a:last-child {
  162. margin-right: -10px;
  163. }
  164.  
  165. .fold {
  166. position: absolute;
  167. top: 0px;
  168. right: 0px;
  169. height: 108px;
  170. }
  171.  
  172. .logo{
  173. flex-grow: 1;
  174. }
  175.  
  176. .logo img{
  177. float: left;
  178. margin-right: 5px;
  179. }
  180.  
  181. .logo h1, .logo p{
  182. margin: 0;
  183. color: white;
  184. }
  185.  
  186. .logo h1{
  187. margin-bottom: -8px;
  188. }
  189.  
  190. .hero img{
  191. max-width: 100%;
  192. }
  193.  
  194. .hero{
  195. text-align: center;
  196. background-color: #eb4f4e;
  197. color: white;
  198. display: flex;
  199. align-items: center;
  200. justify-content: space-around;
  201. }
  202.  
  203. .hero h2{
  204. padding-top: 30px;
  205. font-size: 3em;
  206. letter-spacing: 8px;
  207. }
  208.  
  209. .hero p{
  210. margin-top: 0px;
  211. font-size: 1.2em;
  212. font-weight: bold;
  213. }
  214.  
  215. .hero .wrapper{
  216. margin: 0;
  217. }
  218.  
  219. .arrow{
  220. font-size: 8em;
  221. font-weight: 100;
  222. }
  223.  
  224. #properties h2, #team h2 {
  225. font-size: 2em;
  226. letter-spacing: 6px;
  227. }
  228.  
  229. h2 span {
  230. font-weight: normal;
  231. }
  232.  
  233. #properties{
  234. background-color: #232325;
  235. padding: 20px 0px;
  236. }
  237.  
  238. #properties h2, #properties h3{
  239. color:#FFFFFF;
  240. }
  241.  
  242. .property {
  243. display: flex;
  244. align-items: center;
  245. flex-direction: column;
  246. width: 25%;
  247. margin-top: 40px;
  248. }
  249.  
  250. #properties p{
  251. color: #eb4f4e;
  252. }
  253.  
  254. .round {
  255. background-color: #E74C3C;
  256. border-radius: 50%;
  257. height: 60px;
  258. width: 60px;
  259. display: flex;
  260. justify-content: center;
  261. align-items: center;
  262. padding: 10px;
  263. overflow: hidden;
  264. }
  265.  
  266. #giftwrap {
  267. padding: 0;
  268. height: 80px;
  269. width: 80px;
  270. }
  271.  
  272. .round img {
  273. width: 100%;
  274. }
  275.  
  276. .row {
  277. display: flex;
  278. justify-content: space-around;
  279. }
  280.  
  281. #team{
  282. background-color: #6CC372;
  283. }
  284.  
  285. #team h2{
  286. color:#FFFFFF;
  287. }
  288.  
  289. #team h3{
  290. color: #83C879;
  291. padding-top: 8px;
  292. padding-bottom: 8px;
  293. }
  294.  
  295.  
  296. #team p{
  297. color: #000000;
  298. padding-bottom: 14px;
  299. }
  300.  
  301. .person {
  302. background-color: #FFFFFF;
  303. padding: 20px;
  304. }
  305.  
  306. .person img {
  307. border: 8px solid #6CC372;
  308. border-radius: 90px;
  309. }
  310.  
  311. .person button {
  312. border: none;
  313. color: white;
  314. background-color: #6CC372;
  315. padding: 10px;
  316. margin-top: 20px;
  317. margin-left: 33%;
  318. }
  319.  
  320.  
  321.  
  322. /* ==========================================================================
  323. Helper classes
  324. ========================================================================== */
  325.  
  326. /*
  327. * Hide visually and from screen readers
  328. */
  329.  
  330. .hidden {
  331. display: none !important;
  332. }
  333.  
  334. /*
  335. * Hide only visually, but have it available for screen readers:
  336. * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
  337. *
  338. * 1. For long content, line feeds are not interpreted as spaces and small width
  339. * causes content to wrap 1 word per line:
  340. * https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
  341. */
  342.  
  343. .sr-only {
  344. border: 0;
  345. clip: rect(0, 0, 0, 0);
  346. height: 1px;
  347. margin: -1px;
  348. overflow: hidden;
  349. padding: 0;
  350. position: absolute;
  351. white-space: nowrap;
  352. width: 1px;
  353. /* 1 */
  354. }
  355.  
  356. /*
  357. * Extends the .sr-only class to allow the element
  358. * to be focusable when navigated to via the keyboard:
  359. * https://www.drupal.org/node/897638
  360. */
  361.  
  362. .sr-only.focusable:active,
  363. .sr-only.focusable:focus {
  364. clip: auto;
  365. height: auto;
  366. margin: 0;
  367. overflow: visible;
  368. position: static;
  369. white-space: inherit;
  370. width: auto;
  371. }
  372.  
  373. /*
  374. * Hide visually and from screen readers, but maintain layout
  375. */
  376.  
  377. .invisible {
  378. visibility: hidden;
  379. }
  380.  
  381. /*
  382. * Clearfix: contain floats
  383. *
  384. * For modern browsers
  385. * 1. The space content is one way to avoid an Opera bug when the
  386. * `contenteditable` attribute is included anywhere else in the document.
  387. * Otherwise it causes space to appear at the top and bottom of elements
  388. * that receive the `clearfix` class.
  389. * 2. The use of `table` rather than `block` is only necessary if using
  390. * `:before` to contain the top-margins of child elements.
  391. */
  392.  
  393. .clearfix:before,
  394. .clearfix:after {
  395. content: " ";
  396. /* 1 */
  397. display: table;
  398. /* 2 */
  399. }
  400.  
  401. .clearfix:after {
  402. clear: both;
  403. }
  404.  
  405. /* ==========================================================================
  406. EXAMPLE Media Queries for Responsive Design.
  407. These examples override the primary ('mobile first') styles.
  408. Modify as content requires.
  409. ========================================================================== */
  410.  
  411. @media only screen and (min-width: 35em) {
  412. /* Style adjustments for viewports that meet the condition */
  413. }
  414.  
  415. @media print,
  416. (-webkit-min-device-pixel-ratio: 1.25),
  417. (min-resolution: 1.25dppx),
  418. (min-resolution: 120dpi) {
  419. /* Style adjustments for high resolution devices */
  420. }
  421.  
  422. /* ==========================================================================
  423. Print styles.
  424. Inlined to avoid the additional HTTP request:
  425. https://www.phpied.com/delay-loading-your-print-css/
  426. ========================================================================== */
  427.  
  428. @media print {
  429. *,
  430. *:before,
  431. *:after {
  432. background: transparent !important;
  433. color: #000 !important;
  434. /* Black prints faster */
  435. box-shadow: none !important;
  436. text-shadow: none !important;
  437. }
  438. a,
  439. a:visited {
  440. text-decoration: underline;
  441. }
  442. a[href]:after {
  443. content: " (" attr(href) ")";
  444. }
  445. abbr[title]:after {
  446. content: " (" attr(title) ")";
  447. }
  448. /*
  449. * Don't show links that are fragment identifiers,
  450. * or use the `javascript:` pseudo protocol
  451. */
  452. a[href^="#"]:after,
  453. a[href^="javascript:"]:after {
  454. content: "";
  455. }
  456. pre {
  457. white-space: pre-wrap !important;
  458. }
  459. pre,
  460. blockquote {
  461. border: 1px solid #999;
  462. page-break-inside: avoid;
  463. }
  464. /*
  465. * Printing Tables:
  466. * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
  467. */
  468. thead {
  469. display: table-header-group;
  470. }
  471. tr,
  472. img {
  473. page-break-inside: avoid;
  474. }
  475. p,
  476. h2,
  477. h3 {
  478. orphans: 3;
  479. widows: 3;
  480. }
  481. h2,
  482. h3 {
  483. page-break-after: avoid;
  484. }
  485. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement