243 lines
3.5 KiB
CSS
Executable File
243 lines
3.5 KiB
CSS
Executable File
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #444;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
del {
|
|
color: #888;
|
|
}
|
|
|
|
header {
|
|
margin: 10px;
|
|
}
|
|
|
|
#logo {
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
#logo a {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#logo img {
|
|
width: 3em;
|
|
height: 3em;
|
|
}
|
|
|
|
#logo span {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.invite {
|
|
margin: 50px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.choix-appli-wrapper {
|
|
margin: 40px 0;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.choix-appli-wrapper a:link, .choix-appli-wrapper a:visited {
|
|
text-decoration: none;
|
|
color: black;
|
|
max-width: 200px;
|
|
}
|
|
|
|
div.content {
|
|
width: clamp(800px, 55%, 1200px);
|
|
margin: 30px auto;
|
|
padding: 10px;
|
|
}
|
|
|
|
#resultat {
|
|
background-color: #ffffff;
|
|
position: sticky;
|
|
top: 0;
|
|
padding: 15px;
|
|
display: flex;
|
|
box-shadow: 0 5px 5px #ddd;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
#resultat .decision {
|
|
width: 100%;
|
|
}
|
|
|
|
#resultat div, .choix-appli-wrapper div {
|
|
padding: 15px;
|
|
border: 1px solid #ddd;
|
|
text-align: center;
|
|
min-width: 15%;
|
|
}
|
|
|
|
.choix-appli-wrapper div {
|
|
height: 100%;
|
|
}
|
|
|
|
.choix-appli-wrapper div {
|
|
transition: background-color 200ms;
|
|
}
|
|
|
|
.choix-appli-wrapper div:hover {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
.choix-appli-wrapper div:active {
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
#resultat div span, .choix-appli-wrapper span {
|
|
font-size: 2em;
|
|
}
|
|
|
|
#resultat div p, .choix-appli-wrapper p {
|
|
margin-top: 15px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info {
|
|
padding: 10px;
|
|
background-color: lightyellow;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
form input[type="number"] {
|
|
width: 100%;
|
|
padding: 5px;
|
|
border: none;
|
|
background-color: #eee;
|
|
font: large monospace;
|
|
}
|
|
|
|
form input[type="number"]:invalid {
|
|
background-color: #fdebd0;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
div.ln {
|
|
margin: 5px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
}
|
|
|
|
div.head {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.head div {
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
div.ln div {
|
|
padding: 5px;
|
|
}
|
|
|
|
div.ln div:nth-child(1) {
|
|
padding: 5px 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
div.ln div:nth-child(2) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.ln div:nth-child(2), div.ln div:nth-child(5) {
|
|
width: 5em;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
div.ln div:nth-child(3), div.ln div:nth-child(4) {
|
|
padding: 5px;
|
|
width: 6em;
|
|
align-self: stretch;
|
|
}
|
|
|
|
div.ln div:nth-child(3) {
|
|
background-color: #DBC4F0;
|
|
}
|
|
|
|
div.ln div:nth-child(4) {
|
|
background-color: #FFCACC;
|
|
}
|
|
|
|
div.ln div.null {
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
@media screen and (max-width: 800px) {
|
|
div.content {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
#resultat, .choix-appli-wrapper {
|
|
position: static;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.choix-appli-wrapper a {
|
|
width: clamp(300px, 60%, 700px);
|
|
}
|
|
|
|
#resultat div {
|
|
width: 100%;
|
|
}
|
|
|
|
div.ln div {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
div.ln {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
div.ln div:nth-child(1) {
|
|
width: calc(70vw + 10px);
|
|
}
|
|
|
|
div.ln div:nth-child(3), div.ln div:nth-child(4) {
|
|
width: 35vw;
|
|
}
|
|
} |