Advertisement
-Annie-

styles-for-Golden-Page

Aug 16th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.03 KB | None | 0 0
  1. body {
  2.     font-family: 'Montserrat', sans-serif;
  3.     box-sizing: border-box;
  4. }
  5.  
  6. *, *::before, *::after  {
  7.     box-sizing: inherit;
  8. }
  9.  
  10. h1 {
  11.     font-size: 40px;
  12.     color: white;
  13.     font-family: Droid Serif;
  14.     text-align: center;
  15. }
  16.  
  17. h2 {
  18.     color: white;
  19.     padding: 0px 0px 2px;
  20.     font-size: 72px;
  21.     margin-top: 0;
  22. }
  23.  
  24. h3 {
  25.     font-size: 39px;
  26.     text-transform: uppercase;
  27.     padding: 70px 0 0;
  28.     margin-bottom: -7px;
  29. }
  30.  
  31. h4 {
  32.     padding-top: 200px;
  33.     font-size: 38px;
  34.     text-transform: uppercase;
  35.     margin-bottom: -11px;
  36.     padding: 69px 0 3px;
  37.     letter-spacing: 0px;
  38.     margin-right: 0px;
  39. }
  40.  
  41. p {
  42.     font-size: 16px;
  43.     color: #777777;
  44. }
  45.  
  46. section .grey-text {
  47.     font-size: 14px;
  48.     margin-top: 8px;
  49. }
  50.  
  51. section {
  52.     text-align: center;
  53.     padding-bottom: 100px;
  54. }
  55.  
  56. section .inner-wrapper > p {
  57.     overflow: hidden;
  58.     font-style: italic;
  59. }
  60.  
  61. section .grey-italic {
  62.     font-size: 16px;
  63.     font-family: Droid Serif;
  64.     font-style: italic;
  65. }
  66.  
  67. section .grey-roboto {
  68.     font-family: 'Roboto Slab', sans-serif;
  69.     font-size: 14px;
  70.     margin-top: 13px;
  71. }
  72.  
  73. a {
  74.     color: inherit;
  75. }
  76.  
  77. nav {
  78.     float: right;
  79.     text-transform: uppercase;
  80.     color: white;
  81.     padding: 0;
  82.     display: inline-block;
  83.     left: 0;
  84.     right: 0;
  85.     top: 100%;
  86. }
  87.  
  88. nav a {
  89.     font-size: 14px;
  90.     margin-left: 40px;
  91.     text-decoration: none;
  92.     transition: 1s padding;
  93.     display: block;
  94.      padding: 25px 0;
  95. }
  96.  
  97. img {
  98.     padding-top: 0px;
  99.     object-fit: cover;
  100.     border-style: none;
  101. }
  102.  
  103. section .final-grey-text {
  104.     font-family: 'Roboto Slab', sans-serif;
  105.     font-size: 16px;
  106.     margin-top: -112px;
  107. }
  108.  
  109.  img {
  110.  max-width: 100%
  111. }
  112.  
  113. .header {
  114.     font-size: 18px;
  115.     color: #2b2b2b;
  116.     text-transform: uppercase;
  117.     color: black;
  118.     text-transform: none;
  119.     font-weight: bold;
  120. }
  121.  
  122. .page-header {
  123.     position: fixed;
  124.     top: 0;
  125.     left: 0;
  126.     right: 0;
  127.     transition: 1s background-color;
  128. }
  129.  
  130. .past-main {
  131.     background-color: #222;
  132. }
  133.  
  134. .past-main .logo {
  135.     padding: 18px 0;
  136. }
  137.  
  138. .past-main nav a {
  139.     padding: 22px 0;
  140. }
  141.  
  142.  
  143. .logo {
  144.     float: left;
  145.     margin-left: 7px;
  146.     padding: 43px 0;
  147.     transition: 1s padding;
  148. }
  149.  
  150. .block p {
  151.     font-family: 'Montserrat', sans-serif;
  152.     padding: 1px;
  153.     letter-spacing: -1px;
  154. }
  155.  
  156. .inner-wrapper {
  157.     max-width: 960px;
  158.     margin: 0 auto;
  159.     padding: 3px 10px;
  160.     text-align: center;
  161. }
  162.  
  163. .inner-wrapper h1 {
  164.     font-weight: normal;
  165.     font-style: italic;
  166.     padding: 244px 0 0;
  167.     letter-spacing: -1px;
  168. }
  169.  
  170. .inner-wrapper h2 {
  171.     letter-spacing: 0px;
  172. }
  173.  
  174. .inner-wrapper:after {
  175.    content: "";
  176.    display: table;
  177.    clear: both;
  178. }
  179.  
  180. /* buttons */
  181.  
  182. .button {
  183.     font-size: 18px;
  184.     color: white;
  185.     text-decoration: none;
  186.     text-transform: uppercase;
  187.     background-color: #fed136;
  188.     border: none;
  189.     padding: 21px 50px;
  190.     text-align: center;
  191.     border-radius: 2px;
  192.     display: inline-block  
  193.     margin-top: 8px;
  194.     margin-top: -23px;
  195. }
  196.  
  197. .button-round {
  198.     padding: 40px 10px;
  199.     display: block;
  200.     border-radius: 50%;
  201.     width: 168px;
  202.     height: 168px;
  203.     margin: 0 auto;
  204.     margin-top: 54px;
  205.     margin-bottom: 33px;
  206.     border: 5px solid #f1f1f1;
  207. }
  208.  
  209. .navigation-buttons {
  210.     font-size: 14px;
  211.     text-align: right;
  212. }
  213.  
  214. /* first section */
  215.  
  216. #first-section {
  217.     overflow: hidden;
  218.     height: 700px;
  219.     padding-top: 1px;
  220.     background: url("../images/header.jpg") no-repeat center;;
  221.     background-size: cover;
  222. }
  223.  
  224. @media only screen and (max-width: 800px) {
  225.     #first-section h1 {
  226.     margin-right: 0;
  227.     float: none;
  228.     margin: 0 auto;
  229.     }
  230. }
  231. /* second section */
  232.  
  233. #second-section .block {
  234.     float: left;
  235.     width: 310px;
  236.     overflow: hidden;
  237.     margin-top: 60px;
  238.     width: 32.29%;
  239.     margin-right: 1.5625%;
  240. }
  241.  
  242. #second-section .block:nth-child(3) {
  243.     margin-right: 0;
  244. }
  245.  
  246. @media only screen and (max-width: 640px) {
  247.     #second-section .block {
  248.         width: 100%;
  249.         margin-right: 0;
  250.     }
  251. }
  252.  
  253. /* third section */
  254.  
  255. #third-section .block {
  256.     float: left;
  257.     width: 310px;
  258.     overflow: hidden;
  259.     margin-top: 41px;
  260.     width: 30.20%;
  261.     margin-right: 4.6875%;
  262. }
  263.  
  264. #third-section .block:nth-of-type(3n+3) {
  265.     margin-right: 0;
  266. }
  267.  
  268. @media only screen and (max-width: 800px) {
  269.     #third-section .block {
  270.         width: 100%;
  271.         margin-right: 0;
  272.     }
  273. }
  274.  
  275. /* fourth section */
  276.  
  277. #fourth-section .header {
  278.     margin:0 ;
  279. }
  280.  
  281. #fourth-section .block:nth-of-type(even) .block-content{
  282.     float: right;
  283.     text-align: left;
  284. }
  285.  
  286. #fourth-section .block:after {
  287.     content: "";
  288.     display: table;
  289.     clear: both;
  290. }
  291.  
  292. #fourth-section .block {
  293.     position: relative;
  294.     min-height: 200px;
  295.     margin-top: 80px;
  296. }
  297.  
  298. .image-wrapper {
  299.     position: absolute;
  300.     top: 0;
  301.     left: 50%;
  302.     margin-left: -93px;
  303.     border: 5px solid #f1f1f1;
  304. }
  305.  
  306. .block-content {
  307.     float: left;
  308.     text-align: right;
  309.     width: calc(50% - 125px);
  310. }
  311.  
  312. /* fifth - section */
  313.  
  314. #fifth-section .block {
  315.     float: left;
  316.     width: 310px;
  317.     overflow: hidden;
  318.     width: 22.91%;
  319.     margin-right: 15.625%;
  320. }
  321.  
  322. #fifth-section .block:nth-of-type(3) {
  323.     margin-right: auto;
  324. }
  325.  
  326. @media only screen and (max-width: 800px) {
  327.     #fifth-section .block {
  328.     width: 250px;
  329.     margin-right: 0;
  330.     float: none;
  331.     margin: 0 auto;
  332.     }
  333. }
  334.  
  335. #fifth-section .header {
  336.     font-size: 16px;
  337.     padding-top: 6px;
  338.     letter-spacing: 0px;
  339.     margin-bottom: -14px;
  340. }
  341.  
  342. #fifth-section p {
  343.     margin-bottom: 11px;
  344. }
  345.  
  346. .team-images {
  347.     overflow: hidden;
  348.     border-radius: 50%;
  349.     margin: 73px auto;
  350.     height: 0;
  351.     width: 100%;
  352.     margin-bottom: 4px;
  353.     padding-bottom: 100%;
  354.     position: relative;
  355. }
  356.  
  357.  
  358. .team-images img {
  359.     position: absolute;
  360.     top: 0;
  361.     left: 0;
  362.     height: 100%;
  363.     width: 100%;
  364. }
  365.  
  366. /* sponsors */
  367.  
  368. .sponsors {
  369.     display: table;
  370.     overflow: hidden;
  371.     margin: 0 auto;
  372. }
  373.  
  374. .sponsors img {
  375.     display: inline-block;
  376.     margin: 25px;
  377.     margin-top: 7px;
  378.     width: 153px;
  379.     height: 100%;
  380.     margin: 12px 25px 56px;
  381. }
  382.  
  383. .sponsors img:nth-of-type(3) {
  384.     margin-right: auto;
  385. }
  386.  
  387. @media only screen and (max-width: 800px) {
  388.     .sponsors {
  389.         text-align: center;
  390.     }
  391. }
  392.     .sponsors img {
  393.     width: 250px;
  394.     margin-right: 0;
  395. }
  396. /* seventh section */
  397.  
  398. #seventh-section {
  399.     min-height: 649px;
  400.     padding-top: 1px;
  401.     background: #222 url("../images/map1.png") no-repeat center right;
  402.     overflow: hidden;
  403. }
  404.  
  405. #seventh-section h3 {
  406.     color: white;
  407.     letter-spacing: -1px;
  408.     margin-bottom: -3px;
  409.     margin-top: 28px;
  410. }
  411.  
  412. #seventh-section .name-email-subject input {
  413.     font-size: 14px;
  414.     padding-left: 16px;
  415. }
  416.  
  417. #seventh-section textarea {
  418.     font-size: 14px;
  419.     padding: 16px;
  420. }
  421.  
  422. .mail-message textarea {
  423.     float: right;
  424.     width: 100%;
  425.     height: 210px;
  426.     text-transform: uppercase;
  427.     font-size: 18px;
  428. }
  429.  
  430. .name-email-subject {
  431.     width: 455px;
  432.     float: left;
  433.     font-size: 14px;
  434.     text-decoration: bold;
  435.     width: 47.395%;
  436.     margin: 0 auto;
  437. }
  438.  
  439. .name-email-subject input {
  440.     display: block;
  441.     width: 100%;
  442.     height: 50px;
  443.     text-transform: uppercase;
  444.     margin-bottom: 30px;
  445. }
  446.  
  447. .mail-message {
  448.     width: 455px;
  449.     width: 47.395%;
  450.     display: inline-block;
  451.     margin: 0 auto;
  452. }
  453.  
  454. .mail-form {
  455.     margin-bottom: 30px;
  456.     margin-top: 73px;
  457. }
  458.  
  459. @media only screen and (max-width: 640px) {
  460.     .name-email-subject,
  461.     .mail-message {
  462.     float: none;
  463.     width: 100%
  464.     }
  465. }
  466.  
  467. .mail-form:after {
  468.     content: "";
  469.     display: table;
  470.     clear: both;
  471. }
  472.  
  473. .image-wrapper {
  474.     border-radius: 50%;
  475.     width: 168px;
  476.     height: 168px;
  477.     margin: 0 auto;
  478. }
  479.  
  480. .social-icons a {
  481.     font-size: 20px;
  482.     background-color: white;
  483.     color: black;
  484.     margin: auto;
  485.     border-radius: 50%;
  486.     border: 3px solid #111111;
  487.     display: inline-block;
  488.     width: 40px;
  489.     height: 40px;
  490.     padding: 5px;
  491.     margin-bottom: 160px;
  492. }
  493.  
  494.  /* footer */
  495.  
  496. #footer .inner-wrapper {
  497.     position: relative;
  498.     padding-top: 22px; 
  499. }
  500.  
  501. #footer p {
  502.     position: absolute;
  503.     left: 0;
  504.     top: 0;
  505.     font-size: 14px;
  506.     font-family: 'Montserrat', sans-serif;
  507.     margin-top: 34px;
  508. }
  509.  
  510. #footer a {
  511.     overflow: hidden;
  512.     text-align: center;
  513.     font-size: 16px;
  514.     padding: 10px;
  515.     background-color: black;
  516.     color: white;
  517.     border-radius: 50%;
  518.     width: 40px;
  519.     height: 40px;
  520.     display: inline-block;
  521. }
  522.  
  523. @media only screen and (max-width: 640px) {
  524.     #footer p {
  525.     float: none;
  526.     width: 100%;
  527.     position: relative;
  528.     }
  529. }
  530.  
  531. section .grey {
  532.     font-size: 14px;
  533.     font-family: Droid Serif;
  534.     font-style: italic;
  535.     letter-spacing: 0px;
  536.     margin-top: -18px;
  537.     padding-bottom: 21px;
  538.     padding-right: 21px;
  539. }
  540.  
  541. .block:last-of-type .image-wrapper:after {
  542.     display: none;
  543. }
  544.  
  545. .image-wrapper img {
  546.     border-radius: 50%;
  547.     width: 100%;
  548.     height: 100%;
  549.  }
  550.  
  551.  .image-wrapper:after {
  552.     content: '';
  553.     width: 2px;
  554.     height: 137px;
  555.     background-color: #f1f1f1;
  556.     position: absolute;
  557.     top: 100%;
  558.     left: 50%;
  559.     margin-left: -1px;
  560. }
  561.  
  562. ul {
  563.     list-style: none;
  564.     display: inline-block;
  565.     margin: 0 auto;
  566. }
  567.  
  568. li {
  569.     float: left;
  570. }
  571.  
  572. .active {
  573.     color: #fff !important;
  574.     text-decoration: underline !important;
  575.     -webkit-transform: translate3d(0, 0, 0);
  576.     -moz-transform: translate3d(0, 0, 0);
  577.     -o-transform: translate3d(0, 0, 0);
  578.     -ms-transform: translate3d(0, 0, 0);
  579.     transform: translate3d(0, 0, 0);
  580. }
  581. ul.topnav {
  582.   list-style-type: none;
  583.   margin: 0;
  584.   padding: 0;
  585.   overflow: hidden;
  586.   background-color: #333;
  587. }
  588.  
  589. ul.topnav li {float: left;}
  590.  
  591. ul.topnav li a {
  592.   display: inline-block;
  593.   color: #f2f2f2;
  594.   text-align: center;
  595.   text-decoration: none;
  596.   transition: 0.3s;
  597.   font-size: 17px;
  598. }
  599.  
  600. ul.topnav li a:hover {background-color: #555;}
  601.  
  602. ul.topnav li.icon {
  603.     display: none;
  604. }
  605.  
  606. .menu-button {
  607.     display: none;
  608. }
  609.  
  610. .menu-button-nav {
  611.     display: none;
  612. }
  613.  
  614. @media only screen and (max-width: 640px) {
  615.     .block-content {
  616.     float: right;
  617.     text-align: left;
  618.     width: calc(100% - 90px);
  619.     }
  620.     .image-wrapper img {
  621.     float: right;
  622.     }
  623.     .image-wrapper {
  624.     float: left;
  625.     position: initial;
  626.     margin-left: 0;
  627.     width: 80px;
  628.     height: 80px;
  629.     }
  630.     .image-wrapper:after {
  631.     display: none;
  632.     }
  633.     .inner-wrapper h2 {
  634.     font-size: 44px;
  635.     }
  636.     .button {
  637.     font-size: 12px;
  638.      }
  639.     .inner-wrapper h1 {
  640.     font-size: 32px;
  641.     }
  642.     #first-section h1 {
  643.     margin-bottom: 61px;
  644.     margin-top: -39px;
  645.     }
  646.     h3 {
  647.     font-size: 20px;
  648.     }
  649.     ul.topnav li:not(:first-child) {display: none;}
  650.     ul.topnav li.icon {
  651.     float: right;
  652.     display: inline-block;
  653.     }
  654.     ul.topnav.responsive {position: relative;}
  655.     ul.topnav.responsive li.icon {
  656.     position: absolute;
  657.     right: 0;
  658.     top: 0;
  659.     }
  660.     ul.topnav.responsive li {
  661.     float: none;
  662.     display: inline;
  663.     }
  664.     ul.topnav.responsive li {
  665.     float: none;
  666.     display: inline;
  667.     }
  668.     ul.topnav.responsive li a {
  669.     display: block;
  670.     text-align: left;
  671.     }
  672.     nav {
  673.     background-color: #33001a;
  674.     position: absolute;
  675.    }
  676.    li {
  677.     float: none;
  678.     }
  679.     .menu-button {
  680.     display: inline;
  681.     color: white;
  682.     float: right;
  683.     font-size: 40px;
  684.     text-decoration: none;
  685.     margin-top: 30px;
  686.     }
  687.     nav a {
  688.     display: inline-block;
  689.     margin: 0 auto;
  690.     }
  691. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement