-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (94 loc) · 2.14 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
@import url('https://fonts.googleapis.com/css?family=McLaren');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR');
@font-face {
font-family: 'GoyangNJ';
font-style: normal;
font-weight: normal;
src: url('./assets/GoyangNJ.woff') format('woff');
}
html, body, h1, h2, h3, h4, h5, h6 {
padding: 0; margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'McLaren', 'GoyangNJ', sans-serif;
}
html, body {
font-family: 'Noto Sans KR', 'NanumGothic', sans-serif;
}
a {
color: inherit;
}
ruby {
display: flex;
flex-direction: column-reverse;
}
ruby > rt {
text-align: center;
}
body > header {
display: flex;
width: 100%; height: 100vh;
background-image: linear-gradient(to bottom, rgba(255,235,76,1) 0%,rgba(255,203,50,1) 100%);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
flex-direction: column;
align-items: center;
justify-content: center;
}
body > header h1 {
font-size: 3em;
}
body > header img#cheesekun {
width: 16em; height: 16em;
margin-bottom: 1em;
border-radius: 8px;
object-fit: cover;
object-position: center center;
}
body > header ul {
list-style: none;
margin: 0; padding: 0 0.5em;
text-align: left;
}
body > header > section {
position: relative;
width: 100%;
max-width: 360px;
background: white;
padding: 2em 1.5em;
box-sizing: border-box;
text-align: center;
color: #222;
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.12),
2px 2px 4px rgba(0, 0, 0, 0.24);
}
body > header > section:before {
content: '';
display: block;
width: 48px;
height: 96px;
position: absolute;
left: calc(50% - 24px);
top: -45px;
background: rgba(255, 255, 255, 0.4);
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
transform: rotate(7deg);
}
body > main {
max-width: 1280px;
margin: 0 auto;
padding: 1em 2em;
box-sizing: border-box;
color: #242424;
}
body > main ul {
list-style: square;
}
body > main ul li {
line-height: 2;
}
body > main h1 {
margin: 1em 0;
page-break-before: always;
}