mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Refactor navbar implementation: replace navbar.js with main.js, update HTML references, and enhance button styles. Add author username to paste retrieval response and implement clipboard notification feature.
### Copilot Generated Commit Message
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
--neutral-50: #fafafa;
|
||||
--neutral-50: #fafafa;
|
||||
--neutral-100: #f5f5f5;
|
||||
--neutral-200: #e5e5e5;
|
||||
--neutral-300: #d4d4d4;
|
||||
@@ -128,6 +128,7 @@ select:hover {
|
||||
outline: none;
|
||||
border: 1px solid var(--neutral-600);
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline: none;
|
||||
border: 1px solid var(--neutral-600);
|
||||
@@ -136,3 +137,48 @@ select:focus {
|
||||
#syntax {
|
||||
padding-left: 14rem;
|
||||
}
|
||||
|
||||
#syntax-label {
|
||||
margin-bottom: -2.3rem;
|
||||
margin-top: 1.1rem;
|
||||
z-index: 2;
|
||||
align-self: flex-start;
|
||||
margin-left: 1rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.main-container {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.create-form textarea {
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
#syntax-label {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
align-self: center;
|
||||
max-width: 12rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
/*
|
||||
|
||||
possible style, just not good for small screens on desktop for some reason
|
||||
|
||||
margin-left: 6.7rem;
|
||||
max-width: 12rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
margin-bottom: -1.9rem;
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
#syntax {
|
||||
padding-left: 0.7rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user