Skip to content

Commit

Permalink
Merge pull request #140 from anthony0030/main
Browse files Browse the repository at this point in the history
Makes close button look better
  • Loading branch information
amatsuda authored Sep 4, 2024
2 parents c225a83 + 893ee00 commit f7eed62
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions assets/stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,28 @@ td.strong {
border-radius: 6px;
}

#cboxClose {
position: absolute;
top: -14px;
right: -14px;
width: 30px;
height: 30px;
background: #000;
border: 4px solid #fff;
border-radius: 100%;
}

#cboxClose::before {
text-indent: 0;
content: '×';
color: #fff;
font-size: 23px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

#footer {
color: #ddd;
font-size: 12px;
Expand Down
2 changes: 1 addition & 1 deletion public/application.css

Large diffs are not rendered by default.

0 comments on commit f7eed62

Please sign in to comment.