258 lines
4.7 KiB
CSS
258 lines
4.7 KiB
CSS
.skillsSection {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 3.75rem;
|
|
padding-bottom: 5rem;
|
|
}
|
|
|
|
.mainCard {
|
|
width: 100%;
|
|
background-color: transparent;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-xl);
|
|
padding: 2.25rem 2.5rem;
|
|
box-shadow: 0 0.25rem 1.25rem var(--shadow-color);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.cardEyebrow {
|
|
display: block;
|
|
font-size: var(--font-size-label-small);
|
|
line-height: var(--line-height-label-small);
|
|
letter-spacing: var(--letter-spacing-eyebrow);
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.skillsBlock {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.skillsGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
row-gap: 1.75rem;
|
|
column-gap: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.skillItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.625rem;
|
|
}
|
|
|
|
.skillName {
|
|
font-size: var(--font-size-body-default);
|
|
line-height: var(--line-height-body-default);
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.meterSegments {
|
|
display: flex;
|
|
gap: 0.375rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.segment {
|
|
flex: 1;
|
|
height: 0.375rem;
|
|
border-radius: 3px;
|
|
background-color: var(--border-default);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.segmentFilled {
|
|
background-color: var(--accent-default);
|
|
}
|
|
|
|
.badgeCloud {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.625rem;
|
|
}
|
|
|
|
.badgePill {
|
|
padding: 0.375rem 1rem;
|
|
border-radius: var(--radius-pill);
|
|
background-color: var(--bg-subtle);
|
|
border: 1px solid var(--border-default);
|
|
font-size: var(--font-size-label-small);
|
|
line-height: var(--line-height-label-small);
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
transition:
|
|
color var(--motion-duration-fast) ease,
|
|
border-color var(--motion-duration-fast) ease;
|
|
}
|
|
|
|
.toolsBlock {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.toolsGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
gap: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.toolTile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: auto;
|
|
aspect-ratio: 1 / 1;
|
|
min-height: 6.5rem;
|
|
background-color: transparent;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
padding: 0.75rem 0.375rem;
|
|
box-sizing: border-box;
|
|
transition:
|
|
opacity var(--motion-duration-default) ease,
|
|
filter var(--motion-duration-default) ease,
|
|
border-color var(--motion-duration-fast) ease,
|
|
box-shadow var(--motion-duration-default) ease,
|
|
transform var(--motion-duration-default) var(--motion-ease-out);
|
|
cursor: default;
|
|
}
|
|
|
|
.toolDimmed {
|
|
opacity: 0.35;
|
|
filter: grayscale(0.8);
|
|
}
|
|
|
|
.toolIconContainer {
|
|
width: clamp(2.25rem, 42%, 3.5rem);
|
|
height: clamp(2.25rem, 42%, 3.5rem);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.toolIcon {
|
|
object-fit: contain;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.toolLabel {
|
|
font-size: clamp(0.75rem, 1vw, 0.8125rem);
|
|
line-height: 1.25;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
text-align: center;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.filterTabsRow {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.filterButton {
|
|
min-width: 11.25rem;
|
|
}
|
|
|
|
[data-theme="dark"] .mainCard {
|
|
background-color: var(--bg-surface);
|
|
}
|
|
|
|
[data-theme="dark"] .toolTile {
|
|
background-color: var(--bg-raised);
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.toolsGrid {
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
gap: 0.875rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 850px) {
|
|
.skillsSection {
|
|
padding-top: var(--space-8);
|
|
padding-bottom: var(--space-9);
|
|
}
|
|
|
|
.mainCard {
|
|
padding: var(--space-6);
|
|
}
|
|
|
|
.skillsGrid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
column-gap: var(--space-6);
|
|
}
|
|
|
|
.toolsGrid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.filterTabsRow {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.mainCard {
|
|
padding: var(--space-5);
|
|
}
|
|
|
|
.skillsGrid {
|
|
grid-template-columns: 1fr;
|
|
row-gap: var(--space-5);
|
|
}
|
|
|
|
.toolsGrid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.625rem;
|
|
}
|
|
|
|
.filterTabsRow {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.filterButton {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.mainCard {
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.toolsGrid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.badgePill:hover {
|
|
border-color: var(--accent-default);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.toolTile:hover {
|
|
border-color: var(--accent-default);
|
|
box-shadow: 0 8px 24px var(--shadow-color);
|
|
transform: translateY(-3px);
|
|
}
|
|
}
|