Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.47 KB | None | 0 0
  1. *{
  2.   margin: 0;
  3.   padding: 0;
  4.   box-sizing: border-box;
  5. }
  6.  
  7. body {
  8.   font-family: 'Permanent Maker', cursive;
  9. }
  10.  
  11.  
  12. /*  ##############  HEADER SECTION #################  */
  13.  
  14. /* navigation */
  15.  
  16. .nav-links {
  17.   list-style-type: none;
  18.   display: none;   /* */
  19. }
  20.  
  21.  
  22.  
  23. .nav-links a {
  24.   display: block;
  25.   text-decoration: none;
  26.   padding: 20px;
  27.   text-transform: uppercase;
  28.   background: #191919;
  29.   font-size: 17px;
  30.   color: #8fcbfd;
  31.   transition: color 0.5s ease, background 0.5s ease, padding 0.5s ease;
  32. }
  33.  
  34. .nav-links a:hover {
  35.   background:#919191;
  36.   color: #03243e;
  37.   padding-left: 40px;
  38. }
  39.  
  40. .nav-icons {
  41.   display: none;   /* dissapear on smaller screen */
  42. }
  43.  
  44. .nav-container {
  45.   padding: 0 20px;
  46.   background: rgba(255,255,255,0.5);
  47.   border-bottom: 5px solid #8fcbfd;
  48.   display: flex;
  49.   justify-content: space-between;
  50. }
  51.  
  52. .nav-container img {
  53.   width: 100px;
  54.   height: 100px;
  55.   align-self: center;
  56. }
  57.  
  58. .bar1,
  59. .bar2,
  60. .bar3 {
  61.   width: 25px;
  62.   height: 4px;
  63.   margin: 5px;
  64.   background:#8fcbfd;
  65.   transition: transform 0.5s ease, opacity 0.5s ease; /* for change class in button */
  66. }
  67.  
  68. .button {
  69.   padding: 2px;
  70.   display: inline-block;
  71.   border: 4px solid #8fcbfd;
  72.   cursor: pointer;
  73.   align-self: center;
  74. }
  75.  
  76. .change .bar1 {
  77.   transform: rotate(-45deg) translate(-7px,7px);
  78.  
  79. }
  80. .change .bar2 {
  81.   opacity: 0;
  82. }
  83.  
  84. .change .bar3 {
  85.   transform: rotate(45deg) translate(-7px,-8px);
  86. }
  87.  
  88. /*   end of navigation   */
  89.  
  90.  
  91.  
  92. /*   header    */
  93. header {
  94.   min-height: 100vh;
  95.   background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/banner5.jpeg) /* center/cover fixed no-repeat */;
  96.   background-position: center;
  97.   background-size: cover;
  98.   background-attachment: fixed;
  99.   background-repeat: no-repeat;
  100.  
  101.   display: flex;  /* it is a flexbox container with 2 childs banner & nav*/
  102.   flex-direction: column;
  103. }
  104.  
  105. nav {
  106.   flex: 0 0 auto;
  107. }
  108.  
  109. .banner {
  110.   flex: 1 0 auto;
  111.   display: flex; /* has one child div -> bannerCard*/
  112.   align-items: center;
  113.   justify-content: center;
  114. }
  115. /*   end of header   */
  116.  
  117. /*   banner  */
  118. .bannerCard {
  119.   flex: 0 0 90%;
  120.   text-align: center;
  121.   padding: 100px 0;
  122.   outline: 1px solid #191919;
  123.  outline-offset: -10px;
  124.  background: rgba(255,255,255,0.5);
  125. }
  126.  
  127. .bannerCard h1 {
  128.   font-size: 40px;
  129.   color: #8fcbfd;
  130.   text-transform: uppercase;
  131.   font-style: italic;
  132. }
  133.  
  134. .bannerCard span {
  135.   color: #03243e;
  136. }
  137.  
  138. .bannerCard h3 {
  139.   margin-top: 10px;
  140.   letter-spacing: 10px;
  141.   text-transform: capitalize;
  142. }
  143.  
  144. /*   end of banner  */
  145.  
  146. @media screen and (min-width: 992px) {
  147.       .button {
  148.         display: none;
  149.       }
  150.       nav {
  151.         display: flex;
  152.         flex-wrap: wrap;
  153.         justify-content: space-around;
  154.       }
  155.    
  156.  
  157.       .nav-container {
  158.         background: transparent;
  159.         border-bottom: none;
  160.         flex: 0 0 auto;
  161.       }
  162.       .nav-links {
  163.         display: flex !important;
  164.         padding: 0 20px;
  165.         flex: 1 0 auto;
  166.         justify-content: flex-start;
  167.         flex-wrap: wrap;
  168.         align-self: center;
  169.       }
  170.       .nav-links li {
  171.         flex: 1 0 auto;
  172.       }
  173.       .nav-links a {
  174.         background: transparent;
  175.         text-align: center;
  176.         border-radius: 5px;
  177.         padding: 20px 10px;
  178.       }
  179.       .nav-links a:hover {
  180.         padding-left: 10px;
  181.       }
  182.       .nav-icons {
  183.         flex: 1 0 auto;
  184.         display: flex;
  185.         flex-wrap: wrap;
  186.         align-self: center;
  187.         justify-content: space-around;
  188.       }
  189.  
  190.       .nav-icons li {
  191.         flex: 1 0 auto;
  192.         text-align: center;
  193.         list-style-type: none
  194.         padding: 0  20px;
  195.       }
  196.       .nav-icons  a {
  197.         font-size: 30px;
  198.         color: #8fcbfd;
  199.         transition: color 0.5s ease;
  200.       }
  201.       .nav-icons a:hover {
  202.           color: #f5f3f5;
  203.       }
  204.  
  205.       .bannerCard {
  206.         flex: 0 0 70%;
  207.       }
  208. }
  209.  
  210. nav {
  211.   position: fixed;
  212.   width: 100%;
  213.   z-index: 10;
  214.   transition: background 0.5s ease;
  215. }
  216.  
  217. .navBackground {
  218.   background: rgba(0,0,0,0.5);
  219. }
  220.  
  221.  
  222.  
  223. /*  ##############  END OF HEADER SECTION #################  */
  224.  
  225.  
  226. /*  ##############  SKILLS SECTION #################  */
  227. .skills {
  228.  background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(../img/skills.jpeg); /* center/cover fixed no-repeat */
  229.   background-attachment: fixed;
  230.   background-position: center;
  231.   background-repeat: no-repeat;
  232.   background-size: cover;
  233.   padding: 40px 0;
  234. }
  235.  
  236. .skills-center {
  237.   width: 90%;
  238.   margin: 0 auto;
  239. }
  240.  
  241. .skill {
  242.   text-align: center;
  243.   margin: 30px 0;
  244.   color: #f5f3f5;
  245. }
  246.  
  247. .skill a {
  248.   font-size: 80px;
  249.   color: #8fcbfd;
  250. }
  251.  
  252. .skill h1 {
  253.   font-size: 30px
  254.   font-style: italic;
  255.   text-transform: uppercase;
  256.   margin: 0 0 10px 0;
  257. }
  258.  
  259. .skill p {
  260.   line-height: 2;
  261.   letter-spacing: 5px;
  262. }
  263.  
  264. @media  screen and (min-width: 776px) {
  265.   .skills-center {
  266.     display: flex;
  267.     flex-wrap: wrap;
  268.     justify-content: space-between;
  269.   }
  270.   .skill {
  271.     flex:0 0 calc(50% - 20px);
  272.   }
  273. }
  274.  
  275. @media  screen and (min-width: 992px) {
  276.   .skill {
  277.     flex:0 0 calc(33.333% - 1px);
  278.     margin: 0;
  279.     padding-bottom: 20px;
  280.   }
  281.   .skills article:first-of-type {
  282.     border-right: 1px solid #f5f3f5;
  283.   }
  284.   .skills article:nth-of-type(3) {
  285.     border-left: 1px solid #f5f3f5;
  286.   }
  287.   .skills article:nth-of-type(4) {
  288.     border-right: 1px solid #f5f3f5;
  289.     border-top: 1px solid #f5f3f5;
  290.   }
  291.    .skills article:nth-of-type(5) {
  292.     border-right: 1px solid #f5f3f5;
  293.     border-top: 1px solid #f5f3f5;
  294.   }
  295.    .skills article:nth-of-type(6) {
  296.     border-top: 1px solid #f5f3f5;
  297.   }
  298. }
  299.  
  300.  
  301. /*  ##############  END OF SKILLS SECTION #################  */
  302.  
  303.  
  304. /*  ##############  ABOUT SECTION #################  */
  305. .about {
  306.   min-height: 80vh;
  307.   background: url(../img/banner.jpg);
  308.   background-attachment: fixed;
  309.   background-position: center;
  310.   background-repeat: no-repeat;
  311.   background-size: cover;
  312. }
  313.  
  314. .about-text {
  315.   min-height: 80vh;
  316.   display: flex;
  317.   align-items: center;
  318.   background:#03243e;
  319.   color: #f5f3f5;
  320.   padding:40px 0;
  321. }
  322.  
  323. .about-text-center {
  324.   width: 90%;
  325.   margin: 0 auto;
  326. }
  327.  
  328. .about-text h1 {
  329.   text-transform: uppercase;
  330.   font-size: 30px;
  331.   margin-bottom: 10px ;
  332. }
  333. .about-text-underline {
  334.   width: 200px;
  335.   height: 5px;
  336.   background: #8fcbfd;
  337. }
  338.  
  339. .about-text p {
  340.   margin: 20px 0;
  341.   line-height: 2;
  342.   font-style: italic;
  343. }
  344.  
  345. .about-text a {
  346.   display: inline-block;
  347.   text-decoration: none;
  348.   text-transform: uppercase;
  349.   color: #f5f3f5;
  350.   padding: 15px 10px;
  351.   border: 3px solid #8fcbfd;
  352.   transition: border 0.5s ease, background 0.5s ease, color 0.5s ease;
  353. }
  354.  
  355. .about-text a:hover {
  356.   color: #191919;
  357.   background: #f5f3f5;
  358.   border-color: #f5f3f5;
  359. }
  360.  
  361. @media screen and (min-width:776px) {
  362.   .about {
  363.     display: flex;
  364.   }
  365.   .about-text {
  366.     flex: 0 0 30%;
  367.  
  368.   }
  369.   .about-image {
  370.     flex: 0 0 70%;
  371.     clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%)
  372.   }
  373.   .about {
  374.    
  375.   }
  376. }
  377.  
  378.  
  379.  
  380. /*  ##############  END OF ABOUT SECTION #################  */
  381.  
  382.  
  383.  
  384. /*  ##############  PROJECTS SECTION #################  */
  385. .projects {
  386.   min-height: 100vh;
  387.   display: grid;
  388.   grid-template-columns: repeat(5, 1fr);
  389.   grid-template-rows: repeat (4, 1fr);
  390.   grid-template-areas: "item1 item1 item2 item3 item3" "item1 item1 item4 item5 item5" "item6 item7 item7 item5 item5" "item6 item8 item9 item9 item10"
  391. }
  392.  
  393. .project-1 {
  394.   grid-area: item1;
  395.   background: url(../img/projects-1.jpeg)center/cover fixed no-repeat;
  396. }
  397.  
  398. .project-2 {
  399.   grid-area: item2;
  400.   background: url(../img/projects-2.jpeg)center/cover no-repeat;
  401. }
  402.  
  403. .project-3 {
  404.   grid-area: item3;
  405.   background: url(../img/projects-3.jpeg)center/cover no-repeat;
  406. }
  407.  
  408. .project-4 {
  409.   grid-area: item4;
  410.   background: url(../img/projects-4.jpeg)center/cover no-repeat;
  411. }
  412.  
  413. .project-5 {
  414.   grid-area: item5;
  415.   background: url(../img/projects-5.jpeg)center/cover fixed no-repeat;
  416. }
  417.  
  418. .project-6 {
  419.   grid-area: item6;
  420.   background: url(../img/projects-6.jpeg)center/cover no-repeat;
  421. }
  422.  
  423. .project-7 {
  424.   grid-area: item7;
  425.   background: url(../img/projects-7.jpeg)center/cover no-repeat;
  426. }
  427.  
  428. .project-8 {
  429.   grid-area: item8;
  430.   background: url(../img/projects-8.jpeg)center/cover fixed no-repeat;
  431. }
  432.  
  433. .project-9 {
  434.   grid-area: item9;
  435.   background: url(../img/projects-9.jpeg)center/cover no-repeat;
  436. }
  437.  
  438. .project-10 {
  439.   grid-area: item10;
  440.   background: url(../img/projects-10.jpeg)center/cover no-repeat;
  441. }
  442.  
  443. .project {
  444.   transition: opacity 2s ease;
  445. }
  446.  
  447. .project:hover {
  448.   opacity: 0.5;
  449.   cursor: pointer;
  450. }
  451.  
  452.  
  453. /*  ##############  END OF PROJECTS SECTION #################  */
  454.  
  455.  
  456.  
  457. /*  ##############  TEAM SECTION #################  */
  458.  
  459.  
  460. .team-members {
  461.   padding:100px 20px;
  462.   background: #f5f3f5;
  463.   color: #191919;
  464. }
  465.  
  466. .member {
  467.   text-align: center;
  468.   margin: 40px 0;
  469. }
  470.  
  471. .member img {
  472.   border-radius: 30px;
  473. }
  474.  
  475. .member h3 {
  476.   text-transform: capitalize;
  477.   margin: 10px 0;
  478. }
  479.  
  480. .member h6 {
  481.   margin: 0 07px 0;
  482.   text-transform: capitalize;
  483.   color: #a72121;
  484. }
  485.  
  486. .member p {
  487.   margin: 0 0 10px 0;
  488.   line-height: 2;
  489.   color: #9f9a9a;
  490. }
  491.  
  492. .member-icons {
  493.   display: flex;
  494.   justify-content: space-around;
  495.   padding: 0 30px;
  496. }
  497.  
  498. .member-icons a {
  499.   font-size: 30px;
  500. }
  501. .member-icons .fa-facebook-f {
  502.   color: #3b5998;
  503. }
  504.  
  505. .member-icons .fa-instagram {
  506.   color: #fb3958;
  507. }
  508.  
  509. .member-icons .fa-google {
  510.   color: #f4c20d;
  511. }
  512. .member-icons .fa-twitter {
  513.   color: #00aced;
  514. }
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530. /*  ##############  END OF TEAM SECTION #################  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement