Spaces:
Runtime error
Runtime error
/* #personal_report-button { | |
font-size: 1.5rem !important; | |
padding: 1.5vh !important; | |
} | |
#completion_reward-button { | |
font-size: 1.5rem !important; | |
padding: 1.5vh !important; | |
} */ | |
#player_avatar_container{ | |
place-items: center | ;|
} | |
#player_avatar { | |
background-color: transparent ; | |
width: 20vw; | |
height: 20vw; | |
border-radius: 50% ; | |
box-shadow: 0 10px 15px rgba(0,0,0,0.1); | |
border-color: #fff ; | |
} | |
.block { | |
border-color: transparent ; | |
} | |
.achievements{ | |
margin: 0 auto; | |
width: 80%; | |
height: 200px ; | |
overflow: auto ; | |
} | |
.achievements [data-testid="block-label"] { | |
display: none; | |
} | |
[data-testid="number-input"] { | |
display: None ; | |
} | |
#adventure_slider { | |
overflow: auto ; | |
height: 200px; | |
} | |
#adventure_slider div{ | |
color: #232323 ; | |
font-size: large; | |
} | |
.textfield > * { | |
border-radius: 8px ; | |
display: block; | |
padding-left: .75rem ; | |
margin: 0.3rem auto; | |
margin-left: 0px ; | |
} | |
#adventure_container { | |
height: 200px; | |
} | |
#player_avatar_description h1{ | |
font-size: 2.5rem; | |
text-align: center; | |
} | |
h1{ | |
font-size: 2rem; | |
text-align: center; | |
font-weight: 100 ; | |
} | |
h1::after { | |
content: ''; | |
display: block; | |
width: 25%; /* Adjust this value to control the width of the line */ | |
height: 4px; /* Thickness of the line */ | |
border-radius: 4px; | |
background: #12d2ab; /* Color of the line */ | |
position: absolute; | |
bottom: -7px; | |
left: 50%; | |
transform: translateX(-50%); /* This centers the line */ | |
} | |
#achievements_description h1{ | |
font-size: 2rem; | |
text-align: center; | |
} | |
#pet_avatar_description h1{ | |
font-size: 2rem; | |
text-align: center; | |
} | |
#badge_avatar_description h1{ | |
font-size: 2rem; | |
text-align: center; | |
} | |
#adventure_description h1{ | |
font-size: 2rem; | |
text-align: center; | |
} | |
#adventure_log { | |
margin: 2.5rem auto 0 auto; | |
} | |
#achievement_log { | |
overflow: auto ; | |
height: 200px; | |
} | |
.gallery_container .preview { | |
background: transparent ; | |
border-radius: 0% ; | |
} | |
.gallery_container .preview [data-testid="detailed-image"] { | |
padding-top: 10px; | |
} | |
#pet_gallery .grid-wrap button { | |
margin: .5vh; | |
height: 150px ; | |
width: 10vh ; | |
background: transparent ; | |
border-color: transparent ; | |
border-radius: 20px; | |
box-shadow: 0 0 10px rgba(0,0,0,0.3); | |
} | |
#pet_gallery .grid-container { | |
grid-template-columns: repeat(30, minmax(6vh, 1fr)); | |
} | |
#badge_gallery .grid-wrap button { | |
margin: .5vh; | |
height: 150px ; | |
width: 10vh ; | |
background: transparent ; | |
border-color: transparent ; | |
border-radius: 20px; | |
box-shadow: 0 0 10px rgba(0,0,0,0.3); | |
} | |
.preview button { | |
color: #000; | |
} | |
::-webkit-scrollbar { | |
width: 5px; | |
height: 10px; | |
} | |
[data-testid="block-label"] { | |
opacity: 0; | |
} | |
[for="range_id_0"] div{ | |
background: #e4e4e48a; | |
border-radius: 20px; | |
padding: 5%; | |
margin: 5%; | |
line-height: 1.8; | |
} | |
[aria-label="Share"] { | |
display: none ; | |
} | |
#adventure_slider { | |
display: flex; | |
flex-direction: column; | |
} | |
#adventure_slider .head { | |
justify-content: center ; | |
} | |
input[type="range"] { | |
-webkit-appearance: none /* Removes default styling for Webkit browsers */ | ;|
height: 20px ; /* Makes the track thicker */ | |
background: linear-gradient(#12d2ab, #16a1b1) ; | |
box-shadow: 0 0 10px #16a1b1 ; | |
border-radius: 20px ; /* Round corners of the track */ | |
padding: 20px ; | |
margin: 10px 0 ; | |
order: -1 ; | |
} | |
/* Styles for the slider thumb for Webkit browsers like Chrome and Safari */ | |
input[type="range"]::-webkit-slider-thumb { | |
-webkit-appearance: none /* Overrides default webkit styles */ | ;|
appearance: none | ;|
height: 24px ; /* Height of the thumb */ | |
width: 24px ; /* Width of the thumb */ | |
border-radius: 50% ; /* Rounded corners of the thumb */ | |
background: #f3b968 ; /* Background color of the thumb */ | |
margin-top: -6px ; /* Ensures the thumb aligns with the track */ | |
box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e ; | |
} | |
/* Styles for the slider thumb for Firefox */ | |
input[type="range"]::-moz-range-thumb { | |
appearance: none | ;|
height: 24px ; /* Height of the thumb */ | |
width: 24px ; /* Width of the thumb */ | |
border-radius: 50% ; /* Rounded corners of the thumb */ | |
background: #f3b968 ; /* Background color of the thumb */ | |
margin-top: -6px ; /* Ensures the thumb aligns with the track */ | |
box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e ; | |
} | |
/* Styles for the slider thumb for IE */ | |
input[type="range"]::-ms-thumb { | |
appearance: none | ;|
height: 24px ; /* Height of the thumb */ | |
width: 24px ; /* Width of the thumb */ | |
border-radius: 50% ; /* Rounded corners of the thumb */ | |
background: #f3b968 ; /* Background color of the thumb */ | |
margin-top: -6px ; /* Ensures the thumb aligns with the track */ | |
box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e ; | |
} | |
/* Styles for the track (progress) for Webkit browsers */ | |
input[type="range"]::-webkit-slider-runnable-track { | |
width: 100% ; | |
height: 10px ; /* Height of the track */ | |
background: #eee ; | |
box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75) inset ; | |
border-radius: 10px ; /* Rounded corners of the track */ | |
} | |
/* Styles for the track for Firefox */ | |
input[type="range"]::-moz-range-track { | |
width: 100% ; | |
height: 10px ; /* Height of the track */ | |
background: #eee ; | |
box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75) inset ; | |
border-radius: 10px ; /* Rounded corners of the track */ | |
} | |
/* Styles for the track for IE */ | |
input[type="range"]::-ms-track { | |
width: 100% ; | |
height: 10px ; /* Height of the track */ | |
background: #eee ; | |
box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75) inset ; | |
border-radius: 10px ; /* Rounded corners of the track */ | |
} | |
#player_name_title { | |
margin: 5vh auto; | |
} | |
#player_name { | |
padding: 6vh 6vw 10vh 6vw; | |
} | |
#player_name [data-testid="block-info"]{ | |
font-size: 2rem; | |
padding: 1vh 0 1vh 0; | |
display: block; | |
color: #000; | |
text-align: center ; | |
} | |
#player_name div{ | |
color: #444; | |
text-align: center; | |
} | |
#player_name textarea{ | |
border-style: solid; | |
border-color: rgba(244, 250, 150, 0.2); | |
border-width: 1px; | |
background: rgba(255,255,255, 0.2); | |
} | |
#story_title { | |
margin: 5vh auto; | |
} | |
#story_description p { | |
font-size: 1.3rem; | |
text-align: center; | |
width: 70%; | |
margin: 5vh auto; | |
} | |
#story_description { | |
border: #12d2ab solid 1px ; | |
border-radius: 10px; | |
} | |
#start_make_reward { | |
background-color: #12d2ab; | |
margin: 20vh 10vw; | |
height: 30vh; | |
font-size: 2rem; | |
} | |
#not_participate { | |
margin: 20vh 10vw; | |
font-size: 2rem; | |
} | |
#not_start { | |
margin: 20vh 10vw; | |
font-size: 2rem; | |
} | |
#start_generate_story, #confirm_player_name, #player_name_next_step, #confirm_story, #start_generate_certificate { | |
background-color: #48A1DD; | |
} | |
#cancel_player_name, #cancel_story { | |
background-color: #eb6584; | |
} | |
#openai_img, #aws_img, #google_img, #mtk_img, #ntu_img { | |
border-radius: 50%; | |
transform: scale(0.7); | |
} | |
#openai_img [aria-label="Download"], #aws_img [aria-label="Download"], #google_img [aria-label="Download"], #mtk_img [aria-label="Download"], #ntu_img [aria-label="Download"] { | |
display: none; | |
} | |
[aria-label="Loading response"] { | |
background: rgba(0,0,0,0.1); | |
} | |
.selected { | |
color: #fff ; | |
background: #f3b868 ; | |
border: 2px solid #eb6584 ; | |
border-radius: 8px ; | |
} | |
#bot1 .message { | |
background: rgba(255,255,255,0.4) ; | |
border: None ; | |
} | |
#bot2 .message { | |
background: rgba(252, 208, 28, 0.4) ; | |
border: None ; | |
} | |
#bot3 .message { | |
background: rgba(99, 162, 98, 0.4) ; | |
border: None ; | |
} | |
#bot4 .message { | |
background: rgba(66, 130, 227, 0.4) ; | |
border: None ; | |
} | |
#processing { | |
margin: 20vh 10vw; | |
height: 30vh; | |
font-size: 2rem; | |
} | |
.code_wrap { | |
background: rgba(0,0,0,0.1); | |
border-radius: 10px; | |
padding: 1vh 1vw 1vh 1vw; | |
margin: 1vh 1vw 1vh 1vw; | |
} | |
.code_wrap pre { | |
background: none ; | |
} | |
#certificate [aria-label="Download"]{ | |
background: #12d2ab ; | |
color: #fff ; | |
border: 5px solid #02b28f ; | |
} | |
#certificate button { | |
display: flex; | |
margin: 0 auto; | |
} | |
#select_story { | |
display: flex; | |
justify-content: space-evenly; | |
} | |
#select_story label{ | |
color: #000; | |
} | |
#select_story input{ | |
background-color: #2563eb; | |
} | |
#select_story [data-testid="block-info"] { | |
color: #000; | |
margin: auto; | |
} | |
[data-testid="露米娜-radio-label"] { | |
background: rgba(255,255,255,0.4) ; | |
} | |
[data-testid="索拉拉-radio-label"] { | |
background: rgba(252, 208, 28, 0.4) ; | |
} | |
[data-testid="薇丹特-radio-label"] { | |
background: rgba(99, 162, 98, 0.4) ; | |
} | |
[data-testid="蔚藍-radio-label"] { | |
background: rgba(66, 130, 227, 0.4) ; | |
} |