Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');
- /*********************/
- /* Defaults */
- /*********************/
- * {
- font-family: 'Open Sans', sans-serif;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- *:focus {
- outline: none !important;
- }
- html {
- scroll-behavior: smooth;
- font-size: 1em;
- }
- body {
- width: 100%;
- height: 100%;
- padding: 0;
- margin: 0;
- }
- b,
- strong,
- .bold {
- text-decoration: inherit;
- font-weight: 700;
- font-style: inherit;
- }
- i,
- em,
- .italic {
- text-decoration: inherit;
- font-weight: inherit;
- font-style: italic;
- }
- u,
- .underline {
- text-decoration: underline;
- font-weight: inherit;
- font-style: inherit;
- }
- .container {
- box-sizing: border-box;
- width: 100%;
- padding: 0 3rem;
- max-width: 1150px;
- margin: 0 auto;
- }
- .container-flex {
- display: flex;
- flex-direction: column;
- }
- .center {
- text-align: center;
- }
- /* Remove chrome outline */
- input:focus,
- select:focus,
- textarea:focus {
- outline: none !important;
- }
- input::placeholder,
- select::placeholder,
- textarea::placeholder {
- color: #9d9d9d;
- }
- /*********************/
- /* message */
- /*********************/
- #message {
- z-index: 1000;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- text-align: center;
- background-color: darkorchid;
- color: #ffffff;
- }
- #message ~ #header {
- top: 42px;
- }
- #message p {
- color: #ffffff;
- margin: 10px 0;
- }
- /*********************/
- /* header */
- /*********************/
- #header {
- z-index: 999;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- transition: all 0.2s ease-in-out;
- background-color: rgba(255, 255, 255, 0);
- /* border-bottom: 1px solid rgba(255,255,255,0); */
- box-shadow: 0 0 7px rgba(0, 0, 0, 0);
- background-color: #f1efef;
- }
- #header.scrolled {
- background-color: #f1efef;
- border-bottom: 0.1rem solid #718093;
- /* box-shadow: 0 0 7px rgba(0, 0, 0, 0.1); */
- }
- #header.scrolled #brand {
- font-size: 30px;
- margin: 10px 0;
- }
- #header.scrolled #nav ul {
- margin: 19.5px 0;
- }
- #header.scrolled #nav-mobile-open {
- top: 15px;
- font-size: 25px;
- }
- /* brand */
- #header #brand {
- float: left;
- color: #343434;
- font-size: 40px;
- font-weight: 800;
- margin: 20px 0;
- transition: all 0.2s ease-in-out;
- }
- /* nav */
- #header #nav {
- float: right;
- }
- #header #nav ul {
- float: right;
- list-style: none;
- margin: 36px 0;
- height: 22px;
- }
- #header #nav ul li {
- float: left;
- font-size: 16px;
- font-weight: 600;
- box-sizing: border-box;
- }
- #header #nav ul li a {
- font-size: 16px;
- font-weight: 600;
- text-decoration: none;
- padding: 0 22.5px;
- color: #333333;
- }
- #header #nav ul li a.current {
- font-weight: 800;
- }
- #header #nav .switch-language {
- padding: 10px;
- opacity: 0.6;
- cursor: pointer;
- transition: opacity 0.2s ease-in;
- }
- #header #nav .switch-language:hover {
- opacity: 1;
- }
- /*********************/
- /* hero */
- /*********************/
- #hero {
- width: 100%;
- height: 100vh;
- min-height: 500px;
- max-height: 1080px;
- background-color: #f1efef;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- #hero #hero-content {
- text-align: center;
- width: 100%;
- }
- #hero #hero-content h2 {
- font-size: 3.2rem;
- font-weight: 300;
- margin: 0;
- color: #343434;
- }
- #hero #hero-content #hero-vertical-slider {
- overflow: hidden;
- /* height: 55px; */
- }
- #hero #hero-content #hero-vertical-slider h3 {
- font-weight: 500;
- font-size: 3rem;
- line-height: 3.2rem;
- color: #343434;
- margin: 20px 0;
- }
- /*********************/
- /* projects */
- /*********************/
- #projects {
- width: 100%;
- padding: 0 0 6rem 0;
- box-sizing: border-box;
- background-color: #353b48;
- }
- #projects svg {
- padding-bottom: 3rem;
- }
- #projects #projects-title {
- text-align: center;
- color: #efefef;
- font-size: 2.2rem;
- margin-bottom: 4rem;
- }
- #projects #projects-container .project {
- background-repeat: no-repeat;
- background-size: cover;
- background-position: center center;
- display: flex;
- /* padding: 2rem; */
- box-sizing: border-box;
- background-color: #ffffff;
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
- border-radius: 0.2rem;
- overflow: hidden;
- text-decoration: none;
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- #projects #projects-container .project a .project-image {
- background-size: cover;
- background-position: center center;
- background-repeat: no-repeat;
- width: 100%;
- height: 260px;
- box-sizing: border-box;
- display: block;
- }
- #projects #projects-container .project .project-content {
- padding: 1.5rem;
- text-align: center;
- }
- #projects #projects-container .project .project-content .project-title {
- margin: 0;
- color: #343434;
- font-size: 1.6rem;
- text-align: left;
- }
- #projects #projects-container .project .project-content .project-description {
- color: #54595f;
- text-align: left;
- }
- #projects #projects-container .project .project-content .project-tags {
- display: inline-block;
- width: 100%;
- margin-bottom: 3rem;
- text-align: left;
- }
- #projects #projects-container .project .project-content .project-tags .project-tag {
- background-color: #45aaf2;
- color: #efefef;
- padding: 0.3rem 1rem;
- margin: 0.5rem 1rem 0.5rem 0;
- border-radius: 1rem;
- cursor: default;
- display: inline-block;
- }
- #projects #projects-container .project .project-content .project-view {
- text-decoration: none;
- color: #353b48;
- background-color: #ffffff;
- border: 0.1rem solid #353b48;
- padding: 0.4rem 0.6rem;
- border-radius: 0.2rem;
- margin-right: 1rem;
- font-weight: bold;
- transition: color 0.2s ease-in, background-color 0.2s ease-in;
- box-sizing: border-box;
- }
- #projects #projects-container .project .project-content .project-view:hover {
- background-color: #353b48;
- color: #ffffff;
- }
- #projects #projects-container .project .project-content .project-source-code {
- margin-left: 1rem;
- color: #353b48;
- text-decoration: none;
- color: #353b48;
- background-color: #ffffff;
- border: 0.1rem solid #ffffff;
- padding: 0.4rem 0.6rem;
- border-radius: 0.2rem;
- font-weight: bold;
- box-sizing: border-box;
- }
- #projects #projects-container .project .project-content a.project-source-code {
- text-decoration: none;
- opacity: 0.8;
- transition: opacity 0.2s ease-in;
- }
- #projects #projects-container .project .project-content a.project-source-code:hover {
- opacity: 1;
- }
- #projects #projects-container .project .project-content span.project-source-code {
- text-decoration: line-through;
- opacity: 0.3;
- cursor: default;
- }
- /*********************/
- /* about-me */
- /*********************/
- #about-me {
- width: 100%;
- padding: 8rem 0 8rem 0;
- box-sizing: border-box;
- text-align: center;
- border-bottom: 0.08rem solid #353b48;
- }
- #about-me #about-me-container {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- }
- #about-me #about-me-container #about-me-info {
- text-align: left;
- }
- #about-me #about-me-container #about-me-photo img {
- width: 20rem;
- border-radius: 10rem;
- }
- #about-me #about-me-container #about-me-info #about-me-info-name {
- font-size: 2.1rem;
- margin-bottom: 1.1rem;
- padding: 0 0.5rem;
- }
- #about-me #about-me-container #about-me-info #about-me-info-description {
- display: inline-block;
- border-top: 0.08rem solid #9d9d9d;
- /* border-bottom: 0.08rem solid #9d9d9d; */
- margin-bottom: 1rem;
- }
- #about-me #about-me-container #about-me-info #about-me-info-description p {
- margin: 0 0 0.8rem 0;
- padding: 0 0.5rem;
- }
- #about-me #about-me-container #about-me-info #about-me-info-description p:first-child {
- margin-top: 1.1rem;
- }
- /*********************/
- /* contact */
- /*********************/
- #contact {
- width: 100%;
- padding: 2rem 0;
- box-sizing: border-box;
- /* height: 880px; */
- background-color: #f9f9f9;
- }
- #contact #contact-title {
- text-align: center;
- font-size: 1.2rem;
- font-weight: 500;
- margin: 0;
- color: #343434;
- }
- #contact #contact-options {
- text-align: center;
- margin: 3rem auto 0;
- max-width: 760px;
- }
- #contact #contact-options .contact-option {
- display: flex;
- flex-direction: column;
- margin-bottom: 2rem;
- }
- #contact #contact-options .contact-option .contact-option-icon {
- font-size: 2.8rem;
- color: #2f3640;
- margin-bottom: 2rem;
- }
- #contact #contact-options .contact-option .contact-option-title {
- margin: 1rem 0;
- font-weight: 400;
- font-size: 1.3rem;
- }
- #contact #contact-options .contact-option .contact-option-link {
- text-decoration: none;
- font-size: 1.5rem;
- color: #353b48;
- font-weight: 900;
- }
- /*********************/
- /* social media */
- /*********************/
- #social-media {
- width: 100%;
- padding: 2rem 0;
- box-sizing: border-box;
- background-color: #353b48;
- text-align: center;
- }
- #social-media #social-media-title {
- text-transform: uppercase;
- font-size: 1.2rem;
- margin: 0 0 0.5rem 0;
- color: #ffffff;
- }
- #social-media #social-media-description {
- color: #efefef;
- }
- #social-media #social-media-links {
- text-align: center;
- }
- #social-media #social-media-links a {
- font-size: 2.5rem;
- margin: 0 1.5rem;
- color: #ffffff;
- text-decoration: none;
- opacity: 0.6;
- transition: opacity 0.2s ease-in;
- }
- #social-media #social-media-links a:hover {
- opacity: 1;
- }
- /*********************/
- /* footer */
- /*********************/
- #footer {
- text-align: center;
- background-color: #2f3640;
- }
- #footer p {
- font-size: 12px;
- margin: 0;
- padding: 1rem 0;
- color: #7f8fa6;
- }
- #footer a {
- text-decoration: none;
- color: #7f8fa6;
- }
- #footer a:hover {
- text-decoration: underline;
- }
- /*********************/
- /* Responsive */
- /*********************/
- @media screen and (min-width: 768px) {
- #header #nav-mobile-open {
- display: none;
- }
- #header #nav #nav-mobile-close {
- display: none;
- }
- #header #nav ul {
- display: initial;
- transition: margin 0.2s ease-in-out;
- }
- #projects #projects-container {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-gap: 4rem;
- }
- #contact #contact-options {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- }
- }
- @media screen and (max-width: 880px) {
- #header #brand {
- width: 100%;
- text-align: center;
- }
- #header #nav {
- float: initial;
- text-align: center;
- }
- #header #nav ul {
- float: initial;
- margin: 0;
- padding: 0;
- }
- #Hero .hero-content h2 {
- font-size: 36px;
- }
- }
- @media screen and (max-width: 768px) {
- #message ~ #header #nav {
- top: 42px;
- }
- #header #nav-mobile-open {
- position: absolute;
- top: 30px;
- right: 40px;
- font-size: 30px;
- text-decoration: none;
- color: #343434;
- transition: all 0.2s ease-in-out;
- cursor: pointer;
- }
- #header #nav {
- position: fixed;
- top: 0;
- left: -220px;
- padding-top: 22px;
- width: 200px;
- height: 100%;
- background-color: #343434;
- transition: left 0.3s ease-in;
- overflow-x: hidden;
- box-shadow: 8px 0px 18px -6px rgba(0, 0, 0, 0.3);
- }
- #header #nav.open {
- left: 0px;
- }
- #header #nav.open ~ #nav-mobile-overflow {
- display: block;
- position: fixed;
- left: 200px;
- top: 0;
- width: 100%;
- height: 100%;
- }
- #header #nav #nav-mobile-close {
- float: right;
- margin-right: 22px;
- font-size: 25px;
- color: rgb(209, 78, 78);
- cursor: pointer;
- }
- #header #nav ul li {
- text-align: left;
- width: 100%;
- padding: 10px;
- }
- #header #nav ul li a {
- color: #e9e9e9;
- }
- #header #nav .switch-language {
- float: left;
- width: 100%;
- box-sizing: border-box;
- text-align: left;
- }
- #header #nav .switch-language img {
- padding: 0 22.5px;
- }
- #hero #hero-content h2 {
- font-size: 2rem;
- }
- #hero #hero-content #hero-vertical-slider h3 {
- font-size: 1.6rem;
- line-height: 1.9rem;
- }
- #projects #projects-container {
- display: flex;
- flex-direction: column;
- }
- #projects #projects-container .project {
- margin-bottom: 3rem;
- }
- #projects #projects-container .project:last-of-type {
- margin-bottom: 0;
- }
- #about-me #about-me-container {
- grid-template-columns: 1fr;
- }
- }
- @media screen and (max-width: 514px) {
- #message p {
- font-size: 0.9rem;
- }
- #message ~ #header {
- top: 39px;
- }
- #message ~ #header #nav {
- top: 39px;
- }
- #projects #projects-title {
- font-size: 1.5rem;
- }
- #projects #projects-container .project a .project-image {
- height: 200px;
- display: none;
- }
- #projects #projects-container .project .project-content .project-tags {
- margin-bottom: 1.5rem;
- }
- #projects #projects-container .project .project-content .project-tags .project-tag {
- font-size: 12px;
- }
- #projects #projects-container .project .project-content .project-view {
- width: 100%;
- display: inline-block;
- margin: 0;
- }
- #projects #projects-container .project .project-content .project-source-code {
- width: 100%;
- display: inline-block;
- margin: 1.5rem 0 0 0;
- }
- #about-me #about-me-container #about-me-photo img {
- width: 12rem;
- }
- #about-me #about-me-container #about-me-info #about-me-info-name {
- text-align: center;
- font-size: 1.5rem;
- }
- #about-me #about-me-info #about-me-info-description p {
- text-align: left;
- font-size: 0.8rem;
- }
- #contact #contact-form #contact-form-submit {
- width: 100%;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement