Spaces:
Running
Running
File size: 1,668 Bytes
1d5ad89 0201c98 1d5ad89 0201c98 09bf047 91c2e3c 1d5ad89 0201c98 1d5ad89 09bf047 0201c98 1d5ad89 09bf047 0201c98 09bf047 0201c98 09bf047 0201c98 91c2e3c 09bf047 0201c98 1d5ad89 0201c98 1d5ad89 0201c98 09bf047 91c2e3c 09bf047 0201c98 09bf047 1d5ad89 224589d 0201c98 09bf047 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
/* app.css */
body {
background-color: #f5f5f5;
margin: 0;
padding: 0;
}
.gradio-container {
font-family: 'Roboto', sans-serif;
margin: 0 auto;
padding: 20px;
max-width: 100%; /* Ensure the container doesn't exceed the viewport width */
overflow-x: hidden; /* Hide horizontal overflow */
}
.gr-button {
background-color: #6200EE;
color: white;
font-weight: bold;
cursor: pointer;
border: none;
padding: 10px 20px;
margin: 5px;
border-radius: 4px;
transition: background-color 0.3s;
}
.gr-button:hover {
background-color: #3700B3;
}
h1 {
color: #333;
text-align: center;
font-weight: normal;
}
.card {
background-color: white;
border-radius: 4px;
margin: 10px 0;
padding: 15px;
box-sizing: border-box; /* Include padding and border in the total width and height */
word-wrap: break-word; /* Break long words to prevent overflow */
overflow-wrap: break-word; /* For better compatibility */
max-width: 100%; /* Ensure cards don't exceed the container width */
}
.card-content h3 {
margin-top: 0;
font-size: 1.2em;
color: #6200EE;
}
.card-content p {
margin: 5px 0;
color: #555;
}
.card-content a {
color: #1E88E5;
text-decoration: none;
word-break: break-all; /* Break long URLs to prevent overflow */
}
.card-content a:hover {
text-decoration: underline;
}
.dead-link {
border: 2px solid #D32F2F;
}
.dead-link .card-content h3,
.dead-link .card-content p,
.dead-link .card-content a {
color: #D32F2F;
}
@media screen and (max-width: 600px) {
.card-content h3 {
font-size: 1em;
}
}
|