Skip to content

Commit f7eed62

Browse files
authored
Merge pull request #140 from anthony0030/main
Makes close button look better
2 parents c225a83 + 893ee00 commit f7eed62

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

assets/stylesheets/screen.css

+22
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,28 @@ td.strong {
222222
border-radius: 6px;
223223
}
224224

225+
#cboxClose {
226+
position: absolute;
227+
top: -14px;
228+
right: -14px;
229+
width: 30px;
230+
height: 30px;
231+
background: #000;
232+
border: 4px solid #fff;
233+
border-radius: 100%;
234+
}
235+
236+
#cboxClose::before {
237+
text-indent: 0;
238+
content: '×';
239+
color: #fff;
240+
font-size: 23px;
241+
position: absolute;
242+
top: 50%;
243+
left: 50%;
244+
transform: translate(-50%, -50%);
245+
}
246+
225247
#footer {
226248
color: #ddd;
227249
font-size: 12px;

public/application.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)