e59-website/html/src/css/style.css
Jan BELLON 081ee51c05 Update 3 files
- /html/upload.php
- /html/src/css/style.css
- /html/users.php
2024-03-07 21:25:32 +00:00

142 lines
2.3 KiB
CSS

:root {
--text: #e9e9e9;
--background: hsl(0, 0%, 15%);
--dark-background: hsl(0, 0%, 10%);
--darker-background: hsl(0, 0%, 5%);
}
@font-face {
font-family: crfont; /* Nom de la police */
src: url('/src/fonts/bahnschrift.ttf') format('truetype'); /* Chemin vers votre fichier TTF */
/* Autres attributs de la police (facultatif) */
font-weight: normal;
font-style: normal;
}
body {
font-family: crfont, sans-serif;
color: var(--text);
margin: 0;
}
main {
background: var(--background);
width: 100%;
margin: 0;
min-height: 100em;
}
header, footer, nav {
width: 100%;
margin: 0;
background: var(--dark-background);
display: flex;
}
header, footer {
justify-content: space-between;
}
input, textarea {
background-color: var(--background);
color: var(--text);
padding: 0.4em 1em;
border: 0;
border: 1px solid var(--dark-background);
margin: 15px 0;
font-size: 1.5em;
}
input[type='submit'], button {
background-color: var(--darker-background);
color: var(--text);
border: 0;
border-radius: 10px;
}
input[type='submit']:hover, button:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}
.navitem {
padding: 0.5em;
background-color: var(--darker-background);
margin-right: 1em;
}
a {
text-decoration: none;
color: var(--text-color);
}
.content {
width: 80%;
margin: 0 auto;
padding: 2em 0;
}
.pancontent {
width: 90%;
display: flex;
margin: 0 auto;
}
.athena-container {
padding: 1em 0;
}
.athena {
height: 7em;
border-radius: 3.5em;
}
.athena:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}
.main-title {
text-align: right;
}
.main-title .title {
font-size: 3em;
}
.article-link {
display: inline-block;
margin: 2em;
}
.article {
background-color: var(--dark-background);
border-radius: 10px;
}
.article:hover {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}
.article-content {
padding: 2em;
}
.row {
display: inline-block;
background-color: var(--dark-background);
border-radius: 10px;
padding: 2em;
margin: 2em;
}
.row input {
font-size: 1em;
}
@media(max-width: 750px) {
body {
font-size: 0.8em
}
.navitem {
font-size: 1.4em;
}
}