mirror of
https://github.com/olehomelchenko/minivlat-local-ua.git
synced 2025-12-21 21:22:24 +00:00
Enhance CSS styles for full-height layout and improved quiz container alignment
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
<body>
|
||||
<div id="quiz-container">
|
||||
<div id="timer">Time remaining: <span id="time">25</span>s</div>
|
||||
<div id="quiz" style="display: flex;">
|
||||
<div id="chart" style="flex: 1; display: flex; justify-content: center; align-items: center;"></div>
|
||||
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;">
|
||||
<div id="quiz">
|
||||
<div id="chart"></div>
|
||||
<div id="question-block">
|
||||
<div id="question-text"></div>
|
||||
<div id="options"></div>
|
||||
<!-- Removed submit button -->
|
||||
|
||||
@@ -3,6 +3,13 @@ body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #ffffff;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
@@ -70,9 +77,22 @@ form button {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#quiz-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#quiz {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#chart {
|
||||
@@ -80,7 +100,16 @@ form button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#question-block {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
||||
Reference in New Issue
Block a user