update AI page

This commit is contained in:
Raven Scott 2024-10-02 20:55:02 -04:00
parent bf1ec57e4a
commit ae65d9f032

View File

@ -155,33 +155,16 @@ 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;
@ -235,36 +218,34 @@ code {
/* Align the text left */ /* Align the text left */
} }
ul {
margin: 20px 0; /* Adds space around the list */
padding-left: 40px; /* Indents the list items */
}
li {
margin-bottom: 10px; /* Adds space between each list item */
line-height: 1.5; /* Improves readability */
}
.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;
margin-top: 10px; /* Adjusted padding for smaller size */
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-code:hover { .copy-button: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% {