Sergidev's picture
Add header
e32be38 verified
raw
history blame
1.45 kB
h1 {
text-align: center;
display: block;
}
#duplicate-button {
margin: auto;
color: #fff;
background: #1565c0;
border-radius: 100vh;
}
.gradio-container {
max-width: 730px !important;
margin: auto;
padding-top: 1.5rem;
}
#title-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh; /* Adjust this value to position the title vertically */
}
#title {
font-size: 3em;
text-align: center;
background: transparent;
}
#subtitle {
text-align: center;
}
#json-input {
font-family: monospace;
font-size: 14px;
}
#history-dropdown {
margin-top: 20px;
}
#history-image {
margin-top: 10px;
}
#history-metadata {
font-family: monospace;
font-size: 12px;
white-space: pre-wrap;
word-break: break-all;
}
#history_gallery {
margin-top: 20px;
}
#history_gallery img {
cursor: pointer;
transition: transform 0.2s;
}
#history_gallery img:hover {
transform: scale(1.05);
}
header {
background-color: #222;
padding: 20px;
position: sticky;
top: 0;
z-index: 100;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav img {
height: 40px;
}
.mode-switch {
display: flex;
gap: 10px;
background-color: #FAF0E6; /* Pearl white background color */
padding: 10px;
border-radius: 5px;
}
.mode-switch img {
cursor: pointer;
height: 24px;
}