412 lines
8.1 KiB
CSS
412 lines
8.1 KiB
CSS
/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */
|
|
|
|
/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
|
|
/*
|
|
* What follows is the result of much research on cross-browser styling.
|
|
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
|
* Kroc Camen, and the H5BP dev community and team.
|
|
*/
|
|
|
|
/* ==========================================================================
|
|
Base styles: opinionated defaults
|
|
========================================================================== */
|
|
|
|
@charset "utf-8";
|
|
/*[탁경모][kyungmotak]*/
|
|
|
|
:root {
|
|
--colour-grey-white: #f0f4f8;
|
|
--message-container-first-top-colour: rgba(235, 245, 255, 0.20);
|
|
--message-container-first-bottom-colour: rgba(200, 220, 255, 0.12);
|
|
--message-container-bd-colour: rgba(255, 255, 255, 0.35);
|
|
--message-container-outer-shadow-colour: rgba(0, 0, 0, 0.18);
|
|
--message-container-inner-shadow-colour: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: 'Pretendard', sans-serif;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Pretendard';
|
|
src: url('../font/pretendard-1.3.9.woff2') format('woff2');
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/*
|
|
* Remove text-shadow in selection highlight:
|
|
* https://twitter.com/miketaylr/status/12228805301
|
|
*
|
|
* Customize the background color to match your design.
|
|
*/
|
|
|
|
::-moz-selection {
|
|
background: #b3d4fc;
|
|
text-shadow: none;
|
|
}
|
|
|
|
::selection {
|
|
background: #b3d4fc;
|
|
text-shadow: none;
|
|
}
|
|
|
|
/*
|
|
* A better looking default horizontal rule
|
|
*/
|
|
|
|
hr {
|
|
display: block;
|
|
height: 1px;
|
|
border: 0;
|
|
border-top: 1px solid #ccc;
|
|
margin: 1em 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
* Remove the gap between audio, canvas, iframes,
|
|
* images, videos and the bottom of their containers:
|
|
* https://github.com/h5bp/html5-boilerplate/issues/440
|
|
*/
|
|
|
|
audio,
|
|
canvas,
|
|
iframe,
|
|
img,
|
|
svg,
|
|
video {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/*
|
|
* Remove default fieldset styles.
|
|
*/
|
|
|
|
fieldset {
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
* Allow only vertical resizing of textareas.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Author's custom styles
|
|
========================================================================== */
|
|
|
|
/* ==========================================================================
|
|
Helper classes
|
|
========================================================================== */
|
|
|
|
/*
|
|
* Hide visually and from screen readers
|
|
*/
|
|
|
|
.hidden,
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/*
|
|
* Hide only visually, but have it available for screen readers:
|
|
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
*
|
|
* 1. For long content, line feeds are not interpreted as spaces and small width
|
|
* causes content to wrap 1 word per line:
|
|
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
|
|
*/
|
|
|
|
.visually-hidden {
|
|
border: 0;
|
|
clip: rect(0, 0, 0, 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
/* 1 */
|
|
}
|
|
|
|
/*
|
|
* Extends the .visually-hidden class to allow the element
|
|
* to be focusable when navigated to via the keyboard:
|
|
* https://www.drupal.org/node/897638
|
|
*/
|
|
|
|
.visually-hidden.focusable:active,
|
|
.visually-hidden.focusable:focus {
|
|
clip: auto;
|
|
height: auto;
|
|
margin: 0;
|
|
overflow: visible;
|
|
position: static;
|
|
white-space: inherit;
|
|
width: auto;
|
|
}
|
|
|
|
/*
|
|
* Hide visually and from screen readers, but maintain layout
|
|
*/
|
|
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/*
|
|
* Clearfix: contain floats
|
|
*
|
|
* The use of `table` rather than `block` is only necessary if using
|
|
* `::before` to contain the top-margins of child elements.
|
|
*/
|
|
|
|
.clearfix::before,
|
|
.clearfix::after {
|
|
content: "";
|
|
display: table;
|
|
}
|
|
|
|
.clearfix::after {
|
|
clear: both;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
EXAMPLE Media Queries for Responsive Design.
|
|
These examples override the primary ('mobile first') styles.
|
|
Modify as content requires.
|
|
========================================================================== */
|
|
|
|
@media only screen and (min-width: 35em) {
|
|
/* Style adjustments for viewports that meet the condition */
|
|
}
|
|
|
|
@media print,
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
(min-resolution: 1.25dppx),
|
|
(min-resolution: 120dpi) {
|
|
/* Style adjustments for high resolution devices */
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Print styles.
|
|
Inlined to avoid the additional HTTP request:
|
|
https://www.phpied.com/delay-loading-your-print-css/
|
|
========================================================================== */
|
|
|
|
@media print {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
background: #fff !important;
|
|
color: #000 !important;
|
|
/* Black prints faster */
|
|
box-shadow: none !important;
|
|
text-shadow: none !important;
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a[href]::after {
|
|
content: " (" attr(href) ")";
|
|
}
|
|
|
|
abbr[title]::after {
|
|
content: " (" attr(title) ")";
|
|
}
|
|
|
|
/*
|
|
* Don't show links that are fragment identifiers,
|
|
* or use the `javascript:` pseudo protocol
|
|
*/
|
|
a[href^="#"]::after,
|
|
a[href^="javascript:"]::after {
|
|
content: "";
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap !important;
|
|
}
|
|
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3;
|
|
}
|
|
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid;
|
|
}
|
|
}
|
|
.auth-page-wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.auth-page-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
overflow: hidden;
|
|
padding: 2rem;
|
|
}
|
|
.video-container {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
z-index: -1;
|
|
}
|
|
.auth-page-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
/*padding: 1rem;*/
|
|
user-select: none;
|
|
gap: 0.5rem;
|
|
/*line-height: 100%;*/
|
|
letter-spacing: -3%;
|
|
}
|
|
.auth-page-body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1.5rem;
|
|
width: 100%;
|
|
}
|
|
.auth-page-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
user-select: none;
|
|
gap: 0.5rem;
|
|
}
|
|
.message-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.gradient-text {
|
|
|
|
}
|
|
.message-title-header {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
.message-container {
|
|
min-height: 140px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 0.75rem;
|
|
background: linear-gradient(
|
|
180deg,
|
|
var(--message-container-first-top-colour) 0%,
|
|
var(--message-container-first-bottom-colour) 100%
|
|
);
|
|
|
|
border: 1px solid var(--message-container-bd-colour);
|
|
box-shadow:
|
|
0 10px 30px var(--message-container-outer-shadow-colour),
|
|
inset 0 1px 0 var(--message-container-inner-shadow-colour);
|
|
|
|
backdrop-filter: blur(22px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(22px) saturate(150%);
|
|
|
|
border-radius: 0.75rem;
|
|
padding: 1rem;
|
|
}
|
|
.message-ico {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.message-container i {
|
|
font-size: 35px;
|
|
}
|
|
.message-img {
|
|
width: 220px;
|
|
height: 30px;
|
|
background-image: url('../img/ci.png');
|
|
}
|
|
@keyframes rise {
|
|
from {
|
|
transform: translateY(8px);
|
|
opacity:0
|
|
}
|
|
to {
|
|
transform: none;
|
|
opacity:1
|
|
}
|
|
}
|
|
.message-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.font-700-40 {
|
|
font-weight: 700;
|
|
font-size: 40px;
|
|
}
|
|
.font-600-30 {
|
|
font-weight: 600;
|
|
font-size: 30px;
|
|
}
|
|
.font-500-40 {
|
|
font-weight: 500;
|
|
font-size: 40px;
|
|
}
|
|
.font-500-20 {
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
}
|
|
.colour-grey-white { color: var(--colour-grey-white); }
|
|
.colour-gradient {
|
|
background: linear-gradient(
|
|
100deg,
|
|
#f3dcff 0%,
|
|
#dcd9ff 40%,
|
|
#cfe5ff 75%,
|
|
#e6f6ff 100%
|
|
);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.text-shadow {
|
|
text-shadow: 0 0 12px rgba(200,220,255,0.2);
|
|
}
|
|
.mt-3 { margin-top: 1rem; }
|