update AI page
This commit is contained in:
parent
f1b9abb4e0
commit
28e2057a2e
@ -155,16 +155,33 @@ body,
|
|||||||
border-color: #888;
|
border-color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #1e1e1e;
|
||||||
|
padding: 20px;
|
||||||
|
margin: 20px 0; /* Adds space around the pre element */
|
||||||
|
border-radius: 5px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
color: #f8f8f2;
|
color: #f8f8f2;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: block;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background-color: #1e1e1e;
|
||||||
|
color: #f8f8f2;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.copy-button {
|
.copy-button {
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
color: white;
|
color: white;
|
||||||
@ -220,32 +237,23 @@ pre code {
|
|||||||
|
|
||||||
.copy-button-code {
|
.copy-button-code {
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
/* Button background color */
|
|
||||||
color: white;
|
color: white;
|
||||||
/* Button text color */
|
|
||||||
border: none;
|
border: none;
|
||||||
/* Remove border */
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/* Pointer cursor for interaction */
|
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
/* Adjusted padding for smaller size */
|
margin-top: 10px;
|
||||||
margin-top: 5px;
|
|
||||||
/* Space at the top */
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
/* Keep the button in line */
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
/* Slightly smaller font size for compactness */
|
|
||||||
width: 56px;
|
width: 56px;
|
||||||
/* Prevent the button from stretching */
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
/* Align the text left */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy-button:hover {
|
.copy-button-code:hover {
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
/* Darker shade on hover */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Add animations for the alerts */
|
/* Add animations for the alerts */
|
||||||
@keyframes fadeSlideIn {
|
@keyframes fadeSlideIn {
|
||||||
0% {
|
0% {
|
||||||
|
Loading…
Reference in New Issue
Block a user