Template:MainPage/Contact/styles.css

From WikiVita
Jump to navigation Jump to search
/* ==========================
WikiVita Contact & Connect
========================== */

.wv-contact-box {
width: 100%;
background: #fff;
border: 1px solid #d7e3f0;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header */

.wv-contact-header {
background: #d7e6f6;
color: #000;
text-align: center;
font-size: 1.2rem;
font-weight: 700;
padding: 6px 18px;
border-bottom: 1px solid #d7e3f0;
}

/* Content */

.wv-contact-content {
padding: 24px;
}

/* Intro Text */

.wv-contact-text {
text-align: center;
color: #555;
line-height: 1.7;
margin-bottom: 24px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

/* Grid */

.wv-contact-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}

/* Card */

.wv-contact-item {
background: #fff;
border: 1px solid #e8edf4;
border-radius: 12px;
padding: 18px;
text-align: center;
transition: 0.2s ease;
}

.wv-contact-item:hover {
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Icon */

.wv-contact-icon {
font-size: 1.8rem;
margin-bottom: 8px;
}

/* Label */

.wv-contact-label {
font-size: 0.95rem;
font-weight: 700;
color: #333;
margin-bottom: 6px;
}

/* Value */

.wv-contact-value {
font-size: 0.9rem;
line-height: 1.6;
}

.wv-contact-value a {
color: #1565c0;
text-decoration: none;
}

.wv-contact-value a:hover {
text-decoration: underline;
}

/* ==========================
Tablet
========================== */

@media screen and (max-width: 900px) {


.wv-contact-grid {
    grid-template-columns: repeat(2, 1fr);
}


}

/* ==========================
Mobile
========================== */

@media screen and (max-width: 768px) {


.wv-contact-header {
    font-size: 1.15rem;
    padding: 6px 16px;
}

.wv-contact-content {
    padding: 16px;
}

.wv-contact-text {
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.wv-contact-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
}

.wv-contact-item {
    flex: 0 0 85%;
    min-width: 85%;
    padding: 20px 16px;
}

.wv-contact-icon {
    font-size: 1.6rem;
}


}