countdown/public/global.css

159 lines
2.6 KiB
CSS
Raw Permalink Normal View History

2024-06-24 04:23:00 +00:00
/* global */
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-06-24 04:23:00 +00:00
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
2024-06-24 04:23:00 +00:00
html {
overflow: hidden;
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body {
margin: 0;
}
a {
text-decoration: none;
color: inherit;
}
/* util */
div.divider {
width: 100%;
height: 1px;
background-color: rgba(0, 0, 0, 0.12);
}
label.error {
margin-left: 10px;
color: red;
width: auto;
white-space: nowrap;
}
/* main page */
div.main-container {
height: 100%;
padding: 10px;
}
div.content-container {
margin-left: 20px;
justify-content: center;
}
div.content-container > iframe {
border: 2px solid gray;
border: none;
border-bottom: 1px solid black;
height: 85px;
}
form.embed-config-form li {
margin: 5px auto;
}
form.embed-config-form input {
width: 150px;
display: inline-block;
}
form.embed-config-form input:only-of-type:not([type=color]) {
width: 200px;
}
form.embed-config-form input[type=color] {
width: 50px;
}
form.embed-config-form label {
width: 100px;
display: inline-block;
}
div.clipboard-bar {
width: 100%;
display: flex;
margin: 20px auto;
flex-direction: column;
justify-content: flex-start;
}
div.clipboard-bar > div {
width: 100%;
height: 30px;
border: 2px solid black;
display: flex;
align-items: stretch;
margin: 5px 0;
}
div.clipboard-bar div.icon {
padding: 5px;
border-right: 1px solid black;
background-color: gray;
}
div.clipboard-bar div.icon svg {
width: 20px;
height: 20px;
}
div.clipboard-bar span.text {
padding: 5px;
white-space: nowrap;
overflow-x: scroll;
width: 50vw;
font-size: 0.8rem;
scrollbar-width: none;
}
div.clipboard-bar span.text::-webkit-scrollbar {
display: none;
}
/* Digit style */
div.timer-container {
max-width: 380px;
padding: 10px;
margin: 10px auto;
/* 보더 대신 그림자로 대체 */
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
2024-06-24 04:23:00 +00:00
border-radius: 10px;
}
div.timer-container > div.title {
display: flex;
font-weight: bold;
}
div.timer-container > div.timer {
width: 100%;
display: flex;
justify-content: center;
align-items: first baseline;
font-size: 30px;
height: 2rem;
}
div.digit {
transition: opacity, color 500ms;
margin: 0 0.5rem;
width: 30px;
text-align: center;
}
div.digit:hover {
opacity: 0.5;
}