body { line-height: 1.5; font-size: 14px; color: var(--color-dark-1); } a { color: inherit; text-decoration: none; } wc-switch { cursor: pointer; } .app { width: 100%; height: 100vh; } .flex { display: flex; &.column { flex-direction: column; } &.ac { justify-content: center; } &.alc { align-items: center; } &.acc { justify-content: center; align-items: center; } &.asc { justify-content: space-between; align-items: center; } } .wrapper { width: 1024px; } .topbar { width: 100%; height: 64px; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05); .logo { font-size: 24px; color: var(--color-red-1); span { font-size: 14px; } } .navs { font-size: 16px; .nav { margin-left: 32px; cursor: pointer; transition: color 0.2s linear; &.active, &:hover { text-decoration: underline; color: var(--color-red-1); } } } } .main { flex: 1; .table-info { width: 100%; height: 64px; } .search { width: 100%; .field { margin-top: 16px; wc-input { flex: 1; } } } } .footer { width: 100%; height: 64px; border-top: 1px solid var(--color-plain-2); } @media screen and (max-width: 1024px) { .topbar, .main { padding: 0 16px; } .footer { .wrapper { flex-direction: column; align-items: center; justify-content: center; } } }