AvocadoAmber/AvocadoEdition_Light/css/default.css

348 lines
4.5 KiB
CSS
Raw Normal View History

2022-09-17 20:50:50 +09:00
@charset "utf-8";
/* -----------------------------------------------
* 스타일 초기화
--------------------------------------------------
- 최초 작성일 :2021.08.15
- 최초 작성자 :아보카도
- 최종 수정일 :
- 최종 수정자 :
--------------------------------------------------*/
/****************************************
Import
****************************************/
@import url(./swiper.css);
2024-09-19 20:48:52 +09:00
2022-09-17 20:50:50 +09:00
@font-face {
2024-09-19 20:48:52 +09:00
font-family: 'icon';
src: url('./fonts/icomoon.eot?y5isk6');
src: url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
url('./fonts/icomoon.ttf?y5isk6') format('truetype'),
url('./fonts/icomoon.woff?y5isk6') format('woff'),
url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.sound_only {
display: none;
2022-09-17 20:50:50 +09:00
}
/****************************************
소스코드 초기화
****************************************/
2024-09-19 20:48:52 +09:00
html {
overflow-y: auto
}
body {
margin: 0;
padding: 0;
}
html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
margin: 0;
padding: 0;
border: 0
}
h1,
h2,
h3,
h4,
h5,
h6 {}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block
}
ul,
li {
margin: 0;
padding: 0;
list-style: none
}
legend {
display: none;
}
label,
input,
button,
select,
img {
vertical-align: middle
}
input,
button {
margin: 0;
padding: 0;
}
button {
cursor: pointer
}
textarea,
select {
font-size: 1em
}
select {
margin: 0
}
p {
margin: 0;
padding: 0;
word-break: break-all
}
hr {
display: none
}
pre {
overflow-x: scroll;
}
a:link,
a:visited {
text-decoration: none
}
a:hover,
a:focus,
a:active {
text-decoration: none
}
ul,
li {
margin: 0;
padding: 0;
}
i,
sup,
em {
font-style: normal;
}
label {
cursor: pointer;
}
img {
max-width: 100%;
vertical-align: middle;
}
table {
width: 100%;
}
2022-09-17 20:50:50 +09:00
/****************************************
기본 레이아웃 정의
****************************************/
2024-09-19 20:48:52 +09:00
.fix-layout {
margin: 0 auto;
padding: 0;
box-sizing: border-box;
}
2022-09-17 20:50:50 +09:00
2024-09-19 20:48:52 +09:00
.fix-layout .fix-layout {
padding: 0;
margin: 0;
}
#body {
height: 90vh;
box-sizing: border-box;
}
#body>.fix-layout {
display: table;
width: 100%;
height: 100%;
table-layout: fixed;
}
#body>.fix-layout>.mid-layout {
display: table-cell;
vertical-align: middle;
padding: 80px;
}
2022-09-17 20:50:50 +09:00
@media all and (max-width:520px) {
2024-09-19 20:48:52 +09:00
#body>.fix-layout>.mid-layout {
padding-left: 10px !important;
padding-right: 10px !important;
}
2022-09-17 20:50:50 +09:00
}
/****************************************
애니메이션 효과 지정 / 초기화
****************************************/
2024-09-19 20:48:52 +09:00
* {
transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
}
2022-09-17 20:50:50 +09:00
.trans,
.trans *,
.trans *:after,
2024-09-19 20:48:52 +09:00
.trans *:before {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
}
2022-09-17 20:50:50 +09:00
.none-trans,
.none-trans *,
.none-trans *:after,
2024-09-19 20:48:52 +09:00
.none-trans *:before {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: none;
}
2022-09-17 20:50:50 +09:00
/****************************************
텍스트 코드 정렬
****************************************/
2024-09-19 20:48:52 +09:00
.txt-left {
text-align: left;
}
.txt-center {
text-align: center;
}
.txt-right {
text-align: right;
}
2022-09-17 20:50:50 +09:00
/****************************************
스크롤 스타일 정의
****************************************/
/* scrollbar :ie except */
*::-webkit-scrollbar-track {}
2024-09-19 20:48:52 +09:00
2022-09-17 20:50:50 +09:00
*::-webkit-scrollbar {}
2024-09-19 20:48:52 +09:00
*::-webkit-scrollbar-thumb {
border: none;
}
2022-09-17 20:50:50 +09:00
/**********************
스타일
**********************/
2024-09-19 20:48:52 +09:00
.theme-form {
width: 100%;
}
2022-09-17 20:50:50 +09:00
/**************************************************************
Web Size Viewer Control - 반응형 코딩
-
모바일 기준 :width 1024px
***************************************************************/
2024-09-19 20:48:52 +09:00
@media all and (min-width:1025px) {
.only-pc {}
.only-ta {
display: none !important;
}
.only-mo {
display: none !important;
}
.not-pc {
display: none !important;
}
.not-ta {}
2022-09-17 20:50:50 +09:00
2024-09-19 20:48:52 +09:00
.not-mo {}
2022-09-17 20:50:50 +09:00
}
2024-09-19 20:48:52 +09:00
@media all and (max-width:1024px) and (min-width:1025px) {
.only-pc {
display: none !important;
}
2022-09-17 20:50:50 +09:00
2024-09-19 20:48:52 +09:00
.only-ta {}
.only-mo {
display: none !important;
}
.not-pc {}
.not-ta {
display: none !important;
}
.not-mo {}
2022-09-17 20:50:50 +09:00
}
2024-09-19 20:48:52 +09:00
@media all and (max-width:1025px) {
.only-pc {
display: none !important;
}
.only-ta {
display: none !important;
}
.only-mo {}
.not-pc {}
.not-ta {}
.not-mo {
display: none !important;
}
2022-09-17 20:50:50 +09:00
}