first commit
This commit is contained in:
255
styles/AboutPage.module.css
Normal file
255
styles/AboutPage.module.css
Normal file
@@ -0,0 +1,255 @@
|
||||
.container {
|
||||
max-width: 900px;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 4rem 1.5rem;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2.5rem;
|
||||
}
|
||||
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 2.75rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 0.5rem;
|
||||
color: var(--accent-color);
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.25rem;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
font-size: 1.1rem;
|
||||
color: var(--text-secondary);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.aboutContent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.highlightCard {
|
||||
background: var(--background-secondary);
|
||||
padding: 2rem;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--background-secondary);
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.list {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.list li::before {
|
||||
content: "▹";
|
||||
color: var(--accent-color);
|
||||
margin-right: 0.75rem;
|
||||
}
|
||||
|
||||
.techGrid {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
}
|
||||
|
||||
.techItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
background: var(--background-secondary);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.techItem h3 {
|
||||
margin: 0 0 0.25rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.techItem p {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.caseStudy {
|
||||
background: var(--background-secondary);
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.caseStudy div {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.caseStudy span {
|
||||
font-weight: 600;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.credentials {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.25rem;
|
||||
background: var(--background-secondary);
|
||||
border-radius: 50px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
|
||||
.testimonial {
|
||||
padding: 2rem;
|
||||
background: var(--background-secondary);
|
||||
border-left: 4px solid var(--accent-color);
|
||||
border-radius: 8px;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.testimonial cite {
|
||||
display: block;
|
||||
margin-top: 1rem;
|
||||
font-style: normal;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.ctaSection {
|
||||
text-align: center;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.ctaButton {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 1rem 2rem;
|
||||
background: var(--accent-color);
|
||||
color: white;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.ctaButton:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 1.2rem;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.techIcon {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.badgeIcon {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.highlightCard {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.techItem {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.testimonial {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.badge {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
118
styles/ArticleCard.module.css
Normal file
118
styles/ArticleCard.module.css
Normal file
@@ -0,0 +1,118 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--article-bg);
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
height: 100%;
|
||||
position: relative;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.image {
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.container:hover .image {
|
||||
transform: scale(1.08);
|
||||
}
|
||||
|
||||
.viewsBadge {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: white;
|
||||
padding: 4px 10px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
backdrop-filter: blur(4px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1.5rem;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: var(--accent-color);
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.6;
|
||||
opacity: 0.85;
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
font-size: 0.9rem;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-weight: 500;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.icon {
|
||||
color: var(--accent-color);
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.readMore {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent-color);
|
||||
padding: 6px 12px;
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 20px;
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.container:hover .readMore {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--article-bg);
|
||||
}
|
||||
65
styles/ArticlesPage.module.css
Normal file
65
styles/ArticlesPage.module.css
Normal file
@@ -0,0 +1,65 @@
|
||||
.layout {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 1.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
margin-bottom: 1.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-bottom: 3rem;
|
||||
max-width: 600px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.underline {
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
background-image: linear-gradient(
|
||||
120deg,
|
||||
var(--accent-color) 100%,
|
||||
var(--accent-color) 100%
|
||||
);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 0.2em;
|
||||
background-position: 0 88%;
|
||||
transition: background-size 0.25s ease-in;
|
||||
}
|
||||
|
||||
.underline:hover {
|
||||
background-size: 100% 88%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.container {
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
48
styles/Bottombar.module.css
Normal file
48
styles/Bottombar.module.css
Normal file
@@ -0,0 +1,48 @@
|
||||
.bottomBar {
|
||||
background: var(--bottombar-bg);
|
||||
height: 25px;
|
||||
border-top: 1px solid var(--bottombar-border);
|
||||
color: rgb(225, 228, 232);
|
||||
padding: 0 0.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.bottomBar a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
margin-right: 0.5rem;
|
||||
height: 24px;
|
||||
align-items: center;
|
||||
padding: 0 0.2rem;
|
||||
cursor: pointer;
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
|
||||
.section:hover {
|
||||
background: var(--bottombar-hover-bg);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.bottomBar {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
.section {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
67
styles/ContactCode.module.css
Normal file
67
styles/ContactCode.module.css
Normal file
@@ -0,0 +1,67 @@
|
||||
.code {
|
||||
counter-reset: line;
|
||||
font-size: 1.2rem;
|
||||
line-height: 2rem;
|
||||
background-color: var(--article-bg);
|
||||
border-radius: 4px;
|
||||
padding: 1.5rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.code::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
background: var(--accent-color);
|
||||
}
|
||||
|
||||
.line {
|
||||
position: relative;
|
||||
padding-left: 2.5rem;
|
||||
}
|
||||
|
||||
.line::before {
|
||||
content: counter(line);
|
||||
counter-increment: line;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-right: 1rem;
|
||||
color: grey;
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.code a {
|
||||
color: var(--accent-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.code a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.className {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.code {
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.5rem;
|
||||
padding: 1.25rem 1rem;
|
||||
}
|
||||
|
||||
.line {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
.line::before {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
83
styles/ContactPage.module.css
Normal file
83
styles/ContactPage.module.css
Normal file
@@ -0,0 +1,83 @@
|
||||
.layout {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.container > * {
|
||||
flex: 1;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.container h1 {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
margin-bottom: 1rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
padding-top: 3rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-bottom: 3rem;
|
||||
max-width: 600px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.container {
|
||||
display: block;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.container > div:first-child {
|
||||
border-right: none;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.flex {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.form input {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 1.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
77
styles/Explorer.module.css
Normal file
77
styles/Explorer.module.css
Normal file
@@ -0,0 +1,77 @@
|
||||
.explorer {
|
||||
background: var(--explorer-bg);
|
||||
width: 18vw;
|
||||
color: rgb(225, 228, 232);
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
border-right: 1px solid var(--explorer-border);
|
||||
}
|
||||
|
||||
.title {
|
||||
padding: 0.5rem 0.75rem;
|
||||
font-weight: 300;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
letter-spacing: 1px;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.heading {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
letter-spacing: 1px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.files {
|
||||
padding: 0.5rem 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file {
|
||||
padding: 0.2rem 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.875rem;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.file p {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.file:hover {
|
||||
background: var(--explorer-hover-bg);
|
||||
}
|
||||
|
||||
.chevron {
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 2000px) {
|
||||
.explorer {
|
||||
width: 10vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.explorer {
|
||||
width: 20vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.explorer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
258
styles/GithubPage.module.css
Normal file
258
styles/GithubPage.module.css
Normal file
@@ -0,0 +1,258 @@
|
||||
.layout {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pageHeading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding-top: 3rem;
|
||||
}
|
||||
|
||||
.githubPage {
|
||||
width: 100%;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
margin-bottom: 1.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 400;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-bottom: 3rem;
|
||||
max-width: 600px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.profileSection {
|
||||
background: var(--article-bg);
|
||||
border-radius: 8px;
|
||||
padding: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.profileInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--accent-color);
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.userInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.username::before {
|
||||
content: '@';
|
||||
font-size: 1.5rem;
|
||||
color: var(--accent-color);
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.username::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: -4px;
|
||||
width: 40px;
|
||||
height: 2px;
|
||||
background-color: var(--accent-color);
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.statItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.statIcon {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.profileLink {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
width: fit-content;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
padding: 0.3rem 0.7rem;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.profileLink:hover {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.sectionHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
.sectionIcon {
|
||||
color: var(--accent-color);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.reposContainer {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.contributions {
|
||||
background: var(--article-bg);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.contributions article {
|
||||
width: 100% !important;
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
.underline {
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
background-image: linear-gradient(
|
||||
120deg,
|
||||
var(--accent-color) 100%,
|
||||
var(--accent-color) 100%
|
||||
);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 0.2em;
|
||||
background-position: 0 88%;
|
||||
transition: background-size 0.25s ease-in;
|
||||
}
|
||||
|
||||
.underline:hover {
|
||||
background-size: 100% 88%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.profileInfo {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.userInfo {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.reposContainer {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.contributions {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.username::before {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.sectionIcon {
|
||||
font-size: 1.1rem;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.stats {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) and (max-width: 900px) {
|
||||
.reposContainer {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
842
styles/HomePage.module.css
Normal file
842
styles/HomePage.module.css
Normal file
@@ -0,0 +1,842 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@400;500;600;700&display=swap');
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1.2fr 1fr;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
padding: 2rem 4rem;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.editorContent {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
padding: 1rem 0;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.function {
|
||||
color: #dcdcaa;
|
||||
}
|
||||
|
||||
.heroLayout {
|
||||
position: relative;
|
||||
font-family: 'Inter', sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.codeSection {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.codeContainer {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
height: 550px;
|
||||
background: var(--main-bg);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
|
||||
position: relative;
|
||||
border: 1px solid var(--explorer-border);
|
||||
}
|
||||
|
||||
.editorContent {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.lineNumbers {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px 0;
|
||||
width: 50px;
|
||||
background: var(--main-bg);
|
||||
color: #636e83;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
user-select: none;
|
||||
text-align: right;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.lineNumber {
|
||||
line-height: 1.5;
|
||||
padding: 2px 10px 2px 0;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.activeLine {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.codeEditor {
|
||||
flex: 1;
|
||||
padding: 16px 20px 16px 0;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: var(--text-color);
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #444 var(--main-bg);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.codeEditor::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.codeEditor::-webkit-scrollbar-track {
|
||||
background: var(--main-bg);
|
||||
}
|
||||
|
||||
.codeEditor::-webkit-scrollbar-thumb {
|
||||
background-color: #444;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.codeLine {
|
||||
padding: 2px 0;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.highlightedLine {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.highlightedLine::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -10px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 3px;
|
||||
background: var(--accent-color);
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
|
||||
/* Syntax Highlighting */
|
||||
.function {
|
||||
color: #c586c0;
|
||||
}
|
||||
|
||||
.variable {
|
||||
color: #9cdcfe;
|
||||
}
|
||||
|
||||
.array-start,
|
||||
.array-end {
|
||||
color: #dcdcaa;
|
||||
}
|
||||
|
||||
.array-item {
|
||||
color: #ce9178;
|
||||
}
|
||||
|
||||
.nested-function {
|
||||
color: #c586c0;
|
||||
}
|
||||
|
||||
.return {
|
||||
color: #dcdcaa;
|
||||
}
|
||||
|
||||
.function-call {
|
||||
color: #4ec9b0;
|
||||
}
|
||||
|
||||
.close,
|
||||
.close-function {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.return-object {
|
||||
color: #9cdcfe;
|
||||
}
|
||||
|
||||
.object-method {
|
||||
color: #dcdcaa;
|
||||
}
|
||||
|
||||
.comment {
|
||||
color: #6a9955;
|
||||
}
|
||||
|
||||
.blank {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.overlayGlow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: radial-gradient(
|
||||
circle at 50% 50%,
|
||||
rgba(var(--accent-color-rgb), 0.03) 0%,
|
||||
rgba(0, 0, 0, 0) 70%
|
||||
);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Information Section */
|
||||
.infoSection {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.developerName {
|
||||
font-size: 4rem;
|
||||
font-weight: 800;
|
||||
margin: 0;
|
||||
color: var(--text-color);
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.accentText {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.developerRole {
|
||||
font-size: 1.25rem;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
margin-top: -0.5rem;
|
||||
}
|
||||
|
||||
.bio {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
max-width: 35rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skillTags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.skillTag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 12px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.85rem;
|
||||
border: 1px solid;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.skillTag:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.actionLinks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.25rem;
|
||||
margin-top: 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.primaryLink,
|
||||
.secondaryLink,
|
||||
.githubLink {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
.primaryLink {
|
||||
background-color: var(--accent-color);
|
||||
color: white;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 6px;
|
||||
font-size: 1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.primaryLink::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.2),
|
||||
transparent
|
||||
);
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.5s ease;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.primaryLink:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.5);
|
||||
}
|
||||
|
||||
.primaryLink:hover::before {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
/* Decorative Elements */
|
||||
.decorElements {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.codeFlare {
|
||||
position: absolute;
|
||||
top: -150px;
|
||||
right: 10%;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
background: radial-gradient(
|
||||
circle at center,
|
||||
rgba(var(--accent-color-rgb), 0.08) 0%,
|
||||
rgba(var(--accent-color-rgb), 0.02) 30%,
|
||||
transparent 70%
|
||||
);
|
||||
filter: blur(40px);
|
||||
opacity: 0.8;
|
||||
z-index: -1;
|
||||
animation: pulse 8s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.gridLines {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
rgba(255, 255, 255, 0.02) 1px,
|
||||
transparent 1px
|
||||
),
|
||||
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
|
||||
background-size: 30px 30px;
|
||||
z-index: -2;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.codeBlock1,
|
||||
.codeBlock2,
|
||||
.codeBlock3,
|
||||
.codeBlock4 {
|
||||
position: absolute;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
color: rgba(var(--accent-color-rgb), 0.08);
|
||||
font-size: 180px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
user-select: none;
|
||||
filter: blur(2px);
|
||||
animation: float 20s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.codeBlock1 {
|
||||
top: 10%;
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
transform: rotate(-10deg);
|
||||
animation-delay: 0s;
|
||||
}
|
||||
|
||||
.codeBlock2 {
|
||||
bottom: 10%;
|
||||
right: 15%;
|
||||
opacity: 0.1;
|
||||
transform: rotate(10deg);
|
||||
animation-delay: -7s;
|
||||
}
|
||||
|
||||
.codeBlock3 {
|
||||
top: 30%;
|
||||
right: 5%;
|
||||
opacity: 0.05;
|
||||
font-size: 150px;
|
||||
animation-delay: -3s;
|
||||
}
|
||||
|
||||
.codeBlock4 {
|
||||
bottom: 10%;
|
||||
left: 20%;
|
||||
opacity: 0.08;
|
||||
font-size: 160px;
|
||||
animation-delay: -10s;
|
||||
}
|
||||
|
||||
.orb1,
|
||||
.orb2,
|
||||
.orb3 {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
filter: blur(30px);
|
||||
opacity: 0.2;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.orb1 {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
background: linear-gradient(135deg, var(--accent-color), transparent);
|
||||
top: 20%;
|
||||
left: 10%;
|
||||
animation: orbFloat 15s infinite alternate ease-in-out;
|
||||
}
|
||||
|
||||
.orb2 {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: linear-gradient(45deg, rgba(97, 218, 251, 0.5), transparent);
|
||||
bottom: 10%;
|
||||
right: 5%;
|
||||
animation: orbFloat 20s infinite alternate-reverse ease-in-out;
|
||||
}
|
||||
|
||||
.orb3 {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background: radial-gradient(
|
||||
circle at center,
|
||||
rgba(174, 129, 255, 0.6),
|
||||
transparent
|
||||
);
|
||||
top: 70%;
|
||||
left: 30%;
|
||||
animation: orbFloat 12s infinite alternate ease-in-out;
|
||||
animation-delay: -5s;
|
||||
}
|
||||
|
||||
.codeSymbol1,
|
||||
.codeSymbol2,
|
||||
.codeSymbol3 {
|
||||
position: absolute;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
color: rgba(255, 255, 255, 0.08);
|
||||
font-size: 120px;
|
||||
font-weight: 700;
|
||||
filter: blur(1px);
|
||||
user-select: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.codeSymbol1 {
|
||||
top: 55%;
|
||||
right: 8%;
|
||||
opacity: 0.12;
|
||||
transform: rotate(10deg);
|
||||
animation: floatSlow 25s infinite alternate ease-in-out;
|
||||
}
|
||||
|
||||
.codeSymbol2 {
|
||||
bottom: 25%;
|
||||
left: 7%;
|
||||
opacity: 0.09;
|
||||
transform: rotate(-5deg);
|
||||
animation: floatSlow 22s infinite alternate-reverse ease-in-out;
|
||||
animation-delay: -8s;
|
||||
}
|
||||
|
||||
.codeSymbol3 {
|
||||
top: 15%;
|
||||
left: 45%;
|
||||
opacity: 0.07;
|
||||
transform: rotate(5deg);
|
||||
animation: floatSlow 18s infinite alternate ease-in-out;
|
||||
animation-delay: -12s;
|
||||
}
|
||||
|
||||
.dotPattern {
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
right: 30%;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background-image: radial-gradient(
|
||||
circle,
|
||||
rgba(255, 255, 255, 0.1) 1px,
|
||||
transparent 1px
|
||||
);
|
||||
background-size: 15px 15px;
|
||||
border-radius: 50%;
|
||||
opacity: 0.3;
|
||||
transform: rotate(-10deg);
|
||||
animation: rotate 35s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.8;
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
opacity: 0.6;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0) rotate(0deg);
|
||||
}
|
||||
25% {
|
||||
transform: translateY(-20px) rotate(2deg);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(0) rotate(0deg);
|
||||
}
|
||||
75% {
|
||||
transform: translateY(20px) rotate(-2deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes orbFloat {
|
||||
0% {
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate(20px, 20px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes floatSlow {
|
||||
0% {
|
||||
transform: translate(0, 0) rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: translate(15px, 15px) rotate(5deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slidingGlow {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
/* Responsive Styles */
|
||||
@media (max-width: 1200px) {
|
||||
.container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 3rem;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.codeSection {
|
||||
justify-self: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.codeContainer {
|
||||
height: 450px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.infoSection {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bio {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.actionLinks {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
padding: 1.5rem;
|
||||
gap: 2rem;
|
||||
min-height: auto;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.codeContainer {
|
||||
height: 380px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.editorContent {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.codeLine {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.developerName {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.developerRole {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.bio {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.codeBlock1,
|
||||
.codeBlock2,
|
||||
.codeBlock3,
|
||||
.codeBlock4 {
|
||||
opacity: 0.05;
|
||||
font-size: 120px;
|
||||
}
|
||||
|
||||
.codeSymbol1,
|
||||
.codeSymbol2,
|
||||
.codeSymbol3 {
|
||||
font-size: 80px;
|
||||
opacity: 0.05;
|
||||
}
|
||||
|
||||
.orb1,
|
||||
.orb2,
|
||||
.orb3 {
|
||||
opacity: 0.1;
|
||||
width: 70%;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.dotPattern {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.infoSection {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.container {
|
||||
padding: 2rem 0;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: 1fr;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Remove the background gradient from heroLayout */
|
||||
.heroLayout::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(
|
||||
circle at 30% 70%,
|
||||
rgba(var(--accent-color-rgb), 0.06) 0%,
|
||||
transparent 65%
|
||||
);
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.decorElements::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
rgba(255, 255, 255, 0.03) 1px,
|
||||
transparent 1px
|
||||
),
|
||||
linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
|
||||
background-size: 20px 20px;
|
||||
opacity: 0.3;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.mobileAccent {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
border-radius: 50%;
|
||||
background: conic-gradient(
|
||||
from 0deg,
|
||||
transparent,
|
||||
rgba(var(--accent-color-rgb), 0.1),
|
||||
rgba(var(--accent-color-rgb), 0.2),
|
||||
rgba(var(--accent-color-rgb), 0.1),
|
||||
transparent
|
||||
);
|
||||
top: 15%;
|
||||
right: 15%;
|
||||
filter: blur(30px);
|
||||
opacity: 0.7;
|
||||
animation: rotateMobileAccent 15s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.mobileAccent::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
top: 80%;
|
||||
left: -150px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(
|
||||
circle at center,
|
||||
rgba(120, 200, 255, 0.2),
|
||||
transparent 70%
|
||||
);
|
||||
filter: blur(20px);
|
||||
}
|
||||
|
||||
.codeSection {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.infoSection {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
max-width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.infoSection::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.developerName {
|
||||
font-size: 2.8rem;
|
||||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.accentText {
|
||||
text-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.6);
|
||||
}
|
||||
|
||||
.developerRole {
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
padding-bottom: 1.2rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.bio {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||
max-width: 320px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.primaryLink {
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
justify-content: center;
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.4);
|
||||
}
|
||||
|
||||
.primaryLink:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.5);
|
||||
}
|
||||
|
||||
/* Hide decorative elements on mobile */
|
||||
.codeBlock1,
|
||||
.codeBlock2,
|
||||
.codeBlock3,
|
||||
.codeBlock4,
|
||||
.codeSymbol1,
|
||||
.codeSymbol2,
|
||||
.codeSymbol3,
|
||||
.dotPattern,
|
||||
.orb1,
|
||||
.orb2,
|
||||
.orb3 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@keyframes rotateMobileAccent {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mobileAccent {
|
||||
display: none;
|
||||
}
|
||||
45
styles/Layout.module.css
Normal file
45
styles/Layout.module.css
Normal file
@@ -0,0 +1,45 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
background: var(--main-bg);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 2rem;
|
||||
color: var(--text-color);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
flex: 1;
|
||||
height: 85vh;
|
||||
overflow-y: auto;
|
||||
scroll-behavior: smooth;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
scrollbar-width: 10px;
|
||||
scrollbar-color: var(--accent-color);
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-track {
|
||||
background: var(--scrollbar-track-bg);
|
||||
border-left: 1px solid #1e1f29;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-thumb {
|
||||
background: var(--scrollbar-thumb-bg);
|
||||
border-left: 1px solid #1e1f29;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.content {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
}
|
||||
184
styles/ProjectCard.module.css
Normal file
184
styles/ProjectCard.module.css
Normal file
@@ -0,0 +1,184 @@
|
||||
.card {
|
||||
background: var(--article-bg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
height: 250px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
transition: all 0.25s ease;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--accent-color);
|
||||
}
|
||||
|
||||
.background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
z-index: 0;
|
||||
opacity: 0.15;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover .background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1.75rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
height: calc(100% - 60px);
|
||||
}
|
||||
|
||||
.logoWrapper {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.title {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.75rem;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
margin-bottom: 1rem;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
background: transparent;
|
||||
border: 1px solid var(--accent-color);
|
||||
color: var(--accent-color);
|
||||
padding: 0.5rem 0.9rem;
|
||||
border-radius: 6px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
background: var(--accent-color);
|
||||
color: var(--bg-color);
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 0.5rem 0 1rem;
|
||||
}
|
||||
|
||||
.tags span {
|
||||
margin: 0.5rem 0.5rem 0 0;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.75rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.cta {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.underline {
|
||||
padding: 0.2rem 0;
|
||||
font-size: 0.9rem;
|
||||
letter-spacing: 0;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
background-image: linear-gradient(
|
||||
120deg,
|
||||
var(--accent-color) 100%,
|
||||
var(--accent-color) 100%
|
||||
);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 0.2em;
|
||||
background-position: 0 88%;
|
||||
transition: background-size 0.25s ease-in;
|
||||
}
|
||||
|
||||
.underline:hover {
|
||||
background-size: 100% 88%;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
padding: 0 1.75rem 1.25rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
/* Badge styling */
|
||||
.date, .status, .skills {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
padding: 0.3rem 0.75rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.status[data-status="active"] {
|
||||
background: rgba(40, 167, 69, 0.15);
|
||||
color: #28a745;
|
||||
}
|
||||
|
||||
.status[data-status="pending"] {
|
||||
background: rgba(255, 193, 7, 0.15);
|
||||
color: #ffc107;
|
||||
}
|
||||
|
||||
.status[data-status="archived"] {
|
||||
background: rgba(108, 117, 125, 0.15);
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.type {
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-left: auto;
|
||||
padding: 0.3rem 0.7rem;
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
47
styles/ProjectsPage.module.css
Normal file
47
styles/ProjectsPage.module.css
Normal file
@@ -0,0 +1,47 @@
|
||||
.layout {
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 2rem 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
margin-bottom: 1rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-bottom: 3rem;
|
||||
max-width: 600px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
133
styles/RepoCard.module.css
Normal file
133
styles/RepoCard.module.css
Normal file
@@ -0,0 +1,133 @@
|
||||
.card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
background: var(--article-bg);
|
||||
border-radius: 8px;
|
||||
padding: 1.25rem;
|
||||
height: 100%;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cardHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
row-gap: 0.75rem;
|
||||
column-gap: 0.5rem;
|
||||
}
|
||||
|
||||
.language {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.languageIcon {
|
||||
color: var(--accent-color);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.card p {
|
||||
margin: 0.75rem 0;
|
||||
color: var(--text-color);
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.5;
|
||||
flex-grow: 1;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: var(--accent-color);
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: -3px;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: var(--accent-color);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: auto;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.stats > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.stats > div:first-child {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stats > div:first-child > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.85rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.stats > div:nth-child(2) {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.stats > div:nth-child(2) a {
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
|
||||
.stats > div:nth-child(2) a:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.icon {
|
||||
color: var(--accent-color);
|
||||
margin-right: 0.3rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
.card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.stats > div:first-child {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.stats > div:nth-child(2) {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
33
styles/SettingsPage.module.css
Normal file
33
styles/SettingsPage.module.css
Normal file
@@ -0,0 +1,33 @@
|
||||
.layout {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.container {
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.settingsContainer {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
}
|
||||
64
styles/Sidebar.module.css
Normal file
64
styles/Sidebar.module.css
Normal file
@@ -0,0 +1,64 @@
|
||||
.sidebar {
|
||||
background: var(--sidebar-bg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 4.5vw;
|
||||
min-width: 40px;
|
||||
height: calc(100vh - 30px - 25px);
|
||||
}
|
||||
|
||||
.iconContainer {
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.iconContainer:hover {
|
||||
background: var(--sidebar-hover-bg);
|
||||
}
|
||||
|
||||
.active {
|
||||
border-left: 2px solid var(--accent-color);
|
||||
}
|
||||
|
||||
.icon {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
padding: 0.65rem 0;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 2000px) {
|
||||
.sidebar {
|
||||
width: 2.5vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
.sidebar {
|
||||
width: 6vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.sidebar {
|
||||
width: 8vw;
|
||||
}
|
||||
.icon {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
padding: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.sidebar {
|
||||
width: 10vw;
|
||||
}
|
||||
.icon {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
padding: 0.6rem;
|
||||
}
|
||||
}
|
||||
21
styles/Tab.module.css
Normal file
21
styles/Tab.module.css
Normal file
@@ -0,0 +1,21 @@
|
||||
.tab {
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: var(--tab-bg);
|
||||
color: #ececec;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border: 1px solid var(--tab-border);
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-size: 0.9rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tab p {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.active {
|
||||
border-top: 1px solid var(--accent-color);
|
||||
background: var(--tab-active-bg);
|
||||
border-bottom: none;
|
||||
}
|
||||
18
styles/Tabsbar.module.css
Normal file
18
styles/Tabsbar.module.css
Normal file
@@ -0,0 +1,18 @@
|
||||
.tabs {
|
||||
display: flex;
|
||||
/* flex-wrap: wrap; */
|
||||
background: var(--tabs-bg);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.tabs {
|
||||
width: 78vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.tabs {
|
||||
width: 89.5vw;
|
||||
}
|
||||
}
|
||||
74
styles/ThemeInfo.module.css
Normal file
74
styles/ThemeInfo.module.css
Normal file
@@ -0,0 +1,74 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 0.5rem 0;
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
background-color: var(--explorer-bg);
|
||||
border-radius: 4px;
|
||||
border: 1px solid transparent;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.25rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.themeImage {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.info {
|
||||
margin-top: 0.75rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.info h3 {
|
||||
font-size: 0.95rem;
|
||||
margin: 0 0 0.15rem 0;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.info h5 {
|
||||
font-size: 0.75rem;
|
||||
margin: 0 0 0.75rem 0;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.info button {
|
||||
margin-top: 0.5rem;
|
||||
border: none;
|
||||
background: var(--button-bg);
|
||||
color: var(--button-text);
|
||||
padding: 0.35rem 0.5rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
border-radius: 2px;
|
||||
width: 100%;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.info button:focus {
|
||||
outline: 1px solid var(--accent-color);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.info h3 {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
66
styles/Titlebar.module.css
Normal file
66
styles/Titlebar.module.css
Normal file
@@ -0,0 +1,66 @@
|
||||
.titlebar {
|
||||
background: var(--titlebar-bg);
|
||||
height: 30px;
|
||||
padding: 0 0.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-size: 0.85rem;
|
||||
border-bottom: 1px solid #191d20;
|
||||
}
|
||||
|
||||
.items {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
margin-right: auto;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.items > * {
|
||||
padding: 0 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.windowButtons {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.windowButtons * {
|
||||
margin-left: 0.5rem;
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.minimize {
|
||||
background: #f1fa8c;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.maximize {
|
||||
background: #50fa7b;
|
||||
}
|
||||
|
||||
.close {
|
||||
background: #ff5555;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.items p {
|
||||
display: none;
|
||||
}
|
||||
.title {
|
||||
flex: 4;
|
||||
}
|
||||
}
|
||||
25
styles/globals.css
Normal file
25
styles/globals.css
Normal file
@@ -0,0 +1,25 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400&display=swap');
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
#__next {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
155
styles/themes.css
Normal file
155
styles/themes.css
Normal file
@@ -0,0 +1,155 @@
|
||||
/* GitHub Dark */
|
||||
:root {
|
||||
--main-bg: #24292e;
|
||||
--bg-text: rgba(56, 58, 61, 0.35);
|
||||
--text-color: #efefef;
|
||||
--accent-color: #f9826c;
|
||||
--titlebar-bg: #1f2428;
|
||||
--sidebar-bg: #24292e;
|
||||
--sidebar-hover-bg: #1f2428;
|
||||
--explorer-bg: #1f2428;
|
||||
--explorer-hover-bg: #24292e;
|
||||
--explorer-border: #161a1d;
|
||||
--tabs-bg: #1f2428;
|
||||
--tab-bg: #1f2428;
|
||||
--tab-active-bg: #24292e;
|
||||
--tab-border: #24292e;
|
||||
--bottombar-bg: #24292e;
|
||||
--bottombar-border: #1b1f23;
|
||||
--button-bg: #176f2c;
|
||||
--button-text: #dcffe4;
|
||||
--bottombar-hover-bg: #4f4f52;
|
||||
--scrollbar-track-bg: #24292e;
|
||||
--scrollbar-thumb-bg: #333536;
|
||||
--article-bg: #1f2428;
|
||||
}
|
||||
|
||||
/* Dracula */
|
||||
[data-theme='dracula'] {
|
||||
--main-bg: #282a36;
|
||||
--bg-text: #313340;
|
||||
--text-color: #efefef;
|
||||
--accent-color: #bd93f9;
|
||||
--titlebar-bg: #1e1f29;
|
||||
--sidebar-bg: #343746;
|
||||
--sidebar-hover-bg: #3c3d51;
|
||||
--explorer-bg: #21222c;
|
||||
--explorer-hover-bg: #313241;
|
||||
--explorer-border: #161a1d;
|
||||
--tabs-bg: #191a21;
|
||||
--tab-bg: #21222c;
|
||||
--tab-active-bg: #282a36;
|
||||
--tab-border: #191a21;
|
||||
--bottombar-bg: #191a21;
|
||||
--bottombar-border: #191a21;
|
||||
--button-bg: #44475a;
|
||||
--button-text: #f8f8f2;
|
||||
--bottombar-hover-bg: #4f4f52;
|
||||
--scrollbar-track-bg: #282a36;
|
||||
--scrollbar-thumb-bg: #454647;
|
||||
--article-bg: #21222c;
|
||||
}
|
||||
|
||||
/* Ayu Dark */
|
||||
[data-theme='ayu-dark'] {
|
||||
--main-bg: #0a0e14;
|
||||
--bg-text: #101620;
|
||||
--text-color: #efefef;
|
||||
--accent-color: #e6b450;
|
||||
--titlebar-bg: #1f2428;
|
||||
--sidebar-bg: #0a0e14;
|
||||
--sidebar-hover-bg: #00010a;
|
||||
--explorer-bg: #0a0e14;
|
||||
--explorer-hover-bg: #00010a;
|
||||
--explorer-border: transparent;
|
||||
--tabs-bg: #0a0e14;
|
||||
--tab-bg: #0a0e14;
|
||||
--tab-active-bg: #0a0e14;
|
||||
--tab-border: transparent;
|
||||
--bottombar-bg: #0a0e14;
|
||||
--bottombar-border: transparent;
|
||||
--button-bg: #e6b450;
|
||||
--button-text: #0a0e14;
|
||||
--bottombar-hover-bg: #4f4f52;
|
||||
--scrollbar-track-bg: #0a0e14;
|
||||
--scrollbar-thumb-bg: #454647;
|
||||
--article-bg: #10121a;
|
||||
}
|
||||
|
||||
/* Ayu Mirage */
|
||||
[data-theme='ayu-mirage'] {
|
||||
--main-bg: #1f2430;
|
||||
--bg-text: #21242b;
|
||||
--text-color: #efefef;
|
||||
--accent-color: #e6b450;
|
||||
--titlebar-bg: #1f2428;
|
||||
--sidebar-bg: #1f2430;
|
||||
--sidebar-hover-bg: #191e2a;
|
||||
--explorer-bg: #1f2430;
|
||||
--explorer-hover-bg: #191e2a;
|
||||
--explorer-border: transparent;
|
||||
--tabs-bg: #1f2430;
|
||||
--tab-bg: #1f2430;
|
||||
--tab-active-bg: #1f2430;
|
||||
--tab-border: transparent;
|
||||
--bottombar-bg: #1f2430;
|
||||
--bottombar-border: transparent;
|
||||
--button-bg: #e6b450;
|
||||
--button-text: #1f2430;
|
||||
--bottombar-hover-bg: #4f4f52;
|
||||
--scrollbar-track-bg: #1f2430;
|
||||
--scrollbar-thumb-bg: #454647;
|
||||
--article-bg: #252e3d;
|
||||
}
|
||||
|
||||
/* Nord */
|
||||
[data-theme='nord'] {
|
||||
--main-bg: #2e3440;
|
||||
--bg-text: #3b414d;
|
||||
--text-color: #efefef;
|
||||
--accent-color: #88c0d0;
|
||||
--titlebar-bg: #1f2428;
|
||||
--sidebar-bg: #2e3440;
|
||||
--sidebar-hover-bg: #434c5e;
|
||||
--explorer-bg: #2e3440;
|
||||
--explorer-hover-bg: #434c5e;
|
||||
--explorer-border: rgba(136, 192, 208, 0.2);
|
||||
--tabs-bg: #2e3440;
|
||||
--tab-bg: #2e3440;
|
||||
--tab-active-bg: #3b4252;
|
||||
--tab-border: transparent;
|
||||
--bottombar-bg: #3b4252;
|
||||
--bottombar-border: transparent;
|
||||
--button-bg: #434c5e;
|
||||
--button-text: #d8dee9;
|
||||
--bottombar-hover-bg: #4f4f52;
|
||||
--scrollbar-track-bg: #2e3440;
|
||||
--scrollbar-thumb-bg: #454647;
|
||||
--article-bg: #363f50;
|
||||
}
|
||||
|
||||
/* Night Owl */
|
||||
[data-theme='night-owl'] {
|
||||
--main-bg: #011627;
|
||||
--bg-text: #031d33;
|
||||
--text-color: #89a4bb;
|
||||
--accent-color: rgb(95, 126, 151);
|
||||
--titlebar-bg: #011627;
|
||||
--sidebar-bg: #011627;
|
||||
--sidebar-hover-bg: #0e293f;
|
||||
--explorer-bg: #011627;
|
||||
--explorer-hover-bg: #0e293f;
|
||||
--explorer-border: transparent;
|
||||
--tabs-bg: #011627;
|
||||
--tab-bg: #01111d;
|
||||
--tab-active-bg: #0b2942;
|
||||
--tab-border: rgb(39, 43, 59);
|
||||
--bottombar-bg: #011627;
|
||||
--bottombar-border: #262a39;
|
||||
--button-bg: rgb(95, 126, 151);
|
||||
--button-text: #fff;
|
||||
--bottombar-hover-bg: #1b222f;
|
||||
--scrollbar-track-bg: #011627;
|
||||
--scrollbar-thumb-bg: #043254;
|
||||
--article-bg: #031d33;
|
||||
}
|
||||
Reference in New Issue
Block a user