mirror of
https://github.com/harivansh-afk/React-Portfolio.git
synced 2026-04-15 06:04:43 +00:00
121 lines
2.1 KiB
CSS
121 lines
2.1 KiB
CSS
:root {
|
|
--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;
|
|
--card-border: rgba(255, 255, 255, 0.2);
|
|
|
|
/* RGB Values for opacity manipulation */
|
|
--bg-color-rgb: 8, 8, 8;
|
|
--primary-rgb: 15, 15, 15;
|
|
--secondary-rgb: 255, 255, 255;
|
|
--text-color-rgb: 255, 255, 255;
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
--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;
|
|
--card-border: rgba(0, 0, 0, 0.2);
|
|
|
|
/* RGB Values for opacity manipulation */
|
|
--bg-color-rgb: 227, 218, 201;
|
|
--primary-rgb: 227, 218, 201;
|
|
--secondary-rgb: 0, 0, 0;
|
|
--text-color-rgb: 0, 0, 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
height: 100vh;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
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);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body {
|
|
overflow-y: auto;
|
|
height: auto;
|
|
min-height: 100vh;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: Marcellus;
|
|
}
|
|
|
|
a,
|
|
a:hover {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
p {
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.ovhidden {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.text_2,
|
|
.text_2:hover {
|
|
color: var(--text-color-2);
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
|
|
monospace;
|
|
}
|
|
|
|
.cursor__dot div {
|
|
z-index: 999999 !important;
|
|
}
|
|
|
|
.cursor__dot div:last-child {
|
|
background-color: var(--text-color-3) !important;
|
|
}
|
|
|
|
.cursor__dot div:first-child {
|
|
filter: invert(1);
|
|
background-color: var(--overlay-color) !important;
|
|
}
|
|
|
|
.color_pr {
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.color_sec {
|
|
color: var(--secondary-color);
|
|
}
|