diff --git a/src/index.css b/src/index.css index 233b5c6..d1c24f0 100644 --- a/src/index.css +++ b/src/index.css @@ -1,45 +1,47 @@ :root { - --bg-color: #0c0c0c; - --primary-color: #0d0d0d; - --secondary-color: #fff; - --text-color: #fff; - --text-color-2: #fff; - --text-color-3: rgb(204, 0, 0); - --overlay-color: rgb(12 12 12 / 63%); + --bg-color: #080808; + --primary-color: #0f0f0f; + --secondary-color: #fff; + --text-color: #fff; + --text-color-2: #fff; + --text-color-3: rgb(204, 0, 0); + --overlay-color: rgb(8 8 8 / 63%); + --image-container-bg: #060606; } [data-theme="light"] { - --bg-color: #ffffff; - --primary-color: #ffffff; - --secondary-color: #000; - --text-color: #000; - --text-color-2: #000; - --text-color-3: rgb(204, 0, 0); - --overlay-color: rgb(255 255 255 / 70%); + --bg-color: #e3dac9; + --primary-color: #e3dac9; + --secondary-color: #000; + --text-color: #000; + --text-color-2: #000; + --text-color-3: rgb(204, 0, 0); + --overlay-color: rgb(227 218 201 / 70%); + --image-container-bg: #d8c9b2; } html, body { - height: 100%; + height: 100%; } body { - margin: 0; - height: 100%; - overflow-x: hidden; - overflow-y: visible; - background-color: var(--bg-color); - color: var(--text-color); - font-family: 'Raleway', sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - padding-top: 60px; - border-left: 10px solid var(--primary-color); - border-right: 10px solid var(--primary-color); + margin: 0; + height: 100%; + overflow-x: hidden; + overflow-y: visible; + background-color: var(--bg-color); + color: var(--text-color); + font-family: "Raleway", sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + padding-top: 60px; + border-left: 10px solid var(--primary-color); + border-right: 10px solid var(--primary-color); } ul { - list-style: none; + list-style: none; } h1, @@ -48,49 +50,50 @@ h3, h4, h5, h6 { - font-family: Marcellus; + font-family: Marcellus; } a, a:hover { - color: var(--text-color); + color: var(--text-color); } p { - word-break: break-word; - hyphens: auto; + word-break: break-word; + hyphens: auto; } .ovhidden { - overflow: hidden; + overflow: hidden; } .text_2, .text_2:hover { - color: var(--text-color-2); + color: var(--text-color-2); } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", + monospace; } .cursor__dot div { - z-index: 999999 !important; + z-index: 999999 !important; } .cursor__dot div:last-child { - background-color: var(--text-color-3) !important; + background-color: var(--text-color-3) !important; } .cursor__dot div:first-child { - filter: invert(1); - background-color: var(--overlay-color) !important; + filter: invert(1); + background-color: var(--overlay-color) !important; } .color_pr { - color: var(--primary-color) !important; + color: var(--primary-color) !important; } .color_sec { - color: var(--secondary-color); + color: var(--secondary-color); } diff --git a/src/pages/home/style.css b/src/pages/home/style.css index 567ed86..891ad52 100644 --- a/src/pages/home/style.css +++ b/src/pages/home/style.css @@ -102,6 +102,8 @@ section { overflow: hidden; margin: 0 auto; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); + background-color: var(--image-container-bg); + border: 0.5px solid var(--secondary-color); } .ac_btn { diff --git a/src/pages/portfolio/style.css b/src/pages/portfolio/style.css index c9522e7..98230ba 100644 --- a/src/pages/portfolio/style.css +++ b/src/pages/portfolio/style.css @@ -1,82 +1,82 @@ .project_items_ho { - display: flex; - flex-wrap: wrap; - justify-content: center; - gap: 2rem; + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 2rem; } .project_item { - width: calc(33% - 2rem); - text-align: center; - margin: 0.5rem; - position: relative; - background: var(--secondary-color); - padding: 6px; - border: 1px solid var(--secondary-color); - transition: 0.3s ease; - font-size: 0; - min-height: 300px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; + width: calc(33% - 2rem); + text-align: center; + margin: 0.5rem; + position: relative; + background: var(--image-container-bg); + padding: 6px; + border: 1px solid var(--image-container-bg); + transition: 0.3s ease; + font-size: 0; + min-height: 300px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } @media (max-width: 768px) { - .project_item { - width: calc(50% - 2rem); - } + .project_item { + width: calc(50% - 2rem); + } } @media (max-width: 576px) { - .project_item { - width: calc(100% - 2rem); - } + .project_item { + width: calc(100% - 2rem); + } } .project_item img { - max-width: 100%; - max-height: 200px; - object-fit: cover; + max-width: 100%; + max-height: 200px; + object-fit: cover; } .project_item .content { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - background: var(--overlay-color); - opacity: 0; - transition: opacity 0.3s ease-in-out; - padding: 10px; - box-sizing: border-box; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background: var(--overlay-color); + opacity: 0; + transition: opacity 0.3s ease-in-out; + padding: 10px; + box-sizing: border-box; } .project_item:hover .content { - opacity: 1; + opacity: 1; } .project_item .content p { - color: var(--text-color); - font-size: 1rem; - margin-bottom: 10px; + color: var(--text-color); + font-size: 1rem; + margin-bottom: 10px; } .project_item .content a { - background: var(--bg-color); - border: solid 1px var(--text-color); - padding: 4px 8px; - text-align: center; - font-size: 1rem; - color: var(--text-color); - text-decoration: none; + background: var(--bg-color); + border: solid 1px var(--text-color); + padding: 4px 8px; + text-align: center; + font-size: 1rem; + color: var(--text-color); + text-decoration: none; } .project_item .content a:hover { - text-decoration: none; + text-decoration: none; }