Surn commited on
Commit
8ab60a1
·
1 Parent(s): 84a4603

Update Styles for better alignment of Past Generations

Browse files
Files changed (1) hide show
  1. style.css +28 -0
style.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ h1 {
2
+ text-align: center;
3
+ justify-content: center;
4
+ }
5
+ [role="tabpanel"]{border: 0}
6
+ #duplicate-button {
7
+ margin: auto;
8
+ color: #fff;
9
+ background: #1565c0;
10
+ border-radius: 100vh;
11
+ }
12
+
13
+ .gradio-container {
14
+ max-width: 690px! important;
15
+ }
16
+
17
+ #share-btn-container{padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; max-width: 13rem; margin-left: auto;margin-top: 0.35em;}
18
+ div#share-btn-container > div {flex-direction: row;background: black;align-items: center}
19
+ #share-btn-container:hover {background-color: #060606}
20
+ #share-btn {all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.5rem !important; padding-bottom: 0.5rem !important;right:0;font-size: 15px;}
21
+ #share-btn * {all: unset}
22
+ #share-btn-container div:nth-child(-n+2){width: auto !important;min-height: 0px !important;}
23
+ #share-btn-container .wrap {display: none !important}
24
+ #share-btn-container.hidden {display: none!important}
25
+ #gallery .thumbnails {flex-direction: column !important;display: inline-flex !important;flex-wrap: wrap !important; position: relative !important;}
26
+ #gallery caption.caption {flex-direction: row !important;display: inline-flex !important;flex-wrap: wrap;white-space: unset !important;}
27
+ #gallery .image-button img.with-caption {object-fit: cover !important;object-position: center !important;}
28
+ #gallery button.preview {position: relative !important;}