refactor: standardize class naming conventions in About module styles to camelCase

This commit is contained in:
2025-05-23 18:51:46 +02:00
parent 6ea40432f7
commit 6d32ddbfd0
+112 -112
View File
@@ -1,6 +1,6 @@
@use './variables' as *; @use './variables' as *;
.profile-image { .profileImage {
width: 100%; width: 100%;
aspect-ratio: 1/1; aspect-ratio: 1/1;
border-radius: 8px; border-radius: 8px;
@@ -10,7 +10,7 @@
position: relative; position: relative;
} }
.profile-image::before { .profileImage::before {
content: ""; content: "";
position: absolute; position: absolute;
top: 0; top: 0;
@@ -21,30 +21,30 @@
z-index: 1; z-index: 1;
} }
.profile-image img { .profileImage img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
filter: contrast(1.1) brightness(0.9); filter: contrast(1.1) brightness(0.9);
} }
.intro-text { .introText {
font-size: 1.1rem; font-size: 1.1rem;
line-height: 1.8; line-height: 1.8;
color: var(--text-ash); color: var(--text-ash);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
.intro-text p { .introText p {
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} }
.intro-text strong { .introText strong {
color: var(--text-light); color: $text-light;
} }
.intro-text .accent { .introText .accent {
color: var(--accent-fire); color: $accent-fire;
} }
.connect-link { .connect-link {
@@ -55,30 +55,30 @@
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
border-radius: 4px; border-radius: 4px;
text-decoration: none; text-decoration: none;
color: var(--text-light); color: $text-light;
transition: all 0.3s ease; transition: all 0.3s ease;
border: 1px solid var(--card-border); border: 1px solid $card-border;
margin-right: 0.5rem; margin-right: 0.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.connect-link:hover { .connectLink:hover {
background-color: rgba(255, 100, 0, 0.1); background-color: rgba(255, 100, 0, 0.1);
transform: translateY(-3px); transform: translateY(-3px);
border-color: var(--accent-fire); border-color: $accent-fire;
color: var(--text-light); color: $text-light;
} }
.connect-icon { .connectIcon {
color: var(--accent-fire); color: $accent-fire;
} }
/* Value cards */ /* Value cards */
.value-card { .valueCard {
background-color: var(--card-bg); background-color: $card-bg;
border-radius: 8px; border-radius: 8px;
padding: 1.875rem; padding: 1.875rem;
border: 1px solid var(--card-border); border: 1px solid $card-border;
transition: all 0.3s ease; transition: all 0.3s ease;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
@@ -86,72 +86,72 @@
height: 100%; height: 100%;
} }
.value-card:hover { .valueCard:hover {
transform: translateY(-5px); transform: translateY(-5px);
border-color: rgba(255, 100, 0, 0.3); border-color: rgba(255, 100, 0, 0.3);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
} }
.value-icon { .valueIcon {
font-size: 2.5rem; font-size: 2.5rem;
color: var(--accent-fire); color: $accent-fire;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} }
.value-title { .valueTitle {
font-size: 1.3rem; font-size: 1.3rem;
margin-bottom: 1rem; margin-bottom: 1rem;
position: relative; position: relative;
display: inline-block; display: inline-block;
color: var(--text-light); color: $text-light;
} }
.value-title::after { .valueTitle::after {
content: ""; content: "";
position: absolute; position: absolute;
width: 40px; width: 40px;
height: 2px; height: 2px;
background: var(--accent-fire); background: $accent-fire;
bottom: -5px; bottom: -5px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.value-text { .valueText {
color: var(--text-ash); color: var(--text-ash);
line-height: 1.6; line-height: 1.6;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
/* Skills card */ /* Skills card */
.skill-card { .skillCard {
background-color: var(--card-bg); background-color: $card-bg;
border-radius: 8px; border-radius: 8px;
padding: 1.875rem; padding: 1.875rem;
border: 1px solid var(--card-border); border: 1px solid $card-border;
transition: all 0.3s ease; transition: all 0.3s ease;
position: relative; position: relative;
height: 100%; height: 100%;
} }
.skill-card:hover { .skillCard:hover {
transform: translateY(-10px); transform: translateY(-10px);
border-color: rgba(255, 100, 0, 0.3); border-color: rgba(255, 100, 0, 0.3);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
} }
.skill-card::before { .skillCard::before {
content: ""; content: "";
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 5px; height: 5px;
top: 0; top: 0;
left: 0; left: 0;
background: linear-gradient(to right, var(--accent-dragon), var(--accent-fire)); background: linear-gradient(to right, var(--accent-dragon), $accent-fire);
border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
} }
.skill-header { .skillHeader {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 15px; gap: 15px;
@@ -160,19 +160,19 @@
border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} }
.skill-icon { .skillIcon {
font-size: 2rem; font-size: 2rem;
color: var(--accent-fire); color: $accent-fire;
} }
.skill-title { .skillTitle {
font-size: 1.3rem; font-size: 1.3rem;
margin-bottom: 0; margin-bottom: 0;
color: var(--text-light); color: $text-light;
} }
.skill-check { .skillCheck {
color: var(--accent-fire); color: $accent-fire;
margin-right: 0.625rem; margin-right: 0.625rem;
} }
@@ -189,34 +189,34 @@
position: absolute; position: absolute;
width: 3px; width: 3px;
height: 100%; height: 100%;
background: linear-gradient(to bottom, var(--accent-fire), var(--accent-dragon), rgba(255, 100, 0, 0.2)); background: linear-gradient(to bottom, $accent-fire, var(--accent-dragon), rgba(255, 100, 0, 0.2));
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: 1; z-index: 1;
} }
.timeline-item { .timelineItem {
position: relative; position: relative;
margin-bottom: 3rem; margin-bottom: 3rem;
width: 100%; width: 100%;
} }
.timeline-item:nth-child(odd) .timeline-content { .timelineItem:nth-child(odd) .timeline-content {
margin-left: auto; margin-left: auto;
padding-left: 3rem; padding-left: 3rem;
border-radius: 8px; border-radius: 8px;
} }
.timeline-item:nth-child(even) .timeline-content { .timelineItem:nth-child(even) .timeline-content {
margin-right: auto; margin-right: auto;
padding-right: 3rem; padding-right: 3rem;
border-radius: 8px; border-radius: 8px;
} }
.timeline-dot { .timelineDot {
width: 16px; width: 16px;
height: 16px; height: 16px;
background-color: var(--accent-fire); background-color: $accent-fire;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
top: 20px; top: 20px;
@@ -226,11 +226,11 @@
z-index: 2; z-index: 2;
} }
.timeline-date { .timelineDate {
display: inline-block; display: inline-block;
font-size: 0.9rem; font-size: 0.9rem;
background-color: rgba(255, 100, 0, 0.1); background-color: rgba(255, 100, 0, 0.1);
color: var(--accent-fire); color: $accent-fire;
padding: 5px 10px; padding: 5px 10px;
border-radius: 4px; border-radius: 4px;
margin-bottom: 1rem; margin-bottom: 1rem;
@@ -238,29 +238,29 @@
letter-spacing: 1px; letter-spacing: 1px;
} }
.timeline-title { .timelineTitle {
font-size: 1.3rem; font-size: 1.3rem;
margin-bottom: 0.625rem; margin-bottom: 0.625rem;
color: var(--text-light); color: $text-light;
} }
.timeline-text { .timelineText {
color: var(--text-ash); color: $text-ash;
line-height: 1.6; line-height: 1.6;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
.timeline-content { .timelineContent {
background-color: var(--card-bg); background-color: $card-bg;
border-radius: 8px; border-radius: 8px;
padding: 1.5rem; padding: 1.5rem;
border: 1px solid var(--card-border); border: 1px solid $card-border;
position: relative; position: relative;
transition: all 0.3s ease; transition: all 0.3s ease;
width: 45%; width: 45%;
} }
.timeline-content:hover { .timelineContent:hover {
transform: translateY(-5px); transform: translateY(-5px);
border-color: rgba(255, 100, 0, 0.3); border-color: rgba(255, 100, 0, 0.3);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
@@ -268,11 +268,11 @@
/* Testimonials */ /* Testimonials */
.testimonial { .testimonial {
background-color: var(--card-bg); background-color: $card-bg;
border-radius: 8px; border-radius: 8px;
padding: 1.875rem; padding: 1.875rem;
margin-bottom: 1.875rem; margin-bottom: 1.875rem;
border: 1px solid var(--card-border); border: 1px solid $card-border;
transition: all 0.3s ease; transition: all 0.3s ease;
position: relative; position: relative;
} }
@@ -283,44 +283,44 @@
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
} }
.testimonial-content { .testimonialContent {
padding-left: 1.25rem; padding-left: 1.25rem;
border-left: 3px solid var(--accent-fire); border-left: 3px solid $accent-fire;
font-style: italic; font-style: italic;
color: var(--text-ash); color: $text-ash;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
line-height: 1.7; line-height: 1.7;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
.author-avatar { .authorAvatar {
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 50%; border-radius: 50%;
overflow: hidden; overflow: hidden;
} }
.author-avatar img { .authorAvatar img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
} }
.author-name { .authorName {
font-weight: 600; font-weight: 600;
font-size: 1.1rem; font-size: 1.1rem;
color: var(--text-light); color: $text-light;
margin-bottom: 0; margin-bottom: 0;
} }
.author-title { .authorTitle {
color: var(--text-ash); color: $text-ash;
font-size: 0.9rem; font-size: 0.9rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
/* Blog post specific styles */ /* Blog post specific styles */
.post-container { .postContainer {
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 120px 20px 60px; padding: 120px 20px 60px;
@@ -329,19 +329,19 @@
gap: 40px; gap: 40px;
} }
.post-main { .postMain {
background-color: var(--card-bg); background-color: $card-bg;
border-radius: 8px; border-radius: 8px;
overflow: hidden; overflow: hidden;
border: 1px solid var(--card-border); border: 1px solid $card-border;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} }
.post-header { .postHeader {
position: relative; position: relative;
} }
.post-featured-image { .postFeaturedImage {
height: 400px; height: 400px;
background-position: center; background-position: center;
background-size: cover; background-size: cover;
@@ -349,44 +349,44 @@
position: relative; position: relative;
} }
.post-featured-image::after { .postFeaturedImage::after {
content: ""; content: "";
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100px; height: 100px;
background: linear-gradient(to top, var(--card-bg), transparent); background: linear-gradient(to top, $card-bg, transparent);
} }
.post-info { .postInfo {
padding: 30px 40px; padding: 30px 40px;
} }
.post-content { .postContent {
padding: 0 40px 40px; padding: 0 40px 40px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.8; line-height: 1.8;
color: #e0e0e0; color: #e0e0e0;
} }
.share-section { .shareSection {
margin-top: 40px; margin-top: 40px;
padding-top: 20px; padding-top: 20px;
border-top: 1px solid var(--card-border); border-top: 1px solid $card-border;
} }
.share-title { .shareTitle {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 15px; margin-bottom: 15px;
} }
.share-buttons { .shareButtons {
display: flex; display: flex;
gap: 15px; gap: 15px;
} }
.share-button { .shareButton {
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 50%; border-radius: 50%;
@@ -394,17 +394,17 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: var(--text-ash); color: $text-ash;
transition: all 0.3s ease; transition: all 0.3s ease;
} }
.share-button:hover { .shareButton:hover {
background-color: var(--accent-fire); background-color: $accent-fire;
color: var(--text-light); color: $text-light;
transform: translateY(-3px); transform: translateY(-3px);
} }
.author-section { .authorSection {
margin-top: 40px; margin-top: 40px;
padding: 30px; padding: 30px;
background-color: rgba(255, 255, 255, 0.02); background-color: rgba(255, 255, 255, 0.02);
@@ -414,17 +414,17 @@
align-items: center; align-items: center;
} }
.toc-list { .tocList {
list-style: none; list-style: none;
} }
.toc-item { .tocItem {
margin-bottom: 12px; margin-bottom: 12px;
padding-left: 15px; padding-left: 15px;
position: relative; position: relative;
} }
.toc-item::before { .tocItem::before {
content: ""; content: "";
position: absolute; position: absolute;
left: 0; left: 0;
@@ -432,10 +432,10 @@
width: 5px; width: 5px;
height: 5px; height: 5px;
border-radius: 50%; border-radius: 50%;
background-color: var(--accent-fire); background-color: $accent-fire;
} }
.toc-link { .tocLink {
color: var(--text-ash); color: var(--text-ash);
text-decoration: none; text-decoration: none;
transition: all 0.3s ease; transition: all 0.3s ease;
@@ -444,33 +444,33 @@
display: block; display: block;
} }
.toc-link:hover { .tocLink:hover {
color: var(--accent-fire); color: $accent-fire;
transform: translateX(5px); transform: translateX(5px);
} }
.toc-subitem { .tocSubitem {
margin-top: 8px; margin-top: 8px;
padding-left: 15px; padding-left: 15px;
} }
.related-posts-list { .relatedPostsList {
list-style: none; list-style: none;
} }
.related-post-item { .relatedPostItem {
margin-bottom: 15px; margin-bottom: 15px;
padding-bottom: 15px; padding-bottom: 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
} }
.related-post-item:last-child { .relatedPostItem:last-child {
border-bottom: none; border-bottom: none;
margin-bottom: 0; margin-bottom: 0;
padding-bottom: 0; padding-bottom: 0;
} }
.related-post-link { .relatedPostLink {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
@@ -479,11 +479,11 @@
transition: color 0.3s ease; transition: color 0.3s ease;
} }
.related-post-link:hover { .relatedPostLink:hover {
color: var(--accent-fire); color: $accent-fire;
} }
.related-post-thumb { .relatedPostThumb {
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 4px; border-radius: 4px;
@@ -492,30 +492,30 @@
flex-shrink: 0; flex-shrink: 0;
} }
.related-post-info { .relatedPostInfo {
flex-grow: 1; flex-grow: 1;
} }
.related-post-title { .relatedPostTitle {
font-size: 0.9rem; font-size: 0.9rem;
line-height: 1.4; line-height: 1.4;
margin-bottom: 5px; margin-bottom: 5px;
} }
.related-post-date { .relatedPostDate {
font-size: 0.8rem; font-size: 0.8rem;
color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5);
} }
/* Social grid for contact page */ /* Social grid for contact page */
.social-grid { .socialGrid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 15px; gap: 15px;
margin-top: 1.5rem; margin-top: 1.5rem;
} }
.social-item { .socialItem {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@@ -528,18 +528,18 @@
text-decoration: none; text-decoration: none;
} }
.social-item:hover { .socialItem:hover {
background-color: rgba(255, 100, 0, 0.1); background-color: rgba(255, 100, 0, 0.1);
transform: translateY(-5px); transform: translateY(-5px);
} }
.social-icon-lg { .socialIconLg {
font-size: 1.8rem; font-size: 1.8rem;
color: var(--accent-fire); color: $accent-fire;
} }
.social-name { .socialName {
color: var(--text-ash); color: $text-ash;
font-size: 0.9rem; font-size: 0.9rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }