본문으로 이동

미디어위키:Common.css: 두 판 사이의 차이

kosha Wiki
Add KOSHA prevention menu styles
Restore Common.css before menu change
태그: 대체됨 수동 되돌리기
1번째 줄: 1번째 줄:
/* 산재예방 정보 대문 메뉴 */
/* 비어 있음 */
.kosha-portal-hero {
margin: 0 0 1.5rem;
padding: 2rem 2.25rem;
border-radius: 18px;
background: linear-gradient(135deg, #073b6f 0%, #07569a 58%, #0879b8 100%);
color: #fff;
box-shadow: 0 10px 28px rgba(0, 54, 101, 0.18);
}
 
.kosha-portal-eyebrow {
margin-bottom: 0.5rem;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.15em;
opacity: 0.78;
}
 
.kosha-portal-heading {
font-size: clamp(1.65rem, 4vw, 2.35rem);
font-weight: 800;
line-height: 1.25;
}
 
.kosha-portal-description {
margin-top: 0.65rem;
font-size: 1rem;
line-height: 1.65;
opacity: 0.9;
}
 
.kosha-accordion {
display: grid;
gap: 0.75rem;
margin: 0 0 2rem;
}
 
.kosha-accordion-item {
overflow: hidden;
border: 1px solid #d8e1eb;
border-radius: 12px;
background: #fff;
box-shadow: 0 2px 8px rgba(14, 42, 70, 0.05);
}
 
.kosha-accordion-item.is-open {
border-color: #2b75b7;
box-shadow: 0 5px 16px rgba(7, 86, 154, 0.1);
}
 
.kosha-accordion-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
min-height: 3.2rem;
padding: 0.7rem 1rem 0.7rem 1.2rem;
background: #f7f9fc;
color: #172b3d;
cursor: pointer;
user-select: none;
}
 
.kosha-accordion-heading:hover,
.kosha-accordion-heading:focus-visible {
background: #eef5fb;
outline: 3px solid rgba(43, 117, 183, 0.22);
outline-offset: -3px;
}
 
.kosha-accordion-item.is-open .kosha-accordion-heading {
background: #07569a;
color: #fff;
}
 
.kosha-accordion-title {
font-size: 1rem;
font-weight: 700;
line-height: 1.45;
}
 
.kosha-accordion-icon {
display: inline-flex;
flex: 0 0 1.8rem;
align-items: center;
justify-content: center;
height: 1.8rem;
border-radius: 50%;
background: rgba(7, 86, 154, 0.1);
font-size: 1.2rem;
font-weight: 700;
}
 
.kosha-accordion-item.is-open .kosha-accordion-icon {
background: rgba(255, 255, 255, 0.18);
}
 
.kosha-accordion-panel {
display: none;
padding: 0.8rem 1.2rem 1rem;
background: #fff;
}
 
.kosha-accordion-item.is-open .kosha-accordion-panel {
display: block;
}
 
.kosha-accordion-panel ul {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.55rem 1.4rem;
margin: 0;
padding: 0;
list-style: none;
}
 
.kosha-accordion-panel li {
position: relative;
margin: 0;
padding-left: 1rem;
}
 
.kosha-accordion-panel li::before {
position: absolute;
top: 0.66em;
left: 0;
width: 0.35rem;
height: 0.35rem;
border-radius: 50%;
background: #2b75b7;
content: '';
}
 
.kosha-accordion-panel a,
.kosha-accordion-panel a.new {
display: inline-block;
padding: 0.3rem 0;
color: #1d4f7a;
font-weight: 600;
text-decoration: none;
}
 
.kosha-accordion-panel a:hover,
.kosha-accordion-panel a:focus {
color: #07569a;
text-decoration: underline;
}
 
@media (max-width: 720px) {
.kosha-portal-hero {
padding: 1.5rem 1.25rem;
border-radius: 14px;
}
 
.kosha-accordion-panel ul {
grid-template-columns: 1fr;
}
}
 
@media (prefers-reduced-motion: reduce) {
.kosha-accordion-heading {
scroll-behavior: auto;
}
}

2026년 8월 11일 (화) 11:47 판

/* 비어 있음 */