-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
169 lines (154 loc) · 3.29 KB
/
styles.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@100;400;700&display=swap');
:root {
--color: #1D4582;
--noto: 'Noto Sans KR';
--insta: linear-gradient(232deg, rgba(81,91,212,1) 14%, rgba(129,52,175,1) 34%, rgba(221,42,123,1) 55%, rgba(254,218,119,1) 79%, rgba(245,133,41,1) 100%);
}
* {
font-family: 'Gowun Dodum', sans-serif;
font-weight: 400;
font-size: 18px;
text-align: center;
}
b {
font-weight: bold;
}
/* Page start */
html, body {
padding: 0;
margin: 0;
background-color: var(--color);
}
body {
position: relative;
}
/* Main Title */
h1 {
font-family: var(--noto), sans-serif;
font-size: 40px;
font-weight: 700;
color: white;
margin-top: 50px;
}
article {
background-color: white;
padding: 40px 20px 100px 10px;
border-radius: 50px 50px 0px 0px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(max(400px, calc((100% - 20px) / 3)), 1fr));
grid-auto-rows: minmax(300px, auto);
gap: 10px;
align-items: center;
justify-items: center;
margin: 0px 5vw 0px 5vw;
}
.gridcell {
width: 400px;
padding: 0px 0px 30px 0px;
} .gridcell:hover {
border: 2px dashed var(--color);
box-shadow: 20px 14px rgb(56, 56, 56);
} .gridcell:hover > h2 {
font-size: 33px;
font-weight: bold;
background: linear-gradient(to right, #6666ff, #0077ff , #48ff00, #ff3355, #6666ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: rainbow_animation 2s ease-in infinite;
background-size: 400% 100%;
} @keyframes rainbow_animation {
0%,100% { background-position: 0 0; }
50% { background-position: 100% 0; }
}
/* Table */
table {
grid-row: span 2;
padding: 0;
margin: 0
}
td, th {
border: 1px solid var(--color);
}
td > img {
margin: 7px;
width: 320px;
}
.tbltitle {
background-color: var(--color);
color: white;
font-weight: bold;
}
/* Section Title */
h2 {
font-weight: bold;
color: darkslateblue;
font-size: 27px;
}
/* SNS Links */
.sns {
font-weight: 700;
font-family: var(--noto), sans-serif;
font-size: 20px;
display: inline-block;
width: 250px;
cursor: pointer;
}
#instagram {
background: var(--insta);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
} #instagram:hover {
background: var(--insta);
-webkit-text-fill-color: white;
}
#naverblog {
color: #2db400;
} #naverblog:hover {
color: white;
background-color: #2db400;
}
#tistory {
color: #d05d30;
} #tistory:hover {
color: white;
background-color: #d05d30;
}
#brunch {
color: #494042;
} #brunch:hover {
color: white;
background-color: #494042;
}
#youtube {
color: red;
} #youtube:hover {
color: white;
background-color: red;
}
#github {
color: black;
} #github:hover {
color: white;
background-color: black;
}
#contact {
font-size: 23px;
font-weight: bold;
color: var(--color);
}
form input {
accent-color: var(--color);
border: dotted black;
transform: scale(1.2);
}
hr {
margin: 10px 5vw
}
footer {
background-color: white;
border-radius: 0px 0px 50px 50px;
padding: 7px 0px 7px 0px;
margin: 0px 5vw 50px 5vw;
}