spacellama/sidebar/sidebar.css
2025-03-11 12:26:07 +01:00

209 lines
3.5 KiB
CSS

body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-image: url("https://static.pexels.com/photos/414171/pexels-photo-414171.jpeg");
background-size: cover;
-webkit-animation: slidein 100s;
animation: slidein 100s;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
background-color: #f5f5f5;
color: #333;
}
@-webkit-keyframes slidein {
from {
background-position: top;
background-size: 3000px;
}
to {
background-position: -100px 0px;
background-size: 2750px;
}
}
@keyframes slidein {
from {
background-position: top;
background-size: 3000px;
}
to {
background-position: -100px 0px;
background-size: 2750px;
}
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
color: #2c3e50;
}
.btn {
display: inline-block;
padding: 10px 20px;
font-size: 14px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
font-weight: 500;
position: relative;
overflow: hidden;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: 0.5s;
}
.btn:hover::before {
left: 100%;
}
.btn-primary {
background: linear-gradient(135deg, #0b132b 0%, #3a506b 100%);
color: #5bc0be;
border: 1px solid #5bc0be;
}
.btn-primary:hover {
background: linear-gradient(135deg, #0b132b 0%, #3a506b 100%);
box-shadow: 0 5px 15px rgba(91, 192, 190, 0.4),
0 0 5px rgba(91, 192, 190, 0.4);
color: #6fffe9;
border-color: #6fffe9;
}
.btn-secondary {
background: rgba(30, 30, 30, 0.9);
color: #c5c6c7;
border: 1px solid #45a29e;
}
.btn-secondary:hover {
background: rgba(30, 30, 30, 0.9);
box-shadow: 0 5px 15px rgba(69, 162, 158, 0.3),
0 0 5px rgba(69, 162, 158, 0.3);
color: #ffffff;
border-color: #66fcf1;
}
.summary-container {
margin-top: 10px;
padding: 10px;
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#summary h1,
#summary h2,
#summary h3 {
margin-top: 0px;
margin-bottom: 0px;
color: #2c3e50;
}
#summary p {
margin-top: 10px;
margin-bottom: 10px;
line-height: 1.6;
}
#summary ul,
#summary ol {
padding-left: 20px;
margin-bottom: 10px;
margin-top: 10px;
}
#summary li {
margin-bottom: 10px;
}
#summary code {
background-color: #f0f0f0;
padding: 2px 4px;
border-radius: 3px;
font-family: "Courier New", Courier, monospace;
}
#summary pre {
background-color: #f0f0f0;
padding: 10px;
border-radius: 3px;
overflow-x: auto;
font-family: "Courier New", Courier, monospace;
}
#open-options {
margin-top: 20px;
}
.form-group {
margin-top: 10px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
resize: vertical;
}
#save-prompt {
margin-top: 10px;
margin-bottom: 10px;
}
#summary,
#system-prompt {
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
#summary {
/* white-space: pre-wrap; */
word-wrap: break-word;
}