forked from antux18/ChasseTresorPange
antux18
d0a515df65
Corrections traductions. Corrections ordres des énigmes. Corrections CSS. Corrections DB.
196 lines
2.9 KiB
CSS
196 lines
2.9 KiB
CSS
:root {
|
|
--bg: #27232a;
|
|
--bg-dark: #4b4b4b;
|
|
--bg-light: #a4a4a4;
|
|
--fg: #ffffff;
|
|
--hl: #8080ff;
|
|
--hl-light: #aeaeff;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-family: "ubuntu", sans-serif;
|
|
color: var(--fg);
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-weight: lighter;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 36px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
p {
|
|
text-align: justify;
|
|
font-size: 16px;
|
|
}
|
|
|
|
a {
|
|
color: var(--hl);
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
input {
|
|
background: var(--bg-dark);
|
|
}
|
|
|
|
input[type="submit"], button {
|
|
font-size: 14px;
|
|
background: var(--hl);
|
|
border-style: none;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
transition: background 0.1s;
|
|
color: var(--fg);
|
|
align-self: center;
|
|
}
|
|
|
|
input[type="submit"]:hover, button:hover {
|
|
background: var(--hl-light);
|
|
}
|
|
|
|
article a {
|
|
align-self: center;
|
|
}
|
|
|
|
input[type="text"], input[type="email"], input[type="number"], textarea {
|
|
font: inherit;
|
|
background: var(--bg-dark);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-color: var(--bg);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
margin: 10px;
|
|
color: var(--fg);
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
font-weight: lighter;
|
|
text-align: center;
|
|
}
|
|
|
|
header nav {
|
|
background-color: var(--bg-dark);
|
|
padding: 20px;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
header nav p:first-of-type {
|
|
font-weight: bold;
|
|
}
|
|
|
|
header nav ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
gap: 15px;
|
|
list-style-type: none;
|
|
}
|
|
|
|
header a {
|
|
padding: 5px;
|
|
text-decoration: none;
|
|
color: var(--fg);
|
|
transition: color 0.1s;
|
|
}
|
|
|
|
header a:hover {
|
|
color: var(--hl);
|
|
}
|
|
|
|
header p:first-of-type {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
main {
|
|
padding: 15px;
|
|
padding-left: 100px;
|
|
padding-right: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.7;
|
|
gap: 20px;
|
|
}
|
|
|
|
main img {
|
|
align-self: center;
|
|
}
|
|
|
|
main article {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
main article img {
|
|
max-width: 100%;
|
|
max-height: 600px;
|
|
}
|
|
|
|
main header section {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
footer {
|
|
border-style: dashed;
|
|
border-color: var(--bg-light);
|
|
border-width: 2px 0px 0px 0px;
|
|
color: var(--fg);
|
|
text-align: center;
|
|
}
|
|
|
|
footer p {
|
|
text-align: center;
|
|
font-size: smaller;
|
|
}
|
|
|
|
video {
|
|
max-height: 300px;
|
|
}
|
|
|
|
.error {
|
|
background: #cc0000 !important;
|
|
}
|
|
|
|
/* Medium devices (landscape tablets, 768px and up) */
|
|
@media only screen and (max-width: 768px) {
|
|
main {
|
|
padding: 25px;
|
|
}
|
|
|
|
main article {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
main header section {
|
|
flex-direction: row;
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
}
|
|
} |