Skip to content

Commit 30f2d78

Browse files
authored
Update styles.css
1 parent a40bd9f commit 30f2d78

File tree

1 file changed

+18
-29
lines changed

1 file changed

+18
-29
lines changed

styles/styles.css

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ body {
156156

157157
#settings-menu .button-row {
158158
display: flex;
159-
flex-direction: row;
160-
gap: 10px;
161-
justify-content: center;
159+
flex-direction: row; /* Align buttons horizontally */
160+
gap: 10px; /* Space between buttons */
161+
justify-content: center; /* Center the buttons */
162162
}
163163

164164
#setting-logo img:hover {
@@ -172,34 +172,34 @@ body {
172172

173173
#theme-selector {
174174
display: flex;
175-
flex-direction: row;
176-
gap: 20px;
177-
justify-content: center;
175+
flex-direction: row; /* Arrange themes horizontally */
176+
gap: 20px; /* Add spacing between theme options */
177+
justify-content: center; /* Center align themes */
178178
}
179179

180180
.theme-option {
181181
display: flex;
182-
flex-direction: column;
183-
align-items: center;
182+
flex-direction: column; /* Stack image and radio button vertically */
183+
align-items: center; /* Center align each theme option */
184184
text-align: center;
185185
}
186186

187187
.theme-preview {
188-
width: 100px;
188+
width: 100px; /* Adjust image size */
189189
height: auto;
190190
border-radius: 8px;
191-
margin-bottom: 5px;
191+
margin-bottom: 5px; /* Space between image and radio button */
192192
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
193-
cursor: pointer;
193+
cursor: pointer; /* Make the image clickable */
194194
transition: transform 0.2s ease;
195195
}
196196

197197
.theme-preview:hover {
198-
transform: scale(1.1);
198+
transform: scale(1.1); /* Slight zoom-in effect on hover */
199199
}
200200

201201
input[type="radio"] {
202-
margin-top: 5px;
202+
margin-top: 5px; /* Space above the radio button */
203203
cursor: pointer;
204204
}
205205

@@ -219,7 +219,7 @@ input[type="radio"] {
219219
}
220220

221221
.html-btn:hover {
222-
background-color: #0056b3;
222+
background-color: #0056b3; /* Darker blue on hover */
223223
}
224224

225225
.btn-reset {
@@ -238,7 +238,7 @@ input[type="radio"] {
238238
}
239239

240240
.btn-reset:hover {
241-
background-color: #0056b3;
241+
background-color: #0056b3; /* Darker blue on hover */
242242
}
243243

244244
.editor-controls {
@@ -263,18 +263,7 @@ input[type="radio"] {
263263
background-color: #0056b3;
264264
}
265265

266-
.editor-container.fullscreen {
267-
position: fixed;
268-
top: 0;
269-
left: 0;
270-
width: 100vw;
271-
height: 100vh;
272-
margin: 0;
273-
padding: 0;
274-
z-index: 1000;
275-
display: flex;
276-
background-color: #fff;
277-
}
266+
278267

279268
#markdown-input {
280269
background-color: #ffffff;
@@ -295,7 +284,7 @@ input[type="radio"] {
295284
.toolbar-right {
296285
display: flex;
297286
align-items: center;
298-
gap: 0px;
287+
gap: 10px;
299288
justify-content: flex-end;
300289
}
301290

@@ -388,7 +377,7 @@ input[type="radio"] {
388377
position: relative;
389378
display: flex;
390379
align-items: center;
391-
gap: 10px;
380+
gap: 0px;
392381
justify-content: flex-end;
393382
margin-right: 20px;
394383
}

0 commit comments

Comments
 (0)