65 lines
1 KiB
CSS
65 lines
1 KiB
CSS
:root {
|
|
--background-color: #ffffff;
|
|
--primary-color: #0066cc;
|
|
--text-color: #333333;
|
|
--secondary-text-color: #666666;
|
|
--highlight-color: #3399ff;
|
|
--outline-color: rgba(0, 0, 0, 0.2);
|
|
|
|
--icon-filter: invert(0);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--background-color: #1a1a1a;
|
|
--primary-color: #a594f9;
|
|
--text-color: #e0e0e0;
|
|
--secondary-text-color: #cdc1ff;
|
|
--highlight-color: #e5d9f2;
|
|
--outline-color: rgba(255, 255, 255, 0.2);
|
|
|
|
--icon-filter: invert(1);
|
|
}
|
|
|
|
html {
|
|
font-family: "VT323", monospace;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a {
|
|
position: relative;
|
|
color: var(--secondary-text-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -2px;
|
|
width: 0%;
|
|
height: 1px;
|
|
background-color: var(--primary-color);
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
}
|