upd
This commit is contained in:
parent
529150b381
commit
98d803929a
455 changed files with 279 additions and 3353 deletions
|
@ -1,48 +0,0 @@
|
|||
#image-gallery {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.gallery {
|
||||
column-count: 3;
|
||||
column-gap: 1rem;
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
break-inside: avoid;
|
||||
margin-bottom: 1rem;
|
||||
text-align: center;
|
||||
list-style: none; /* ← important! */
|
||||
}
|
||||
|
||||
|
||||
.gallery-item img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.gallery-item img:hover {
|
||||
transform: scale(1.6);
|
||||
}
|
||||
|
||||
.caption {
|
||||
font-size: 0.9rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0; /* ← just in case */
|
||||
color: var(--fg-color);
|
||||
list-style: none; /* ← extra-safe */
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.gallery {
|
||||
column-count: 2;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.gallery {
|
||||
column-count: 1;
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
.mermaid {
|
||||
text-align: center;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
padding: 1em;
|
||||
border-radius: 0.5em;
|
||||
background-color: var(--code-bg);
|
||||
font-family: var(--code-font, monospace);
|
||||
font-size: 0.9rem;
|
||||
overflow-x: auto;
|
||||
max-width: 100%;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.mermaid strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mermaid svg {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.mermaid {
|
||||
background-color: var(--code-bg-dark, #2d2d2d);
|
||||
}
|
||||
}
|
|
@ -1,72 +0,0 @@
|
|||
/* Basic Layout for Skills List */
|
||||
#skills-content {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
#skills-content .category {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
#skills-content .category h3 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: regular;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Skills container for single-line display */
|
||||
#skills-content .skills-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex; /* Use flexbox for single-line display */
|
||||
flex-wrap: wrap; /* Allow skills to wrap if needed */
|
||||
gap: 1rem; /* Spacing between skills */
|
||||
}
|
||||
|
||||
/* Skill List Item */
|
||||
#skills-content .skills-list .skill {
|
||||
display: inline-flex; /* Ensures each skill is aligned inline */
|
||||
align-items: center;
|
||||
position: relative;
|
||||
cursor: pointer; /* Show pointer cursor on hover */
|
||||
text-decoration: none; /* Remove underline from links */
|
||||
color: inherit; /* Inherit color from parent */
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
|
||||
/* Skill Name */
|
||||
#skills-content .skills-list .skill span {
|
||||
display: inline-block;
|
||||
font-size: 1.2rem;
|
||||
margin-left: 0.5rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* Skill Icon */
|
||||
#skills-content .skills-list .skill .skill-icon {
|
||||
margin-right: 0.5rem;
|
||||
color: var(--accent-color);
|
||||
font-size: 1.4rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Hover Effects for Skills */
|
||||
#skills-content .skills-list .skill:hover::before {
|
||||
background: var(--accent-color-dark);
|
||||
}
|
||||
|
||||
#skills-content .skills-list .skill:hover {
|
||||
background-color: var(--accent-color-alpha);
|
||||
color: var(--fg-color); /* Change text color on hover */
|
||||
}
|
||||
|
||||
/* Skill Category Hover Effect */
|
||||
#skills-content .skills-list .skill:hover span {
|
||||
color: var(--fg-color);
|
||||
}
|
||||
|
||||
/* Optional: Customize Icon Color on Hover */
|
||||
#skills-content .skills-list .skill:hover .skill-icon {
|
||||
color: var(--fg-color);
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
/* Basic Layout */
|
||||
#timeline-content {
|
||||
position: relative;
|
||||
margin: 2rem 0;
|
||||
padding-left: 120px;
|
||||
}
|
||||
|
||||
#timeline-content ul.timeline {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#timeline-content ul.timeline::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -30px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
background: var(--accent-color);
|
||||
}
|
||||
|
||||
/* Event List Item */
|
||||
#timeline-content li.event {
|
||||
position: relative;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
/* Event Circle */
|
||||
#timeline-content li.event::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -39px;
|
||||
top: 5px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
background: var(--bg-color);
|
||||
border: 2px solid white;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* From + To Label — styled exactly like old date label */
|
||||
#timeline-content li.event::after {
|
||||
content: attr(data-from) "\A" attr(data-to);
|
||||
white-space: pre; /* ensures newline works */
|
||||
position: absolute;
|
||||
left: -160px;
|
||||
width: 100px;
|
||||
text-align: right;
|
||||
color: var(--fg-color);
|
||||
font-weight: bold;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.3;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* Event Heading */
|
||||
#timeline-content li.event h3 {
|
||||
margin: 0 0 0.5rem 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Event Description */
|
||||
#timeline-content li.event p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Timeline Icon */
|
||||
#timeline-content .timeline-icon {
|
||||
margin-right: 0.5rem;
|
||||
color: var(--accent-color);
|
||||
font-size: 1.2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Hover Effects */
|
||||
#timeline-content li.event:hover::before {
|
||||
background: var(--accent-color);
|
||||
}
|
||||
|
||||
#timeline-content li.event:hover {
|
||||
background-color: var(--accent-color-alpha);
|
||||
}
|
||||
|
||||
/* From + To Label Hover Effect */
|
||||
#timeline-content li.event:hover::after {
|
||||
color: var(--accent-color);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue