167 lines
3.2 KiB
SCSS
167 lines
3.2 KiB
SCSS
/* ====
|
|
--------- Eye-friendly UI improvements ---------
|
|
==== */
|
|
|
|
// Improved readability and visual hierarchy
|
|
.eye-friendly {
|
|
// Better line spacing for readability
|
|
p, .cur-lg {
|
|
line-height: 1.6 !important;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
// Reduced visual weight for headings
|
|
h1, h2, h3, h4, h5, h6 {
|
|
letter-spacing: -0.02em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
// Softer colors for better eye comfort
|
|
.text-muted {
|
|
color: #6b7280 !important;
|
|
}
|
|
|
|
// Improved button styling
|
|
.btn-line {
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
text-transform: none;
|
|
font-size: 12px !important;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
|
|
// Better spacing for cards
|
|
.capability-card {
|
|
padding: 24px;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid #f1f5f9;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
border-color: #e2e8f0;
|
|
}
|
|
|
|
.capability-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f8fafc;
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
// Improved section spacing
|
|
section {
|
|
padding-top: 60px !important;
|
|
padding-bottom: 60px !important;
|
|
}
|
|
|
|
// Fix navbar overlap issue
|
|
.fix-top {
|
|
padding-top: 140px !important;
|
|
}
|
|
|
|
// Better container max-width for readability
|
|
.container {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
// Improved banner styling
|
|
.about-banner {
|
|
padding-top: 140px !important;
|
|
|
|
.about-banner__content {
|
|
h1, h2 {
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
// Ensure heading is always visible
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
color: #222222 !important;
|
|
display: block !important;
|
|
position: relative !important;
|
|
z-index: 10 !important;
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
p {
|
|
color: #4b5563;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced service section
|
|
.tp-service {
|
|
.tp-service__content {
|
|
h2 {
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
p {
|
|
color: #4b5563;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Better gallery section
|
|
.tp-gallery {
|
|
.tp-gallery__content {
|
|
h2 {
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
p {
|
|
color: #e5e7eb;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive improvements
|
|
@media (max-width: 768px) {
|
|
.eye-friendly {
|
|
h1, .text-xxl {
|
|
font-size: 32px !important;
|
|
line-height: 40px !important;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px !important;
|
|
line-height: 32px !important;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 20px !important;
|
|
line-height: 28px !important;
|
|
}
|
|
|
|
p, .cur-lg {
|
|
font-size: 14px !important;
|
|
line-height: 22px !important;
|
|
}
|
|
|
|
.capability-card {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
}
|