EvalueTonSavoir/client/src/components/QuestionsDisplay/questionStyle.css

153 lines
2.9 KiB
CSS
Raw Normal View History

2024-03-29 20:08:34 -04:00
.question-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
.choices-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 0.75rem;
}
.answer-wrapper {
display: flex;
flex-direction: column;
}
.question-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
2024-04-08 21:37:11 -04:00
.question-wrapper .katex {
text-align: center;
}
.katex * {
font-family: 'KaTeX_Main' /* to display characters like \neq properly */
}
2024-03-29 20:08:34 -04:00
.circle {
height: 2.3rem;
width: 2.3rem;
border-radius: 50%;
border-color: black;
border-width: 1px;
padding: 0.05rem;
border-style: solid;
display: flex;
align-items: center;
justify-content: center;
color: black;
box-shadow: 0 0 1px #3a3a3a;
}
.circle.selected {
background-color: var(--main-color);
color: white;
}
.button-wrapper {
border: 0;
display: flex;
column-gap: 0.5rem;
align-items: center;
background-color: transparent;
margin-bottom: 0.25rem;
}
.answer-text {
border-width: 1px;
border-style: solid;
border-radius: 0.25rem;
border-color: rgb(25, 6, 6);
padding: 0.5rem;
text-align: left;
width: 20rem;
color: black;
box-shadow: 0 0 1px #3a3a3a;
}
.answer-weight-container {
display: flow;
/* float: left; */
box-shadow: 0px 1px 1px #3a3a3a;
border-radius: 3px;
padding-left: 0.2rem;
padding-right: 0.2rem;
padding-top: 0.05rem;
padding-bottom: 0.05rem;
}
.numerical-answer-weight-container {
2025-01-26 22:41:11 -05:00
display: inline;
box-shadow: 0px 1px 1px #3a3a3a;
border-radius: 3px;
padding-left: 0.2rem;
padding-right: 0.2rem;
padding-top: 0.05rem;
padding-bottom: 0.05rem;
}
.answer-positive-weight {
background-color: hsl(
120, 100%, 90%
);
}
.answer-zero-or-less-weight {
background-color: hsl(
0, 100%, 90%
);
}
2024-03-29 20:08:34 -04:00
.answer-text.selected {
background-color: var(--main-color);
color: white;
}
.choice-container {
display: flex;
flex-direction: column;
}
.feedback-container {
display: inline-block !important; /* override the parent */
2025-01-26 22:41:11 -05:00
align-items: center;
margin-left: 1.1rem;
position: relative;
padding: 0 0.5rem;
background-color: hsl(43, 100%, 94%);
color: hsl(43, 95%, 9%);
border: hsl(36, 84%, 93%) 1px solid;
border-radius: 6px;
box-shadow: 0px 2px 5px hsl(0, 0%, 74%);
2024-03-29 20:08:34 -04:00
}
2025-01-26 22:41:11 -05:00
.feedback-container img {
vertical-align: middle;
/* height: 1em; */
}
2024-03-29 20:08:34 -04:00
.global-feedback {
position: relative;
padding: 0 1rem;
background-color: hsl(43, 100%, 94%);
color: hsl(43, 95%, 9%);
border: hsl(36, 84%, 93%) 1px solid;
border-radius: 6px;
box-shadow: 0px 2px 5px hsl(0, 0%, 74%);
}
.choices-wrapper {
width: 90%;
}