Skip to content

Commit

Permalink
add close button's style
Browse files Browse the repository at this point in the history
  • Loading branch information
Adityasinh-Sodha authored Jan 1, 2025
1 parent 55b4818 commit 83ded45
Showing 1 changed file with 49 additions and 17 deletions.
66 changes: 49 additions & 17 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,6 @@ body {
justify-content: flex-end;
}

#toggle-btn {
padding: 5px 15px;
font-size: 14px;
border: 1px solid #333;
border-radius: 5px;
background-color: #007bff;
color: white;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s;
order: 1;
}

#toggle-btn:hover {
background-color: #0056b3;
}

.btn-reset {
background-color: #007bff !important;
Expand Down Expand Up @@ -530,12 +514,60 @@ body.dark-blue-theme #preview td {
color: #cfd8e3;
}

/* Code Blocks */
body.dark-blue-theme #preview pre {
background-color: #2e2e3e;
color: #cfd8e3;
border-radius: 5px;
padding: 10px;
}

.preview-buttons {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 10px;
z-index: 1000;
}

.close-btn {
background-color: red !important;
color: white !important;
border: none;
border-radius: 50%;
font-size: 18px;
font-weight: bold;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
order: 2;
}

.close-btn:hover {
background-color: darkred !important;
}

#toggle-btn {
background-color: #007bff;
color: white;
border: none;
border-radius: 50%;
font-size: 18px;
font-weight: bold;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
order: 1;
}

#toggle-btn:hover {
background-color: #0056b3;
}

0 comments on commit 83ded45

Please sign in to comment.