Case_Unknown_02 / style.css
miriamab's picture
test push
2293a7c
Raw History Blame Contribute Delete
5.14 kB
/*
.message.bot {
background: #bdbbbb !important;
font-family: "Monaco" !important;
color: #fcfcfc !important;
}
.message.user {
background: #fcfcfc !important;
font-family: "Monaco";
outline: none !important;
}
#CHATBOT {
background: #f9f9f8 !important;
width: 30%;
max-width: 500px;
margin-left: 70%;
margin-top: 5%;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
display: flex;
flex-direction: column;
}
#USER_INPUT {
width: 30%;
margin-top: 2%;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
display: flex;
flex-direction: column;
}
}/*
#component-4 {
background: #ecebeb !important;
width: 30% !important;
margin-left: 70% !important;
margin-top: 10% !important;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2) !important;
border-radius: 8px !important;
}
*/
@font-face {
font-family: 'Jersey 20';
src: url('./fonts/Jersey20.ttf') format('truetype');
}
footer {
display: none !important;
}
.white-box {
background-color: white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
height: "36vw";
border-radius: 0px !important;
}
.fixed-image-up {
position: absolute;
top: 100px; /* Adjust the top position */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Center horizontally relative to itself */
z-index: 10; /* Ensure it stays above other elements */
width: 100px; /* Set the desired width */
height: auto; /* Maintain aspect ratio */
border-radius: 0px !important;
}
.fixed-image-mid {
position: absolute;
top: 270px; /* Adjust the top position */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Center horizontally relative to itself */
z-index: 10; /* Ensure it stays above other elements */
width: 100px; /* Set the desired width */
height: auto; /* Maintain aspect ratio */
border-radius: 0px !important;
}
.fixed-image-down {
position: absolute;
top: 440px; /* Adjust the top position */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Center horizontally relative to itself */
z-index: 10; /* Ensure it stays above other elements */
width: 100px; /* Set the desired width */
height: auto; /* Maintain aspect ratio */
border-radius: 0px !important;
}
.heading {
font-size: 24px;
font-weight: bold;
text-align: center;
margin: 10px; /* Space between heading and other content */
}
/* Apply the Jersey 20 font to the chatbot */
#CHATBOT {
font-family: 'Jersey 20', monospace; /* Fallback font added */
font-size: 12px; /* Adjust font size as needed */
color: #333; /* Text color for readability */
line-height: 1.5; /* Adjust line spacing for clarity */
border-radius: 0px !important;
}
/* Apply the Jersey 20 font to the input box */
#USER_INPUT {
font-family: 'Jersey 20', monospace; /* Fallback font added */
font-size: 12px;
color: #333; /* Input text color */
background-color: #f9f9f8; /* Optional background color for better UX */
border-radius: 0px !important;
}
.heading {
font-family: 'Jersey 20', monospace; /* Use Roboto font */
font-size: 20px; /* Adjust font size */
color: #333; /* Adjust color as needed */
margin-top: 20px; /* Optional spacing */
text-align: center; /* Optional alignment */
}
.scale {
border-radius: 0px !important;
}
.timer p {
font-family: 'Jersey 20', monospace !important; /* Ensure font family is applied */
font-size: 20px !important; /* Ensure font size is applied */
color: #ffffff !important; /* Ensure color is applied */
text-align: center !important;
border-radius: 0px !important;
font-weight: bold;
}
.persuasion_display p {
font-family: 'Jersey 20', monospace !important; /* Ensure font family is applied */
font-size: 20px !important; /* Ensure font size is applied */
color: #222222 !important; /* Ensure color is applied */
text-align: center !important;
border-radius: 0px !important;
font-weight: bold;
}
.logo{
width: 110% !important; /* Set the desired width */
height: 110%; /* Maintain aspect ratio */
border-radius: 0px !important;
}
.logo-box{
height: "6vw"
}
.ending-black {
background-color: rgb(0, 0, 0);
height: "36vw";
border-radius: 0px !important;
}
.gradio-container {
background-size: cover !important; /* Ensures background covers the new width */
max-width: 100%; /* Expand the container width */
}
.message.user {
background: #e8e8e8 !important; }
/* The overlay style */
#game_over_overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); /* 70% black transparency */
display: block; /* Initially visible for testing */
z-index: 1000;
}
/* The text inside the overlay */
#game_over_message {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 32px;
color: white;
font-weight: bold;
}