Advertisement
Konark

GreenSite#1 CSS

Jan 13th, 2017
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.74 KB | None | 0 0
  1. @import url(reset.css);
  2.  
  3. @import url('https://fonts.googleapis.com/css?family=Fjalla+One');
  4.  
  5. body {
  6.     background-color: #273242;
  7. }
  8.  
  9. .header{
  10.     width: 100%;
  11.     min-width: 1900px;
  12.     height: 72px;
  13.     background-color: #21af8d;
  14. }
  15.  
  16. .header2{
  17.     width: 1230px;
  18.     padding-top: 20px;
  19.     margin: 0 auto;
  20. }
  21.  
  22. .logo{
  23.     font-family: 'Fjalla One', sans-serif;
  24.     color: #fff;
  25.     font-size: 30px;
  26.     text-transform: uppercase;
  27.     float: left;
  28. }
  29.  
  30. .logo a {
  31.     text-decoration: none;
  32.     color: #fff;
  33. }
  34.  
  35. .social li {
  36.     float: left;
  37.     padding-right: 10px;
  38. }
  39.  
  40. .soc1 {
  41.     display: block;
  42.     width: 36px;
  43.     height: 36px;
  44.     background: url("../img/soc1.png") no-repeat;
  45. }
  46.  
  47. .soc2 {
  48.     display: block;
  49.     width: 36px;
  50.     height: 36px;
  51.     background: url("../img/soc2.png") no-repeat;
  52. }
  53.  
  54. .soc3 {
  55.     display: block;
  56.     width: 36px;
  57.     height: 36px;
  58.     background: url("../img/soc3.png") no-repeat;
  59. }
  60.  
  61. .social {
  62.     float: right;
  63. }
  64.  
  65. .search {
  66.     float: right;
  67. }
  68.  
  69. .search input {
  70.     width: 220px;
  71.     height: 35px;
  72.     background-color: #038b73;
  73.     border: 1px #038b73;
  74.     border-radius: 5px 5px 5px 5px;
  75.     background-image: url("../img/search-icon.png");
  76.     background-repeat: no-repeat;
  77.     background-position: 200px;
  78.  
  79. }
  80.  
  81. .search input:optional{
  82.     color: #21af8d;
  83.     font-family: 'Myriad Pro', sans-serif;
  84.     font-size: 14px;
  85.     padding-left: 10px;
  86. }
  87.  
  88. .wrapper{
  89.     width: 1230px;
  90.     margin: 0 auto;
  91. }
  92. .menu{
  93.     background-color: #52647a;
  94.     height: 80px;
  95.     margin-top: 40px;
  96.     border-radius: 5px 5px 0 0;
  97. }
  98.  
  99. .menu li{
  100.     width: 100px;
  101.     float: left;
  102.     color: #ffffff;
  103.     font-family: 'Fjalla One', sans-serif;
  104.     font-size: 14px;
  105.     height: 80px;
  106.     border-right: solid 2px;
  107.     border-color: #4c5d72;
  108.     padding-top: 38px;
  109.     box-sizing: border-box;
  110.     text-align: center;
  111.     text-transform: uppercase;
  112. }
  113.  
  114. .menu a{
  115.     text-decoration: none;
  116.     color: #ffffff;
  117. }
  118.  
  119. .menu a:visited {
  120.     color: #ffffff;
  121. }
  122.  
  123. .menu a:hover {
  124.     color: #ffffff;
  125.     text-decoration: underline;
  126. }
  127.  
  128. .menu .lihome {
  129.     border-left: solid 2px;
  130.     border-color: #4c5d72;
  131. }
  132.  
  133. .menu ul {
  134.     margin-left: 365px;
  135. }
  136.  
  137. .team {
  138.     width: 100%;
  139.     height: 448px;
  140.     background-color: #38475a;
  141. }
  142.  
  143. .team .team_text1 {
  144.     padding-top: 61px;
  145.     text-align: center;
  146.     color: #21af8d;
  147.     font-size: 20px;
  148.     font-family: 'Fjalla One', sans-serif;
  149.     text-transform: uppercase;
  150. }
  151.  
  152. .team .team_text2 {
  153.     padding-top: 5px;
  154.     text-align: center;
  155.     color: #7c8b9e;
  156.     font-size: 16px;
  157.     font-family: 'Myriad Pro', sans-serif;
  158. }
  159.  
  160. .team hr {
  161.     margin-top: 20px;
  162.     border: none;
  163.     height: 1px;
  164.     width: 58px;
  165.     background: #7c8b9e;
  166.     color: #7c8b9e;
  167.  
  168. }
  169.  
  170. .img_team1 {
  171.     width: 170px;
  172.     height: 170px;
  173.     background: url("../img/team1.png");
  174. }
  175.  
  176. .img_team2 {
  177.     width: 170px;
  178.     height: 170px;
  179.     background: url("../img/team2.png");
  180. }
  181.  
  182. .img_team3 {
  183.     width: 170px;
  184.     height: 170px;
  185.     background: url("../img/team3.png");
  186. }
  187.  
  188. .teams1 {
  189.     margin-left: 330px;
  190.     margin-top: 38px;
  191.     float: left;
  192.  
  193. }
  194.  
  195. .teams2 {
  196.     float: left;
  197.     margin-left: 30px;
  198.     margin-top: 38px;
  199.  
  200. }
  201.  
  202. .teams3 {
  203.     margin-left: 30px;
  204.     margin-top: 38px;
  205.     float: left;
  206. }
  207.  
  208. .team_img {
  209.     overflow: hidden;
  210. }
  211.  
  212.  
  213. .team_txt1{
  214.     color: #85dbc2;
  215.     font-size: 18px;
  216.     font-family: 'Fjalla One', sans-serif;
  217.     text-transform: uppercase;
  218.     padding-top: 25px;
  219. }
  220.  
  221. .team_txt2{
  222.     padding-top: 7px;
  223.     text-align: center;
  224.     color: #7c8b9e;
  225.     font-size: 14px;
  226.     font-family: 'Myriad Pro', sans-serif;
  227. }
  228.  
  229. .team_info {
  230.     width: 170px;
  231.     text-align: center;
  232.  
  233. }
  234.  
  235.  
  236. .content_wh {
  237.     width: 100%;
  238.     height: 328px;
  239.     background: #f7f7f7;
  240.     overflow: hidden;
  241. }
  242.  
  243. .content_wh .post1 {
  244.     width: 370px;
  245.     height: 208px;
  246.     padding-top: 60px;
  247.     padding-left: 30px;
  248.     float: left;
  249. }
  250.  
  251. .icon_post1 {
  252.     width: 40px;
  253.     height: 40px;
  254.     background: url("../img/icon1.png") no-repeat;
  255.     float: left;
  256.     padding-right: 20px;
  257. }
  258.  
  259. .icon_post2 {
  260.     width: 40px;
  261.     height: 40px;
  262.     background: url("../img/icon2.png") no-repeat;
  263.     float: left;
  264.     padding-right: 20px;
  265. }
  266.  
  267. .icon_post3 {
  268.     width: 40px;
  269.     height: 40px;
  270.     background: url("../img/icon3.png") no-repeat;
  271.     float: left;
  272.     padding-right: 20px;
  273. }
  274.  
  275. .content_wh h2 {
  276.     font-size: 20px;
  277.     font-family: 'Fjalla One', sans-serif;
  278.     text-transform: uppercase;
  279.     color: #465568
  280. }
  281.  
  282. .content_wh .post-descr {
  283.     padding-top: 5px;
  284.     color: #21af8d;
  285.     font-size: 16px;
  286.     font-family: 'Myriad Pro', sans-serif;
  287. }
  288.  
  289. .content_wh .post-text {
  290.     color: #8d8c8c;
  291.     padding-top: 25px;
  292.     font-size: 14px;
  293.     font-family: 'Myriad Pro', sans-serif;
  294.     line-height: 1.5;
  295. }
  296.  
  297. .button {
  298.     margin-top: 30px;
  299.     display: block;
  300.     width: 70px;
  301.     height: 32px;
  302.     background: url("../img/btn-more.png") no-repeat;
  303. }
  304.  
  305. .post-contacts {
  306.     width: 100%;
  307.     height: 547px;
  308.     background-color: #38475a;
  309.     border-radius: 0 0 5px 5px;
  310. }
  311.  
  312. .content {
  313.     padding-left: 30px;
  314.     padding-top: 31px;
  315.     width: 770px;
  316.     height: 428px;
  317.     float: left;
  318. }
  319.  
  320. .post-contacts .image-post {
  321.     width: 170px;
  322.     height: 184px;
  323.     border-radius: 5px;
  324.     float: left;
  325. }
  326.  
  327. .post-contacts .content-txt {
  328.     float: left;
  329.     padding-left: 30px;
  330.     width: 570px;
  331. }
  332.  
  333. .post-contacts h2 {
  334.     font-size: 20px;
  335.     font-family: 'Fjalla One', sans-serif;
  336.     text-transform: uppercase;
  337.     color: #21af8d;
  338. }
  339.  
  340. .post-contacts .content-descr {
  341.     padding-top: 5px;
  342.     color: #21af8d;
  343.     font-size: 16px;
  344.     font-family: 'Myriad Pro', sans-serif;
  345. }
  346.  
  347. .content-txt .content-text {
  348.     color: #7c8b9e;
  349.     padding-top: 25px;
  350.     font-size: 14px;
  351.     font-family: 'Myriad Pro', sans-serif;
  352.     line-height: 1.5;
  353. }
  354.  
  355. .content-txt .button {
  356.     margin-top: 22px;
  357. }
  358.  
  359. .post2 {
  360.     padding-top: 29px;
  361.     overflow: hidden;
  362. }
  363.  
  364. .content hr{
  365.     margin-top: 30px;
  366.     border: none;
  367.     height: 1px;
  368.     color: #495b72;
  369.     background-color: #495b72;
  370. }
  371.  
  372. .contact {
  373.     float: left;
  374.     width: 370px;
  375.     height: 430px;
  376.     padding-top: 60px;
  377.     padding-left: 30px;
  378.  
  379. }
  380.  
  381. .icon-contact {
  382.     background: url("../img/icon4.png") no-repeat;
  383.     width: 40px;
  384.     height: 40px;
  385.     float:left;
  386. }
  387.  
  388. .contact-title {
  389.     padding-left: 20px;
  390.     float:left;
  391. }
  392.  
  393. .contact-head {
  394.     overflow: hidden;
  395. }
  396.  
  397. .contact-input {
  398.     padding-top: 30px;
  399. }
  400.  
  401. .contact-input input {
  402.     width: 370px;
  403.     height: 40px;
  404.     margin-bottom: 20px;
  405.     background-color: #324052;
  406.     border: solid #415166 2px;
  407.     border-radius: 5px 5px 5px 5px;
  408. }
  409.  
  410. .contact-input textarea {
  411.     width: 370px;
  412.     height: 110px;
  413.     background-color: #324052;
  414.     border: solid #415166 2px;
  415.     border-radius: 5px 5px 5px 5px;
  416. }
  417.  
  418. .contact-input .button2 {
  419.     margin-top: 10px;
  420.     display: block;
  421.     background: url("../img/submit.png") no-repeat;
  422.     width: 70px;
  423.     height: 32px;
  424. }
  425.  
  426. .contact-input input::-webkit-input-placeholder {
  427.     font-family: 'Myriad Pro', sans-serif;
  428.     font-size: 14px;
  429.     color: #7c8b9e;
  430. }
  431.  
  432. .contact-input input:-moz-placeholder {
  433.     font-family: 'Myriad Pro', sans-serif;
  434.     font-size: 14px;
  435.     color: #7c8b9e;
  436. }
  437.  
  438. .contact-input textarea::-webkit-input-placeholder {
  439.     font-family: 'Myriad Pro', sans-serif;
  440.     font-size: 14px;
  441.     color: #7c8b9e;
  442. }
  443.  
  444. .contact-input textarea:-moz-placeholder {
  445.     font-family: 'Myriad Pro', sans-serif;
  446.     font-size: 14px;
  447.     color: #7c8b9e;
  448. }
  449.  
  450. .contact-input input:optional{
  451.     color: #7c8b9e;
  452.     font-family: 'Myriad Pro', sans-serif;
  453.     font-size: 14px;
  454.     padding-left: 10px;
  455. }
  456.  
  457. .contact-input textarea:optional {
  458.     color: #7c8b9e;
  459.     font-family: 'Myriad Pro', sans-serif;
  460.     font-size: 14px;
  461.     padding-left: 10px;
  462. }
  463.  
  464. .footer1 {
  465.     margin-top: 40px;
  466.     width: 100%;
  467.     min-width: 1900px;
  468.     height: 300px;
  469.     background-color: #21af8d;
  470. }
  471.  
  472. .foot-cont {
  473.     width: 1230px;
  474.     margin: 0 auto;
  475.     padding-top: 60px;
  476. }
  477.  
  478. .foot-div {
  479.     width: 170px;
  480.     padding-left: 30px;
  481.     float: left;
  482. }
  483.  
  484. .foot-div a {
  485.     text-decoration: none;
  486.     color: #fff;
  487. }
  488.  
  489. .foot-div a:hover {
  490.     color: #ffffff;
  491.     text-decoration: underline;
  492. }
  493.  
  494. .foot-div ul {
  495.     padding-top: 30px;
  496. }
  497.  
  498. .foot-div hr {
  499.     margin-top: 13px;
  500.     margin-bottom: 13px;
  501.     background: #54c2a7;
  502.     color: #54c2a7;
  503.     height: 1px;
  504.     border: none;
  505. }
  506.  
  507. .foot-div li {
  508.     flaot:left;
  509.     font-family: 'Myriad Pro', sans-serif;
  510.     font-size: 14px;
  511.     color: #fff;
  512. }
  513.  
  514. .foot-div h3 {
  515.     font-size: 20px;
  516.     font-family: 'Fjalla One', sans-serif;
  517.     text-transform: uppercase;
  518.     color: #fff;
  519. }
  520.  
  521. .footer2 {
  522.     width: 100%;
  523.     min-width: 1900px;
  524.     height: 92px;
  525.     background-color: #038b73;
  526. }
  527.  
  528. .copyright {
  529.     width: 1230px;
  530.     margin: 0 auto;
  531. }
  532.  
  533. .copyright p {
  534.     padding-left: 30px;
  535.     padding-top: 41px;
  536.     font-family: 'Myriad Pro', sans-serif;
  537.     font-size: 14px;
  538.     color: #ffffff;
  539. }
  540.  
  541. /* AdaptiveCSS */
  542.  
  543. @media only screen
  544. and (min-device-width: 320px)
  545. and (max-device-width: 568px){
  546.     .header{
  547.         width: 100%;
  548.         min-width: 100%;
  549.         max-width: 100%;
  550.         height: 160px;
  551.         background-color: #21af8d;
  552.     }
  553.  
  554.     .header2 {
  555.         width: 100%;
  556.         text-align: center;
  557.  
  558.     }
  559.  
  560.     .search {
  561.         padding-top: 10px;
  562.         float: none;
  563.     }
  564.  
  565.     .logo{
  566.         font-family: 'Fjalla One', sans-serif;
  567.         color: #fff;
  568.         font-size: 30px;
  569.         text-transform: uppercase;
  570.         float: none;
  571.     }
  572.  
  573.     .social {
  574.         padding-top: 10px;
  575.         width: 140px;
  576.         margin: 0 auto;
  577.         float: none;
  578.     }
  579.  
  580.     .menu {
  581.         width: 100%;
  582.         height: 40px;
  583.     }
  584.  
  585.     .menu li {
  586.        padding-top: 13px;
  587.         height: 40px;
  588.         width: 20%;
  589.     }
  590.  
  591.     .menu ul {
  592.         margin-left: 0px;
  593.     }
  594.     .wrapper {
  595.         width: 100%;
  596.     }
  597.  
  598.     .team {
  599.         width: 100%;
  600.         height: 920px;
  601.     }
  602.  
  603.     .teams1 {
  604.         width: 170px;
  605.         padding-top: 10px;
  606.         margin: 0 auto;
  607.         float: none;
  608.  
  609.     }
  610.  
  611.     .teams2 {
  612.         width: 170px;
  613.         padding-top: 30px;
  614.         margin: 0 auto;
  615.         float: none;
  616.  
  617.     }
  618.  
  619.     .teams3 {
  620.         width: 170px;
  621.         padding-top: 30px;
  622.         margin: 0 auto;
  623.         float: none;
  624.     }
  625.  
  626.     .content_wh {
  627.         width: 100%;
  628.         height: 100%;
  629.         background: #f7f7f7;
  630.     }
  631.  
  632.     .content_wh .post1 {
  633.         width: 320px;
  634.         height: 208px;
  635.         padding-top: 60px;
  636.         padding-bottom: 50px;
  637.     }
  638.  
  639.     .post-contacts {
  640.         width: 100%;
  641.         height: 100%;
  642.     }
  643.  
  644.     .content {
  645.         padding-top: 31px;
  646.         padding-left: 0px;
  647.         width: 90%;
  648.         float: none;
  649.     }
  650.  
  651.     .post-contacts .image-post {
  652.         width: 170px;
  653.         height: 184px;
  654.         border-radius: 5px;
  655.         float: none;
  656.         margin: 0 auto;
  657.     }
  658.  
  659.     .post-contacts .content-txt {
  660.         float: none;
  661.         width: 100%;
  662.     }
  663.  
  664.     .post-contacts h2 {
  665.         padding-top: 10px;
  666.         font-size: 20px;
  667.         font-family: 'Fjalla One', sans-serif;
  668.         text-transform: uppercase;
  669.         color: #21af8d;
  670.     }
  671.  
  672.     .content hr{
  673.         margin-top: 30px;
  674.         border: none;
  675.         width: 100%;
  676.         height: 1px;
  677.         color: #495b72;
  678.         background-color: #495b72;
  679.     }
  680.  
  681.     .contact {
  682.         float: none;
  683.         width: 300px;
  684.         height: 430px;
  685.     }
  686.  
  687.     .contact-input input {
  688.         width: 300px;
  689.         height: 40px;
  690.         margin-bottom: 20px;
  691.         background-color: #324052;
  692.         border: solid #415166 2px;
  693.         border-radius: 5px 5px 5px 5px;
  694.     }
  695.  
  696.     .contact-input textarea {
  697.         width: 300px;
  698.         height: 110px;
  699.         background-color: #324052;
  700.         border: solid #415166 2px;
  701.         border-radius: 5px 5px 5px 5px;
  702.     }
  703.  
  704.     .footer1 {
  705.         margin-top: 40px;
  706.         width: 100%;
  707.         min-width: 320px;
  708.         height: 100%;
  709.         background-color: #21af8d;
  710.     }
  711.  
  712.     .foot-cont {
  713.         width: 100%;
  714.         margin: 0 auto;
  715.         padding-top: 60px;
  716.     }
  717.  
  718.     .foot-div {
  719.         width: 170px;
  720.         float: none;
  721.         margin: 0 auto;
  722.         padding-bottom: 70px;
  723.     }
  724.  
  725.     .footer2 {
  726.         width: 100%;
  727.         min-width: 320px;
  728.         height: 100%;
  729.         background-color: #038b73;
  730.     }
  731.  
  732.     .copyright {
  733.         width: 100%;
  734.         margin: 0 auto;
  735.     }
  736.  
  737.     .copyright p {
  738.         padding-left: 30px;
  739.         padding-top: 20px;
  740.         padding-bottom: 20px;
  741.     }
  742. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement