diff --git a/assets/css/style.css b/assets/css/style.css index e3bafef..546c048 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -2,21 +2,15 @@ #style.css \*-----------------------------------*/ - /** * copyright 2022 @codewithsadee */ - - - - /*-----------------------------------*\ #CUSTOM PROPERTY \*-----------------------------------*/ :root { - /** * colors */ @@ -24,33 +18,35 @@ /* gradient */ --bg-gradient-onyx: linear-gradient( - to bottom right, - hsl(240, 1%, 25%) 3%, + to bottom right, + hsl(240, 1%, 25%) 3%, hsl(0, 0%, 19%) 97% ); --bg-gradient-jet: linear-gradient( - to bottom right, - hsla(240, 1%, 18%, 0.251) 0%, - hsla(240, 2%, 11%, 0) 100% - ), hsl(240, 2%, 13%); + to bottom right, + hsla(240, 1%, 18%, 0.251) 0%, + hsla(240, 2%, 11%, 0) 100% + ), + hsl(240, 2%, 13%); --bg-gradient-yellow-1: linear-gradient( - to bottom right, - hsl(45, 100%, 71%) 0%, + to bottom right, + hsl(45, 100%, 71%) 0%, hsla(36, 100%, 69%, 0) 50% ); --bg-gradient-yellow-2: linear-gradient( - 135deg, - hsla(45, 100%, 71%, 0.251) 0%, - hsla(35, 100%, 68%, 0) 59.86% - ), hsl(240, 2%, 13%); + 135deg, + hsla(45, 100%, 71%, 0.251) 0%, + hsla(35, 100%, 68%, 0) 59.86% + ), + hsl(240, 2%, 13%); --border-gradient-onyx: linear-gradient( - to bottom right, - hsl(0, 0%, 25%) 0%, + to bottom right, + hsl(0, 0%, 25%) 0%, hsla(0, 0%, 25%, 0) 50% ); --text-gradient-yellow: linear-gradient( - to right, - hsl(45, 100%, 72%), + to right, + hsl(45, 100%, 72%), hsl(35, 100%, 68%) ); @@ -74,7 +70,7 @@ */ /* font-family */ - --ff-poppins: 'Poppins', sans-serif; + --ff-poppins: "Poppins", sans-serif; /* font-size */ --fs-1: 24px; @@ -95,7 +91,7 @@ /** * shadow */ - + --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25); --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25); --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25); @@ -108,28 +104,36 @@ --transition-1: 0.25s ease; --transition-2: 0.5s ease-in-out; - } - - - - /*-----------------------------------*\ #RESET \*-----------------------------------*/ -*, *::before, *::after { +*, +*::before, +*::after { margin: 0; padding: 0; box-sizing: border-box; } -a { text-decoration: none; } +a { + text-decoration: none; +} -li { list-style: none; } +li { + list-style: none; +} -img, ion-icon, a, button, time, span { display: block; } +img, +ion-icon, +a, +button, +time, +span { + display: block; +} button { font: inherit; @@ -139,7 +143,8 @@ button { cursor: pointer; } -input, textarea { +input, +textarea { display: block; width: 100%; background: none; @@ -151,15 +156,17 @@ input, textarea { color: var(--smoky-black); } -:focus { outline-color: var(--orange-yellow-crayola); } - -html { font-family: var(--ff-poppins); } - -body { background: var(--smoky-black); } - - +:focus { + outline-color: var(--orange-yellow-crayola); +} +html { + font-family: var(--ff-poppins); +} +body { + background: var(--smoky-black); +} /*-----------------------------------*\ #REUSED STYLE @@ -197,9 +204,8 @@ article { z-index: 1; } /* social-media icons */ -.socials-icons{ +.socials-icons { color: var(--orange-yellow-crayola); - } .icon-box::before { @@ -211,9 +217,13 @@ article { z-index: -1; } -.icon-box ion-icon { --ionicon-stroke-width: 35px; } +.icon-box ion-icon { + --ionicon-stroke-width: 35px; +} -article { display: none; } +article { + display: none; +} article.active { display: block; @@ -221,8 +231,12 @@ article.active { } @keyframes fade { - 0% { opacity: 0; } - 100% { opacity: 1; } + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } } .h2, @@ -233,11 +247,17 @@ article.active { text-transform: capitalize; } -.h2 { font-size: var(--fs-1); } +.h2 { + font-size: var(--fs-1); +} -.h3 { font-size: var(--fs-2); } +.h3 { + font-size: var(--fs-2); +} -.h4 { font-size: var(--fs-4); } +.h4 { + font-size: var(--fs-4); +} .h5 { font-size: var(--fs-7); @@ -275,7 +295,9 @@ article.active { border-radius: 5px; } -.has-scrollbar::-webkit-scrollbar-button { width: 20px; } +.has-scrollbar::-webkit-scrollbar-button { + width: 20px; +} .content-card { position: relative; @@ -297,10 +319,6 @@ article.active { z-index: -1; } - - - - /*-----------------------------------*\ #MAIN \*-----------------------------------*/ @@ -311,10 +329,6 @@ main { min-width: 259px; } - - - - /*-----------------------------------*\ #SIDEBAR \*-----------------------------------*/ @@ -326,7 +340,9 @@ main { transition: var(--transition-2); } -.sidebar.active { max-height: 405px; } +.sidebar.active { + max-height: 405px; +} .sidebar-info { position: relative; @@ -384,12 +400,18 @@ main { } .info_more-btn:hover, -.info_more-btn:focus { background: var(--bg-gradient-yellow-1); } +.info_more-btn:focus { + background: var(--bg-gradient-yellow-1); +} .info_more-btn:hover::before, -.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); } +.info_more-btn:focus::before { + background: var(--bg-gradient-yellow-2); +} -.info_more-btn span { display: none; } +.info_more-btn span { + display: none; +} .sidebar-info_more { opacity: 0; @@ -432,7 +454,9 @@ main { font-size: var(--fs-7); } -.contact-info address { font-style: normal; } +.contact-info address { + font-style: normal; +} .social-list { display: flex; @@ -448,12 +472,9 @@ main { font-size: 18px; } - -.social-item .social-link:hover { color: var(--light-gray); } - - - - +.social-item .social-link:hover { + color: var(--light-gray); +} /*-----------------------------------*\ #NAVBAR @@ -488,19 +509,21 @@ main { } .navbar-link:hover, -.navbar-link:focus { color: var(--light-gray-70); } - -.navbar-link.active { color: var(--orange-yellow-crayola); } - - - +.navbar-link:focus { + color: var(--light-gray-70); +} +.navbar-link.active { + color: var(--orange-yellow-crayola); +} /*-----------------------------------*\ #ABOUT \*-----------------------------------*/ -.about .article-title { margin-bottom: 15px; } +.about .article-title { + margin-bottom: 15px; +} .about-text { color: var(--light-gray); @@ -509,17 +532,21 @@ main { line-height: 1.6; } -.about-text p { margin-bottom: 15px; } - - +.about-text p { + margin-bottom: 15px; +} /** * #service */ -.service { margin-bottom: 35px; } +.service { + margin-bottom: 35px; +} -.service-title { margin-bottom: 20px; } +.service-title { + margin-bottom: 20px; +} .service-list { display: grid; @@ -545,13 +572,21 @@ main { z-index: -1; } -.service-icon-box { margin-bottom: 10px; } +.service-icon-box { + margin-bottom: 10px; +} -.service-icon-box img { margin: auto; } +.service-icon-box img { + margin: auto; +} -.service-content-box { text-align: center; } +.service-content-box { + text-align: center; +} -.service-item-title { margin-bottom: 7px; } +.service-item-title { + margin-bottom: 7px; +} .service-item-text { color: var(--light-gray); @@ -560,14 +595,17 @@ main { line-height: 1.6; } - /** * #testimonials */ -.testimonials { margin-bottom: 30px; } +.testimonials { + margin-bottom: 30px; +} -.testimonials-title { margin-bottom: 20px; } +.testimonials-title { + margin-bottom: 20px; +} .testimonials-list { display: flex; @@ -598,7 +636,9 @@ main { box-shadow: var(--shadow-1); } -.testimonials-item-title { margin-bottom: 7px; } +.testimonials-item-title { + margin-bottom: 7px; +} .testimonials-text { color: var(--light-gray); @@ -612,7 +652,6 @@ main { overflow: hidden; } - /** * #testimonials-modal */ @@ -633,7 +672,9 @@ main { visibility: hidden; } -.modal-container::-webkit-scrollbar { display: none; } +.modal-container::-webkit-scrollbar { + display: none; +} .modal-container.active { pointer-events: all; @@ -696,9 +737,13 @@ main { } .modal-close-btn:hover, -.modal-close-btn:focus { opacity: 1; } +.modal-close-btn:focus { + opacity: 1; +} -.modal-close-btn ion-icon { --ionicon-stroke-width: 50px; } +.modal-close-btn ion-icon { + --ionicon-stroke-width: 50px; +} .modal-avatar-box { background: var(--bg-gradient-onyx); @@ -708,9 +753,13 @@ main { box-shadow: var(--shadow-2); } -.modal-img-wrapper > img { display: none; } +.modal-img-wrapper > img { + display: none; +} -.modal-title { margin-bottom: 4px; } +.modal-title { + margin-bottom: 4px; +} .modal-content time { font-size: var(--fs-6); @@ -726,12 +775,13 @@ main { line-height: 1.6; } - /** * #clients */ -.clients { margin-bottom: 15px; } +.clients { + margin-bottom: 15px; +} .clients-list { display: flex; @@ -759,24 +809,25 @@ main { transition: var(--transition-1); } -.clients-item img:hover { filter: grayscale(0); } - - - - +.clients-item img:hover { + filter: grayscale(0); +} /*-----------------------------------*\ #RESUME \*-----------------------------------*/ -.article-title { margin-bottom: 30px; } - +.article-title { + margin-bottom: 30px; +} /** * education and experience */ -.timeline { margin-bottom: 30px; } +.timeline { + margin-bottom: 30px; +} .timeline .title-wrapper { display: flex; @@ -790,9 +841,13 @@ main { margin-left: 45px; } -.timeline-item { position: relative; } +.timeline-item { + position: relative; +} -.timeline-item:not(:last-child) { margin-bottom: 20px; } +.timeline-item:not(:last-child) { + margin-bottom: 20px; +} .timeline-item-title { font-size: var(--fs-6); @@ -834,17 +889,21 @@ main { line-height: 1.6; } - /** * skills */ -.skills-title { margin-bottom: 20px; } - -.skills-list { padding: 20px; } +.skills-title { + margin-bottom: 20px; +} +.skills-list { + padding: 20px; +} -.skills-item:not(:last-child) { margin-bottom: 15px; } +.skills-item:not(:last-child) { + margin-bottom: 15px; +} .skill .title-wrapper { display: flex; @@ -872,15 +931,13 @@ main { border-radius: inherit; } - - - - /*-----------------------------------*\ #PORTFOLIO \*-----------------------------------*/ -.filter-list { display: none; } +.filter-list { + display: none; +} .filter-select-box { position: relative; @@ -901,7 +958,9 @@ main { font-weight: var(--fw-300); } -.filter-select.active .select-icon { transform: rotate(0.5turn); } +.filter-select.active .select-icon { + transform: rotate(0.5turn); +} .select-list { background: var(--eerie-black-2); @@ -935,7 +994,9 @@ main { border-radius: 8px; } -.select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); } +.select-item button:hover { + --eerie-black-2: hsl(240, 2%, 20%); +} .project-list { display: grid; @@ -944,7 +1005,9 @@ main { margin-bottom: 10px; } -.project-item { display: none; } +.project-item { + display: none; +} .project-item.active { display: block; @@ -952,11 +1015,17 @@ main { } @keyframes scaleUp { - 0% { transform: scale(0.5); } - 100% { transform: scale(1); } + 0% { + transform: scale(0.5); + } + 100% { + transform: scale(1); + } } -.project-item > a { width: 100%; } +.project-item > a { + width: 100%; +} .project-img { position: relative; @@ -979,7 +1048,9 @@ main { transition: var(--transition-1); } -.project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); } +.project-item > a:hover .project-img::before { + background: hsla(0, 0%, 0%, 0.5); +} .project-item-icon-box { --scale: 0.8; @@ -1003,7 +1074,9 @@ main { opacity: 1; } -.project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; } +.project-item-icon-box ion-icon { + --ionicon-stroke-width: 50px; +} .project-img img { width: 100%; @@ -1012,10 +1085,14 @@ main { transition: var(--transition-1); } -.project-item > a:hover img { transform: scale(1.1); } +.project-item > a:hover img { + transform: scale(1.1); +} .project-title, -.project-category { margin-left: 10px; } +.project-category { + margin-left: 10px; +} .project-title { color: var(--white-2); @@ -1031,15 +1108,13 @@ main { font-weight: var(--fw-300); } - - - - /*-----------------------------------*\ #BLOG \*-----------------------------------*/ -.blog-posts { margin-bottom: 10px; } +.blog-posts { + margin-bottom: 10px; +} .blog-posts-list { display: grid; @@ -1079,9 +1154,13 @@ main { transition: var(--transition-1); } -.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); } +.blog-post-item > a:hover .blog-banner-box img { + transform: scale(1.1); +} -.blog-content { padding: 15px; } +.blog-content { + padding: 15px; +} .blog-meta { display: flex; @@ -1110,7 +1189,9 @@ main { transition: var(--transition-1); } -.blog-post-item > a:hover .blog-item-title { color: var(--orange-yellow-crayola); } +.blog-post-item > a:hover .blog-item-title { + color: var(--orange-yellow-crayola); +} .blog-text { color: var(--light-gray); @@ -1119,10 +1200,6 @@ main { line-height: 1.6; } - - - - /*-----------------------------------*\ #CONTACT \*-----------------------------------*/ @@ -1137,7 +1214,9 @@ main { overflow: hidden; } -.mapbox figure { height: 100%; } +.mapbox figure { + height: 100%; +} .mapbox iframe { width: 100%; @@ -1146,9 +1225,13 @@ main { filter: grayscale(1) invert(1); } -.contact-form { margin-bottom: 10px; } +.contact-form { + margin-bottom: 10px; +} -.form-title { margin-bottom: 20px; } +.form-title { + margin-bottom: 20px; +} .input-wrapper { display: grid; @@ -1167,9 +1250,13 @@ main { outline: none; } -.form-input::placeholder { font-weight: var(--fw-500); } +.form-input::placeholder { + font-weight: var(--fw-500); +} -.form-input:focus { border-color: var(--orange-yellow-crayola); } +.form-input:focus { + border-color: var(--orange-yellow-crayola); +} textarea.form-input { min-height: 100px; @@ -1179,9 +1266,13 @@ textarea.form-input { margin-bottom: 25px; } -textarea.form-input::-webkit-resizer { display: none; } +textarea.form-input::-webkit-resizer { + display: none; +} -.form-input:focus:invalid { border-color: var(--bittersweet-shimmer); } +.form-input:focus:invalid { + border-color: var(--orange-yellow-crayola); +} .form-btn { position: relative; @@ -1211,24 +1302,30 @@ textarea.form-input::-webkit-resizer { display: none; } transition: var(--transition-1); } -.form-btn ion-icon { font-size: 16px; } +.form-btn ion-icon { + font-size: 16px; +} -.form-btn:hover { background: var(--bg-gradient-yellow-1); } +.form-btn:hover { + background: var(--bg-gradient-yellow-1); +} -.form-btn:hover::before { background: var(--bg-gradient-yellow-2); } +.form-btn:hover::before { + background: var(--bg-gradient-yellow-2); +} .form-btn:disabled { opacity: 0.7; cursor: not-allowed; } -.form-btn:disabled:hover { background: var(--border-gradient-onyx); } - -.form-btn:disabled:hover::before { background: var(--bg-gradient-jet); } - - - +.form-btn:disabled:hover { + background: var(--border-gradient-onyx); +} +.form-btn:disabled:hover::before { + background: var(--bg-gradient-jet); +} /*-----------------------------------*\ #RESPONSIVE @@ -1239,40 +1336,34 @@ textarea.form-input::-webkit-resizer { display: none; } */ @media (min-width: 450px) { - /** * client */ - .clients-item { min-width: calc(33.33% - 10px); } - - + .clients-item { + min-width: calc(33.33% - 10px); + } /** * #PORTFOLIO, BLOG */ .project-img, - .blog-banner-box { height: auto; } - + .blog-banner-box { + height: auto; + } } - - - - /** * responsive larger than 580px screen */ @media (min-width: 580px) { - /** * CUSTOM PROPERTY */ :root { - /** * typography */ @@ -1284,16 +1375,14 @@ textarea.form-input::-webkit-resizer { display: none; } --fs-6: 15px; --fs-7: 15px; --fs-8: 12px; - } - - /** * #REUSED STYLE */ - .sidebar, article { + .sidebar, + article { width: 520px; margin-inline: auto; padding: 30px; @@ -1316,8 +1405,6 @@ textarea.form-input::-webkit-resizer { display: none; } font-size: 18px; } - - /** * #MAIN */ @@ -1327,8 +1414,6 @@ textarea.form-input::-webkit-resizer { display: none; } margin-bottom: 100px; } - - /** * #SIDEBAR */ @@ -1338,17 +1423,29 @@ textarea.form-input::-webkit-resizer { display: none; } margin-bottom: 30px; } - .sidebar.active { max-height: 584px; } + .sidebar.active { + max-height: 584px; + } - .sidebar-info { gap: 25px; } + .sidebar-info { + gap: 25px; + } - .avatar-box { border-radius: 30px; } + .avatar-box { + border-radius: 30px; + } - .avatar-box img { width: 120px; } + .avatar-box img { + width: 120px; + } - .info-content .name { margin-bottom: 15px; } + .info-content .name { + margin-bottom: 15px; + } - .info-content .title { padding: 5px 18px; } + .info-content .title { + padding: 5px 18px; + } .info_more-btn { top: -30px; @@ -1361,38 +1458,50 @@ textarea.form-input::-webkit-resizer { display: none; } font-size: var(--fs-8); } - .info_more-btn ion-icon { display: none; } + .info_more-btn ion-icon { + display: none; + } - .separator { margin: 32px 0; } + .separator { + margin: 32px 0; + } - .contacts-list { gap: 20px; } + .contacts-list { + gap: 20px; + } .contact-info { max-width: calc(100% - 64px); width: calc(100% - 64px); } - - /** * #NAVBAR */ - .navbar { border-radius: 20px 20px 0 0; } - - .navbar-list { gap: 20px; } - - .navbar-link { --fs-8: 14px; } + .navbar { + border-radius: 20px 20px 0 0; + } + .navbar-list { + gap: 20px; + } + .navbar-link { + --fs-8: 14px; + } /** * #ABOUT */ - .about .article-title { margin-bottom: 20px; } + .about .article-title { + margin-bottom: 20px; + } - .about-text { margin-bottom: 40px; } + .about-text { + margin-bottom: 40px; + } /* service */ @@ -1409,11 +1518,15 @@ textarea.form-input::-webkit-resizer { display: none; } margin-top: 5px; } - .service-content-box { text-align: left; } + .service-content-box { + text-align: left; + } /* testimonials */ - .testimonials-title { margin-bottom: 25px; } + .testimonials-title { + margin-bottom: 25px; + } .testimonials-list { gap: 30px; @@ -1432,7 +1545,9 @@ textarea.form-input::-webkit-resizer { display: none; } border-radius: 20px; } - .testimonials-avatar-box img { width: 80px; } + .testimonials-avatar-box img { + width: 80px; + } .testimonials-item-title { margin-bottom: 10px; @@ -1446,7 +1561,9 @@ textarea.form-input::-webkit-resizer { display: none; } /* testimonials modal */ - .modal-container { padding: 20px; } + .modal-container { + padding: 20px; + } .testimonials-modal { display: flex; @@ -1468,7 +1585,9 @@ textarea.form-input::-webkit-resizer { display: none; } margin-bottom: 0; } - .modal-avatar-box img { width: 65px; } + .modal-avatar-box img { + width: 65px; + } .modal-img-wrapper > img { display: block; @@ -1485,17 +1604,21 @@ textarea.form-input::-webkit-resizer { display: none; } scroll-padding-inline: 45px; } - .clients-item { min-width: calc(33.33% - 35px); } - - + .clients-item { + min-width: calc(33.33% - 35px); + } /** * #RESUME */ - .timeline-list { margin-left: 65px; } + .timeline-list { + margin-left: 65px; + } - .timeline-item:not(:last-child)::before { left: -40px; } + .timeline-item:not(:last-child)::before { + left: -40px; + } .timeline-item::after { height: 8px; @@ -1503,21 +1626,26 @@ textarea.form-input::-webkit-resizer { display: none; } left: -43px; } - .skills-item:not(:last-child) { margin-bottom: 25px; } - - + .skills-item:not(:last-child) { + margin-bottom: 25px; + } /** * #PORTFOLIO, BLOG */ - .project-img, .blog-banner-box { border-radius: 16px; } - - .blog-posts-list { gap: 30px; } - - .blog-content { padding: 25px; } + .project-img, + .blog-banner-box { + border-radius: 16px; + } + .blog-posts-list { + gap: 30px; + } + .blog-content { + padding: 25px; + } /** * #CONTACT @@ -1533,38 +1661,41 @@ textarea.form-input::-webkit-resizer { display: none; } margin-bottom: 30px; } - .form-input { padding: 15px 20px; } + .form-input { + padding: 15px 20px; + } - textarea.form-input { margin-bottom: 30px; } + textarea.form-input { + margin-bottom: 30px; + } .form-btn { --fs-6: 16px; padding: 16px 20px; } - .form-btn ion-icon { font-size: 18px; } - + .form-btn ion-icon { + font-size: 18px; + } } - - - - /** * responsive larger than 768px screen */ @media (min-width: 768px) { - /** * REUSED STYLE */ - .sidebar, article { width: 700px; } - - .has-scrollbar::-webkit-scrollbar-button { width: 100px; } - + .sidebar, + article { + width: 700px; + } + .has-scrollbar::-webkit-scrollbar-button { + width: 100px; + } /** * SIDEBAR @@ -1575,15 +1706,13 @@ textarea.form-input::-webkit-resizer { display: none; } gap: 30px 15px; } - - /** * NAVBAR */ - .navbar-link { --fs-8: 15px; } - - + .navbar-link { + --fs-8: 15px; + } /** * ABOUT @@ -1596,17 +1725,21 @@ textarea.form-input::-webkit-resizer { display: none; } max-width: 680px; } - .modal-avatar-box img { width: 80px; } - - + .modal-avatar-box img { + width: 80px; + } /** * PORTFOLIO */ - .article-title { padding-bottom: 20px; } + .article-title { + padding-bottom: 20px; + } - .filter-select-box { display: none; } + .filter-select-box { + display: none; + } .filter-list { display: flex; @@ -1623,45 +1756,45 @@ textarea.form-input::-webkit-resizer { display: none; } transition: var(--transition-1); } - .filter-item button:hover { color: var(--light-gray-70); } + .filter-item button:hover { + color: var(--light-gray-70); + } - .filter-item button.active { color: var(--orange-yellow-crayola); } + .filter-item button.active { + color: var(--orange-yellow-crayola); + } /* portfolio and blog grid */ - .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; } - - + .project-list, + .blog-posts-list { + grid-template-columns: 1fr 1fr; + } /** * CONTACT */ - .input-wrapper { grid-template-columns: 1fr 1fr; } + .input-wrapper { + grid-template-columns: 1fr 1fr; + } .form-btn { width: max-content; margin-left: auto; } - } - - - - /** * responsive larger than 1024px screen */ @media (min-width: 1024px) { - /** * CUSTOM PROPERTY */ :root { - /** * shadow */ @@ -1669,27 +1802,25 @@ textarea.form-input::-webkit-resizer { display: none; } --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125); --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125); --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125); - } - - /** * REUSED STYLE */ - .sidebar, article { + .sidebar, + article { width: 950px; box-shadow: var(--shadow-5); } - - /** * MAIN */ - main { margin-bottom: 60px; } + main { + margin-bottom: 60px; + } .main-content { position: relative; @@ -1697,8 +1828,6 @@ textarea.form-input::-webkit-resizer { display: none; } margin: auto; } - - /** * NAVBAR */ @@ -1720,9 +1849,9 @@ textarea.form-input::-webkit-resizer { display: none; } padding: 0 20px; } - .navbar-link { font-weight: var(--fw-500); } - - + .navbar-link { + font-weight: var(--fw-500); + } /** * ABOUT @@ -1737,71 +1866,78 @@ textarea.form-input::-webkit-resizer { display: none; } /* testimonials */ - .testimonials-item { min-width: calc(50% - 15px); } + .testimonials-item { + min-width: calc(50% - 15px); + } /* clients */ - .clients-item { min-width: calc(25% - 38px); } - - + .clients-item { + min-width: calc(25% - 38px); + } /** * PORTFOLIO */ - .project-list { grid-template-columns: repeat(3, 1fr); } - - + .project-list { + grid-template-columns: repeat(3, 1fr); + } /** * BLOG */ - .blog-banner-box { height: 230px; } - + .blog-banner-box { + height: 230px; + } } - - - - /** * responsive larger than 1250px screen */ @media (min-width: 1250px) { - /** * RESET */ - body::-webkit-scrollbar { width: 20px; } + body::-webkit-scrollbar { + width: 20px; + } - body::-webkit-scrollbar-track { background: var(--smoky-black); } + body::-webkit-scrollbar-track { + background: var(--smoky-black); + } body::-webkit-scrollbar-thumb { border: 5px solid var(--smoky-black); background: hsla(0, 0%, 100%, 0.1); border-radius: 20px; box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11), - inset -1px -1px 0 hsla(0, 0%, 100%, 0.11); + inset -1px -1px 0 hsla(0, 0%, 100%, 0.11); } - body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); } - - body::-webkit-scrollbar-button { height: 60px; } - + body::-webkit-scrollbar-thumb:hover { + background: hsla(0, 0%, 100%, 0.15); + } + body::-webkit-scrollbar-button { + height: 60px; + } /** * REUSED STYLE */ - .sidebar, article { width: auto; } - - article { min-height: 100%; } - + .sidebar, + article { + width: auto; + } + article { + min-height: 100%; + } /** * MAIN @@ -1822,8 +1958,6 @@ textarea.form-input::-webkit-resizer { display: none; } margin: 0; } - - /** * SIDEBAR */ @@ -1838,25 +1972,35 @@ textarea.form-input::-webkit-resizer { display: none; } z-index: 1; } - .sidebar-info { flex-direction: column; } + .sidebar-info { + flex-direction: column; + } - .avatar-box img { width: 150px; } + .avatar-box img { + width: 150px; + } .info-content .name { white-space: nowrap; text-align: center; } - .info-content .title { margin: auto; } + .info-content .title { + margin: auto; + } - .info_more-btn { display: none; } + .info_more-btn { + display: none; + } .sidebar-info_more { opacity: 1; visibility: visible; } - .contacts-list { grid-template-columns: 1fr; } + .contacts-list { + grid-template-columns: 1fr; + } .contact-info :is(.contact-link) { white-space: nowrap; @@ -1874,14 +2018,15 @@ textarea.form-input::-webkit-resizer { display: none; } opacity: 0; } - .social-list { justify-content: center; } - - + .social-list { + justify-content: center; + } /** * RESUME */ - .timeline-text { max-width: 700px; } - -} \ No newline at end of file + .timeline-text { + max-width: 700px; + } +}