Polishing of Uni quizes, and some styling
This commit is contained in:
@ -5,112 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hálózatok Quiz</title>
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='images/home/logo.jpg') }}" type="image/x-icon">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(to right, #5a0fb8, #1f65d6);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
flex: 1 1 calc(33.333% - 20px);
|
||||
max-width: calc(33.333% - 20px);
|
||||
transform: scale(1);
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-size: 2.2em;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.question {
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.3em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.answer-options {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.answer-options label {
|
||||
display: block;
|
||||
position: relative;
|
||||
background: linear-gradient(to right, #5a0fb8, #1f65d6);
|
||||
padding: 10px 15px;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.answer-options label:hover {
|
||||
background: linear-gradient(to right, #1f65d6, #5a0fb8);
|
||||
color: white;
|
||||
transform: translateX(5px);
|
||||
}
|
||||
|
||||
.answer-options input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.answer-options input:checked + label {
|
||||
background: linear-gradient(to right, #5a0fb8, #2ecc71);
|
||||
color: white;
|
||||
border: 2px solid #27ae60;
|
||||
}
|
||||
|
||||
.submit-button, .quit-button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-size: 1.2em;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
transition: background-color 0.3s ease, transform 0.2s ease;
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
background: linear-gradient(to right, #80e27e, #66c466);
|
||||
}
|
||||
|
||||
.quit-button {
|
||||
background: linear-gradient(to right, #ff8a80, #ff5252);
|
||||
}
|
||||
|
||||
.submit-button:hover, .quit-button:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.submit-button:active, .quit-button:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.submit-button:hover, .quit-button:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.submit-button:active, .quit-button:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/quizes.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
Reference in New Issue
Block a user