Skip to content

Commit a548bbe

Browse files
committed
Makes close button look better
1 parent 7c8d0bc commit a548bbe

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

assets/stylesheets/screen.css

Lines changed: 22 additions & 0 deletions
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;

0 commit comments

Comments
 (0)