157 lines
2.7 KiB
CSS
157 lines
2.7 KiB
CSS
:root {
|
|
--text: #373737;
|
|
--background: hsl(0, 0%, 100%);
|
|
--dark-background: hsl(0, 0%, 100%);
|
|
--darker-background: hsl(0, 0%, 100%);
|
|
--article-background: hsl(0, 0%, 100%);
|
|
--article-text: hsl(0, 0%, 0%);
|
|
}
|
|
|
|
@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 {
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
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: 1px solid var(--dark-background);
|
|
margin: 15px 0;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
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(--article-background);
|
|
color: var(--article-text);
|
|
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;
|
|
}
|
|
|
|
.button {
|
|
background-color: var(--darker-background);
|
|
color: var(--text);
|
|
border-radius: 10px;
|
|
color: var(--text);
|
|
padding: 0.4em 1em;
|
|
border: 0;
|
|
margin: 15px;
|
|
font-size: 1.2em;
|
|
display: inline-block;
|
|
}
|
|
|
|
@media(max-width: 750px) {
|
|
body {
|
|
font-size: 0.8em
|
|
}
|
|
.navitem {
|
|
font-size: 1.4em;
|
|
}
|
|
} |