Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: 'Permanent Maker', cursive;
- }
- /* ############## HEADER SECTION ################# */
- /* navigation */
- .nav-links {
- list-style-type: none;
- display: none; /* */
- }
- .nav-links a {
- display: block;
- text-decoration: none;
- padding: 20px;
- text-transform: uppercase;
- background: #191919;
- font-size: 17px;
- color: #8fcbfd;
- transition: color 0.5s ease, background 0.5s ease, padding 0.5s ease;
- }
- .nav-links a:hover {
- background:#919191;
- color: #03243e;
- padding-left: 40px;
- }
- .nav-icons {
- display: none; /* dissapear on smaller screen */
- }
- .nav-container {
- padding: 0 20px;
- background: rgba(255,255,255,0.5);
- border-bottom: 5px solid #8fcbfd;
- display: flex;
- justify-content: space-between;
- }
- .nav-container img {
- width: 100px;
- height: 100px;
- align-self: center;
- }
- .bar1,
- .bar2,
- .bar3 {
- width: 25px;
- height: 4px;
- margin: 5px;
- background:#8fcbfd;
- transition: transform 0.5s ease, opacity 0.5s ease; /* for change class in button */
- }
- .button {
- padding: 2px;
- display: inline-block;
- border: 4px solid #8fcbfd;
- cursor: pointer;
- align-self: center;
- }
- .change .bar1 {
- transform: rotate(-45deg) translate(-7px,7px);
- }
- .change .bar2 {
- opacity: 0;
- }
- .change .bar3 {
- transform: rotate(45deg) translate(-7px,-8px);
- }
- /* end of navigation */
- /* header */
- header {
- min-height: 100vh;
- background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/banner5.jpeg) /* center/cover fixed no-repeat */;
- background-position: center;
- background-size: cover;
- background-attachment: fixed;
- background-repeat: no-repeat;
- display: flex; /* it is a flexbox container with 2 childs banner & nav*/
- flex-direction: column;
- }
- nav {
- flex: 0 0 auto;
- }
- .banner {
- flex: 1 0 auto;
- display: flex; /* has one child div -> bannerCard*/
- align-items: center;
- justify-content: center;
- }
- /* end of header */
- /* banner */
- .bannerCard {
- flex: 0 0 90%;
- text-align: center;
- padding: 100px 0;
- outline: 1px solid #191919;
- outline-offset: -10px;
- background: rgba(255,255,255,0.5);
- }
- .bannerCard h1 {
- font-size: 40px;
- color: #8fcbfd;
- text-transform: uppercase;
- font-style: italic;
- }
- .bannerCard span {
- color: #03243e;
- }
- .bannerCard h3 {
- margin-top: 10px;
- letter-spacing: 10px;
- text-transform: capitalize;
- }
- /* end of banner */
- @media screen and (min-width: 992px) {
- .button {
- display: none;
- }
- nav {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- }
- .nav-container {
- background: transparent;
- border-bottom: none;
- flex: 0 0 auto;
- }
- .nav-links {
- display: flex !important;
- padding: 0 20px;
- flex: 1 0 auto;
- justify-content: flex-start;
- flex-wrap: wrap;
- align-self: center;
- }
- .nav-links li {
- flex: 1 0 auto;
- }
- .nav-links a {
- background: transparent;
- text-align: center;
- border-radius: 5px;
- padding: 20px 10px;
- }
- .nav-links a:hover {
- padding-left: 10px;
- }
- .nav-icons {
- flex: 1 0 auto;
- display: flex;
- flex-wrap: wrap;
- align-self: center;
- justify-content: space-around;
- }
- .nav-icons li {
- flex: 1 0 auto;
- text-align: center;
- list-style-type: none
- padding: 0 20px;
- }
- .nav-icons a {
- font-size: 30px;
- color: #8fcbfd;
- transition: color 0.5s ease;
- }
- .nav-icons a:hover {
- color: #f5f3f5;
- }
- .bannerCard {
- flex: 0 0 70%;
- }
- }
- nav {
- position: fixed;
- width: 100%;
- z-index: 10;
- transition: background 0.5s ease;
- }
- .navBackground {
- background: rgba(0,0,0,0.5);
- }
- /* ############## END OF HEADER SECTION ################# */
- /* ############## SKILLS SECTION ################# */
- .skills {
- background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(../img/skills.jpeg); /* center/cover fixed no-repeat */
- background-attachment: fixed;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- padding: 40px 0;
- }
- .skills-center {
- width: 90%;
- margin: 0 auto;
- }
- .skill {
- text-align: center;
- margin: 30px 0;
- color: #f5f3f5;
- }
- .skill a {
- font-size: 80px;
- color: #8fcbfd;
- }
- .skill h1 {
- font-size: 30px
- font-style: italic;
- text-transform: uppercase;
- margin: 0 0 10px 0;
- }
- .skill p {
- line-height: 2;
- letter-spacing: 5px;
- }
- @media screen and (min-width: 776px) {
- .skills-center {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .skill {
- flex:0 0 calc(50% - 20px);
- }
- }
- @media screen and (min-width: 992px) {
- .skill {
- flex:0 0 calc(33.333% - 1px);
- margin: 0;
- padding-bottom: 20px;
- }
- .skills article:first-of-type {
- border-right: 1px solid #f5f3f5;
- }
- .skills article:nth-of-type(3) {
- border-left: 1px solid #f5f3f5;
- }
- .skills article:nth-of-type(4) {
- border-right: 1px solid #f5f3f5;
- border-top: 1px solid #f5f3f5;
- }
- .skills article:nth-of-type(5) {
- border-right: 1px solid #f5f3f5;
- border-top: 1px solid #f5f3f5;
- }
- .skills article:nth-of-type(6) {
- border-top: 1px solid #f5f3f5;
- }
- }
- /* ############## END OF SKILLS SECTION ################# */
- /* ############## ABOUT SECTION ################# */
- .about {
- min-height: 80vh;
- background: url(../img/banner.jpg);
- background-attachment: fixed;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- }
- .about-text {
- min-height: 80vh;
- display: flex;
- align-items: center;
- background:#03243e;
- color: #f5f3f5;
- padding:40px 0;
- }
- .about-text-center {
- width: 90%;
- margin: 0 auto;
- }
- .about-text h1 {
- text-transform: uppercase;
- font-size: 30px;
- margin-bottom: 10px ;
- }
- .about-text-underline {
- width: 200px;
- height: 5px;
- background: #8fcbfd;
- }
- .about-text p {
- margin: 20px 0;
- line-height: 2;
- font-style: italic;
- }
- .about-text a {
- display: inline-block;
- text-decoration: none;
- text-transform: uppercase;
- color: #f5f3f5;
- padding: 15px 10px;
- border: 3px solid #8fcbfd;
- transition: border 0.5s ease, background 0.5s ease, color 0.5s ease;
- }
- .about-text a:hover {
- color: #191919;
- background: #f5f3f5;
- border-color: #f5f3f5;
- }
- @media screen and (min-width:776px) {
- .about {
- display: flex;
- }
- .about-text {
- flex: 0 0 30%;
- }
- .about-image {
- flex: 0 0 70%;
- clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%)
- }
- .about {
- }
- }
- /* ############## END OF ABOUT SECTION ################# */
- /* ############## PROJECTS SECTION ################# */
- .projects {
- min-height: 100vh;
- display: grid;
- grid-template-columns: repeat(5, 1fr);
- grid-template-rows: repeat (4, 1fr);
- grid-template-areas: "item1 item1 item2 item3 item3" "item1 item1 item4 item5 item5" "item6 item7 item7 item5 item5" "item6 item8 item9 item9 item10"
- }
- .project-1 {
- grid-area: item1;
- background: url(../img/projects-1.jpeg)center/cover fixed no-repeat;
- }
- .project-2 {
- grid-area: item2;
- background: url(../img/projects-2.jpeg)center/cover no-repeat;
- }
- .project-3 {
- grid-area: item3;
- background: url(../img/projects-3.jpeg)center/cover no-repeat;
- }
- .project-4 {
- grid-area: item4;
- background: url(../img/projects-4.jpeg)center/cover no-repeat;
- }
- .project-5 {
- grid-area: item5;
- background: url(../img/projects-5.jpeg)center/cover fixed no-repeat;
- }
- .project-6 {
- grid-area: item6;
- background: url(../img/projects-6.jpeg)center/cover no-repeat;
- }
- .project-7 {
- grid-area: item7;
- background: url(../img/projects-7.jpeg)center/cover no-repeat;
- }
- .project-8 {
- grid-area: item8;
- background: url(../img/projects-8.jpeg)center/cover fixed no-repeat;
- }
- .project-9 {
- grid-area: item9;
- background: url(../img/projects-9.jpeg)center/cover no-repeat;
- }
- .project-10 {
- grid-area: item10;
- background: url(../img/projects-10.jpeg)center/cover no-repeat;
- }
- .project {
- transition: opacity 2s ease;
- }
- .project:hover {
- opacity: 0.5;
- cursor: pointer;
- }
- /* ############## END OF PROJECTS SECTION ################# */
- /* ############## TEAM SECTION ################# */
- .team-members {
- padding:100px 20px;
- background: #f5f3f5;
- color: #191919;
- }
- .member {
- text-align: center;
- margin: 40px 0;
- }
- .member img {
- border-radius: 30px;
- }
- .member h3 {
- text-transform: capitalize;
- margin: 10px 0;
- }
- .member h6 {
- margin: 0 07px 0;
- text-transform: capitalize;
- color: #a72121;
- }
- .member p {
- margin: 0 0 10px 0;
- line-height: 2;
- color: #9f9a9a;
- }
- .member-icons {
- display: flex;
- justify-content: space-around;
- padding: 0 30px;
- }
- .member-icons a {
- font-size: 30px;
- }
- .member-icons .fa-facebook-f {
- color: #3b5998;
- }
- .member-icons .fa-instagram {
- color: #fb3958;
- }
- .member-icons .fa-google {
- color: #f4c20d;
- }
- .member-icons .fa-twitter {
- color: #00aced;
- }
- /* ############## END OF TEAM SECTION ################# */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement