forked from marie-kor-pj/marie-kor-pj.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (125 loc) · 2.64 KB
/
style.css
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
#contain {
margin: 10px auto;
margin-top: 150px;
width: auto;
padding: 20px;
}
#title {
padding: 20px;
margin-top: 15px;
text-align: center;
}
#text {
padding: 10px;
margin-top: 2.5%;
margin-bottom: 10px;
text-align: center;
}
#footer {
clear: both;
padding: 10px;
margin-left: 30%;
margin-right: 30%;
}
.footer p {
text-align: center;
padding: 75px;
font-size:17px;
color: #000;
}
@media (max-width : 383px ){
#contain {
width: auto;
}
}
/* BUTTON */
button,
button::after {
transition: all 0.5s;
}
button {
background: none;
border: 2px solid #000;
border-radius: 40px;
color: #000;
display: block;
font-size: 20px;
font-weight: bold;
margin: 1em auto;
padding: 12.5px 60px;
position: relative;
text-transform: uppercase;
}
button:hover {
color: #FFF;
border: 2px solid #FFF;
}
#title {
animation-duration: 1s; animation-name: slidein;
}
@keyframes slidein
{ from {
margin-left: 100%; width: 300%
}
to
{
margin-left: 0%; width: 100%;
}
}
#text {
animation-duration: 1.5s; animation-name: slidein;
}
#box1 { border-radius: 30px; border:3px solid; position: relative; overflow: hidden; display: table; }
#box2 { border-radius: 30px; border:3px solid; }
.content {
display: table-cell;
vertical-align: middle;
width: 100%;
height: 100%;
margin: auto;
position: relative;
}
body {
-webkit-animation: colorchange 60s infinite;
animation: colorchange 60s infinite;
}
@-webkit-keyframes colorchange {
0% {background: rgb(43, 219, 208);}
25% {background: rgb(192, 33, 255);}
50% {background: rgb(43, 219, 208);}
75% {background: #DC7633;}
90% {background: rgb(41, 241, 141);}
100% {background: rgb(43, 219, 208);}
}
@keyframes colorchange {
0% {background: rgb(43, 219, 208);}
25% {background: rgb(192, 33, 255);}
50% {background: rgb(43, 219, 208);}
75% {background: #DC7633;}
90% {background: rgb(41, 241, 141);}
100% {background: rgb(43, 219, 208);}
}
/* 하이퍼링크 밑줄 제거 */
a {
text-decoration:none;
}
@keyframes slidein
{ from {
margin-left: 100%; width: 300%
}
to
{
margin-left: 0%; width: 100%;
}
}
* { font-family: 'Godo', 'Sans-serif'; }
@font-face {
font-family: 'Godo';
font-weight: 500;
src: url('fonts/GodoM.woff') format('woff');
}
@font-face {
font-family: 'Godo';
font-weight: 700;
src: url('fonts/GodoB.woff') format('woff');
}