quiz-klapek/styles/main.css
2025-06-15 22:04:08 +02:00

76 lines
No EOL
1.3 KiB
CSS

@import url("/styles/variables.css");
h1 {
margin-left: 10px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
padding-bottom: 60px;
}
main {
border: solid 1px var(--border-basic);
text-align: center;
padding: 20px;
}
div.wrap {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
margin: 10px;
}
main form p#info {
text-align: center;
display: none;
color: red;
font-size: smaller;
}
main article {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
main article div.clickable {
margin: 30px;
padding: 20px 35px;
width: 250px;
background-color: var(--color-alt);
border: 1px solid var(--border-basic);
border-radius: 20px;
transition: 0.2s;
user-select: none;
cursor: pointer;
}
main article div.clickable:hover {
background-color: var(--color-alt-hover);
}
main article div.clickable:active {
background-color: var(--color-alt-active);
}
main article div.clickable h3 {
margin-bottom: 30px;
}
table,
table th,
table td {
border-spacing: 3px 20px;
border: 1px solid var(--border-basic);
}