UNPKG

taegeukgi

Version:

for Taegeukgi

172 lines (155 loc) 2.83 kB
@charset "UTF-8"; html > * { margin: 0; padding: 0; } body { font-family: sans-serif; display: flex; align-items: center; justify-content: center; min-height: 100vh; object-fit: cover; } .container { display: flex; align-items: center; justify-content: center; width: 45rem; aspect-ratio: 1.5; border: 1px solid; border-radius: 0.5rem; } .container:hover { scale: 1.1; transition: all ease-in 0.4s; } .container:not(:hover) { transition: all ease-out 0.4s; } @media (max-width: 540px) { .container { scale: 0.4; } .container:hover { scale: 0.44; transition: all ease-in 0.4s; } .container:not(:hover) { transition: all ease-out 0.4s; } } @media (min-width: 540px) and (max-width: 768px) { .container { scale: 0.6; } .container:hover { scale: 0.66; transition: all ease-in 0.4s; } .container:not(:hover) { transition: all ease-out 0.4s; } } @media (min-width: 768px) and (max-width: 1023px) { .container { scale: 0.8; } .container:hover { scale: 0.88; transition: all ease-in 0.4s; } .container:not(:hover) { transition: all ease-out 0.4s; } } @media (min-width: 1024px) { .container { scale: 0.8; } .container:hover { scale: 0.88; transition: all ease-in 0.4s; } .container:not(:hover) { transition: all ease-out 0.4s; } } .circle { width: 15rem; aspect-ratio: 1; border-radius: 50%; } .yang { display: flex; align-items: end; justify-content: end; width: 15rem; aspect-ratio: 2; border-radius: 7.5rem 7.5rem 0 0; background-color: rgb(215, 76, 69); } .inner { display: flex; align-items: initial; justify-content: initial; position: absolute; width: 15rem; aspect-ratio: 2; top: 3.75rem; } .yin { width: 15rem; aspect-ratio: 2; border-radius: 0 0 7.5rem 7.5rem; background-color: rgb(75, 100, 163); } .inner-yang { width: 7.5rem; aspect-ratio: 1; background-color: rgb(215, 76, 69); border-radius: 7.5rem; } .inner-yin { width: 7.5rem; aspect-ratio: 1; background-color: rgb(75, 100, 163); border-radius: 7.5rem; } .rt-2\/3 { transform: rotate(atan(2/3)); } .-rt-2\/3 { transform: rotate(atan(-2/3)); flex-direction: row-reverse; } .block { display: flex; align-items: initial; justify-content: space-between; position: absolute; width: 32.5rem; aspect-ratio: 4.3333333333; } .건, .곤, .감, .리 { display: flex; gap: 10px; } .long { width: 1.25rem; aspect-ratio: 0.1666666667; background-color: rgb(31, 28, 29); } .wrapper { display: flex; align-items: initial; justify-content: space-between; flex-direction: column; gap: 10px; } .short { width: 1.25rem; aspect-ratio: 0.3636363636; background-color: rgb(31, 28, 29); } /*# sourceMappingURL=tgg.css.map */