Wiesli_Jonas / style.css
Jonas Wiesli
adjusted rendering for images
28ad3fb
raw
history blame
3.82 kB
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
.gradio-container {
background-image: url(\"file/img/bg.png\");
background-size: contain;
background-position: top;
background-color: #cda678;
font-family: "Silkscreen";
position: relative;
image-rendering: pixelated;
}
#component-3 {
margin-bottom: 10px;
}
#component-4 {
margin-top: auto;
margin-bottom: 10px;
}
.tabs.svelte-btpldm {
height: 100%;
}
button.svelte-btpldm {
background-color: #cda678;
border: 1px solid #fff;
margin-right: 2px;
}
.tabitem {
background-color: #002366;
border: 1px solid #fff;
}
#component-9, #component-17, #component-25, #component-33, #component-41 {
min-height: 650px;
max-height: 650px;
}
.secondary.svelte-58yet2 {
background-color: #002366;
font-weight: 400;
}
#component-10, #component-11, #component-18, #component-19, #component-26, #component-27, #component-34, #component-35,
#component-42, #component-43 {
background-color: #aaa;
}
.message.svelte-a99nd8.svelte-a99nd8 {
padding: 15px;
position: relative;
}
.user.svelte-a99nd8.svelte-a99nd8 {
margin-right: 10px;
}
.bot.svelte-a99nd8.svelte-a99nd8 {
padding-left: 15px;
margin-left: 10px;
}
.bot.svelte-a99nd8.svelte-a99nd8:before, .user.svelte-a99nd8.svelte-a99nd8:after {
content: \"\";
width: 10px;
height: 10px;
position: absolute;
bottom: -1px;
border: 1px solid var(--color-border-accent);
background-color: var(--color-accent-soft);
}
.bot.svelte-a99nd8.svelte-a99nd8:before {
left: -10px;
border-right: 0;
}
.user.svelte-a99nd8.svelte-a99nd8:after {
right: -10px;
border-left: 0;
}
textarea {
background-color: #fff;
min-height: 50px !important;
}
#component-48, #component-51, #component-61 {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
width: 50%;
height: 470px;
padding: 80px 20px 20px;
background-color: #fff;
border: 1px solid #002366;
}
#component-51 {
display: flex;
flex-direction: column;
}
#component-51.hide.svelte-1btyfsc {
display: none;
}
#component-51:before {
content: \"The Killer is: \";
position: absolute;
top: 20px;
left: 20px;
color: #000;
font-size: var(--text-lg);
}
#component-51 > *:not(:last-child) {
flex-grow: 1;
}
#component-49 {
position: initial;
background-image: url(\"file/img/map.jpg\");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
#component-62 {
position: initial;
}
#component-50, #component-57, #component-64 {
position: absolute;
top: 20px;
right: 20px;
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
line-height: 0;
}
div.svelte-1eq475l, .output-class.svelte-1s28oeb.svelte-1s28oeb.svelte-1s28oeb {
font-weight: 400;
}
br + br + br {
display: none;
}
#component-13, #component-21, #component-29, #component-37, #component-45 {
min-height: 100px;
background-position: bottom;
background-repeat: no-repeat;
background-size: contain;
image-rendering: pixelated;
max-height: 650px;
}
#component-14, #component-22, #component-30, #component-38, #component-46 {
display: none;
}
div.svelte-1flp5nf {
max-height: 675px;
}
#component-13 {
background-image: url(\"file/img/suspects/steve.png\");
}
#component-21 {
background-image: url(\"file/img/suspects/albert.png\");
}
#component-29 {
background-image: url(\"file/img/suspects/dominic.png\");
}
#component-37 {
background-image: url(\"file/img/suspects/brianna.png\");
}
#component-45 {
background-image: url(\"file/img/suspects/lyanne.png\");
}