Skip to content

Commit 5b2905f

Browse files
committed
fix: home 배경 수정
1 parent 550505a commit 5b2905f

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

example/index.module.css

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
--title-color: #ffdae2;
99
--title-shadow-color: #dfbfc4;
1010
--aside-color: #f3b0c3;
11-
--footer-color: #555;
11+
--footer-color: #90ba67;
1212
}
1313

1414
body::-webkit-scrollbar {
@@ -125,7 +125,8 @@ td > code {
125125
font-size: 100px;
126126
}
127127
.layout {
128-
background: linear-gradient(180deg, black 1%, #111 99%);
128+
background: url('/public/children.png') bottom center / contain no-repeat,
129+
linear-gradient(180deg, black 1%, #111 15%, #cce6f1 70%);
129130
color: var(--white, white);
130131
display: grid;
131132
grid-template-columns: 1fr auto 1fr;
@@ -134,7 +135,7 @@ td > code {
134135
width: 100%;
135136
height: 100%;
136137
padding-top: 4rem;
137-
padding-bottom: 10rem;
138+
padding-bottom: 20rem;
138139
position: relative;
139140
}
140141
.layout > div {
@@ -238,19 +239,19 @@ td > code {
238239
display: flex;
239240
align-items: center;
240241
justify-content: center;
241-
padding: 2rem 0 5rem;
242-
border-top: 1px solid var(--footer-color);
243-
background-color: var(--black, black);
242+
padding: 0 0 5rem;
243+
background-color: var(--footer-color, #90ba67);
244244
}
245245
.github {
246246
text-transform: uppercase;
247247
text-decoration: none;
248-
color: var(--footer-color);
248+
color: var(--white, white);
249249
}
250250

251251
/* components */
252252
.component_container {
253253
margin: 0 0 2rem;
254+
overflow: visible !important;
254255
}
255256
.component_title {
256257
line-height: 1 !important;

example/public/children.png

440 KB
Loading

0 commit comments

Comments
 (0)