Pix2Pix-Video / style.css
Jam3za12's picture
enhanced version
990c0f5 verified
/* Container Styles */
#col-container {
max-width: 820px;
margin-left: auto;
margin-right: auto;
padding: 1rem;
background-color: #f9f9f9;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Duplicate Container */
#duplicate-container {
display: flex;
justify-content: space-between;
align-items: center;
line-height: 1.5em;
flex-direction: row-reverse;
font-size: 1em;
margin-top: 1rem;
background-color: #ffffff;
padding: 0.5rem 1rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Link Styles */
a, a:hover, a:visited {
text-decoration: underline;
font-weight: 600;
color: #1f2937 !important;
transition: color 0.3s ease;
}
a:hover {
color: #4a90e2 !important;
}
.dark a, .dark a:hover, .dark a:visited {
color: #f3f4f6 !important;
}
.dark a:hover {
color: #90c2f7 !important;
}
/* Footer Styles */
.footer {
margin-bottom: 45px;
margin-top: 10px;
text-align: center;
border-bottom: 1px solid #e5e5e5;
padding-bottom: 1rem;
}
.footer > p {
font-size: 0.8rem !important;
display: inline-block;
padding: 0 10px;
transform: translateY(26px);
background: white;
}
.dark .footer {
border-color: #303030;
}
.dark .footer > p {
background: #0b0f19;
}
div#may-like-container > p {
font-size: 0.8em;
margin-bottom: 4px;
}
/* Animation */
.animate-spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Share Button Container */
#share-btn-container {
display: flex;
padding: 0.5rem;
background-color: #000000;
justify-content: center;
align-items: center;
border-radius: 9999px;
max-width: 13rem;
margin: 1rem auto;
transition: background-color 0.3s ease;
}
#share-btn-container:hover {
background-color: #333333;
}
/* Share Button */
#share-btn {
all: initial;
color: #ffffff;
font-weight: 600;
cursor: pointer;
font-family: 'IBM Plex Sans', sans-serif;
margin-left: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 9999px;
transition: background-color 0.3s ease;
}
#share-btn:focus {
outline: 2px solid #ffffff;
outline-offset: 2px;
}
#share-btn * {
all: unset;
}
/* Share Button Icon Adjustments */
#share-btn-container div:nth-child(-n+2) {
width: auto !important;
min-height: 0px !important;
}
#share-btn-container .wrap {
display: none !important;
}
#share-btn-container.hidden {
display: none !important;
}
/* Responsive Design */
@media (max-width: 600px) {
#duplicate-container {
flex-direction: column;
text-align: center;
}
#share-btn-container {
max-width: 100%;
}
}
/* Dark Mode Enhancements */
.dark #col-container {
background-color: #1f2937;
}
.dark #duplicate-container {
background-color: #2d3748;
}
.dark #share-btn-container {
background-color: #111827;
}
.dark #share-btn-container:hover {
background-color: #1f2937;
}
.dark .footer > p {
background: #1f2937;
}