mirror of
https://github.com/lone-cloud/prism
synced 2026-06-04 04:04:44 -07:00
120 lines
1.4 KiB
CSS
120 lines
1.4 KiB
CSS
/* CSS Reset */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
img,
|
|
picture,
|
|
video,
|
|
canvas,
|
|
svg {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
p,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* Styles */
|
|
body {
|
|
font-family: system-ui;
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.status-item {
|
|
padding: 10px 16px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-ok {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.status-error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.endpoint-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.endpoint-list li {
|
|
padding: 8px 12px;
|
|
background: #f8f9fa;
|
|
border-radius: 4px;
|
|
margin-bottom: 6px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.link-button {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background: #007bff;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
margin-top: 10px;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.link-button:hover {
|
|
background: #0056b3;
|
|
}
|
|
|
|
.loading {
|
|
color: #666;
|
|
}
|