-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
165 lines (122 loc) · 2.55 KB
/
style.css
File metadata and controls
165 lines (122 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script+Swash+Caps&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
* {
margin: 0; /* 마진값 초기화 */
padding: 0; /* 패딩값 초기화 */
box-sizing: border-box; /* 박스영역은 테리지 지정 */
}
a {
text-decoration: none;
}
ul {
list-style:none;
}
body {
background-color: #f8f7f8;
}
#container {
margin: 0 auto; /* 화면 중앙에 배치 */
width: 100%; /* 너비 지정 */
}
/* 헤더 영역 */
header {
width: 100%;
height: 80px;
background-color: #bbd8db;
}
/* 로고 영역 */
#logo {
width: 250px;
height: 70px;
line-height:70px;
padding-left:20px;
}
#logo h1 {
font-family: 'Oleo Script Swash Caps', cursive;;
font-weight: 300;
font-size:35px;
color:#fcfbfc;
text-shadow: 0 -3px #bbb;
}
/* 글자 우측 커서 효과 삽입 */
.wrapper {
height: 250px;
display: grid;
place-items: center;
}
.typing-demo {
color: rgb(84, 83, 83);
width: 30ch;
animation: typing 6s steps(40) infinite;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid black;
font-family: monospace;
font-size: 4em;
}
@keyframes typing {
from {
width: 0
}
}
@keyframes blink {
50% {
border-color: transparent
}
}
/* 이미지 슬라이드 쇼 영역 */
#slideShow {
clear: both; /* 플로팅 해제 */
width: 100%;
height: 100%;
overflow: hidden;
}
/* 박스 영역 */
#tab_list {
margin-top: 210px;
margin-bottom: 10px;
text-align: center;
}
.tab-cata {
color: rgb(84, 83, 83);
display:inline-block;
border-radius: 10px;
padding:20px 20px;
margin:20px 30px;
background: #bbd8db ;
font-size:30px;
transition: all 0.3s cubic-bezier(0.42,0.0,0.58,1.0);
}
.tab-cata > div {
color: rgb(84, 83, 83);
background: #fcfbfc ;
border-radius: 10px;
padding:100px 60px;
cursor: pointer;
font-size:30px;
transition: all 0.2s ease-in-out;
}
.tab-cata:hover {
animation: swing 1s ease;
animation-iteration-count: 1;
}
@keyframes swing {
15% {
transform: translateX(5px);
}
30% {
transform: translateX(-5px);
}
50% {
transform: translateX(3px);
}
65% {
transform: translateX(-3px);
}
80% {
transform: translateX(2px);
}
100% {
transform: translateX(0);
}
}