move js and css to their own directories

This commit is contained in:
Pierre de Lacroix 2025-11-14 15:43:48 +01:00
parent 6429c6a575
commit bc8b5dc172
Signed by untrusted user who does not match committer: lateralus23
GPG key ID: C20C17EC0D98B2DF
7 changed files with 15 additions and 15 deletions

63
css/base.css Normal file
View file

@ -0,0 +1,63 @@
@font-face {
font-family: Banquise;
src: url(../assets/Banquise-Regular.woff);
}
@font-face {
font-family: Dymo;
src: url(../assets/Dymo.ttf);
}
@font-face {
font-family: Erika;
src: url(../assets/Erika-Type.ttf);
}
html, body {
height: 100%;
margin: 0;
}
a {
text-decoration: none;
color: black;
}
main {
background-color: #413f43;
background-image: url(../assets/background.jpg);
background-repeat: no-repeat;
background-size: cover;
}
main h1, main h2 {
font-family: Banquise;
color: white;
}
main h1 {
font-size: 8em;
}
nav, footer, aside {
background: #d7d7d7;
background: url(../assets/paper.avif);
padding: 5px;
font-family: Erika;
}
nav a, footer a, aside a {
font-family: Dymo;
font-size: 3em;
display: inline-block;
}
nav a.current {
text-decoration: underline 3px;
}
footer a:hover, nav a:hover {
transform: rotate(-2deg);
}

28
css/drag.css Normal file
View file

@ -0,0 +1,28 @@
main img.draggable {
max-width: 150px;
max-height: 150px;
position: absolute;
filter: saturate(2);
}
.draggable {
cursor: move;
position: relative;
width: fit-content;
user-select: none;
z-index: 1;
filter: drop-shadow(5px 3px 2px #000000b7);
}
span.draggable {
display: inline-block;
/* text-shadow: 1px 1px black, 0px 1px black, -1px 0px black, -1px -1px black; */
}
.draggable[data-moving="1"] {
transform: rotate(-3deg);
filter: drop-shadow(15px 15px 6px #20202052);
}

49
css/home.css Normal file
View file

@ -0,0 +1,49 @@
main {
display: block;
color: black;
overflow: hidden;
width: 100%;
min-height: 1000px;
}
footer {
display: block;
height: 100px;
text-align: center;
}
main h1 {
position: relative;
text-align: center;
margin: auto;
width: 100%;
font-size: clamp(4em, 14vw, 8em);
margin-top: 5%;
}
main h2 {
margin: 4% auto;
text-align: center;
font-size: clamp(2.5em, 5vw, 4em);
}
main p {
margin: 1%;
padding: 1%;
background: white;
background: url(../assets/notebook.jpg);
/* border: solid 1px; */
opacity: 0.92;
display: inline-block;
}
section {
max-width: 1400px;
font-size: 1.5em;
text-align: center;
font-family: Erika;
margin: auto;
margin-bottom: 100px;
columns: 560px;
padding: 2%;
}

33
css/poster.css Normal file
View file

@ -0,0 +1,33 @@
body {
background: #434343;
}
aside {
background: url(../assets/notebook.jpg);
width: fit-content;
}
main {
overflow: hidden;
max-width: 21cm;
aspect-ratio: 1 / 1.414;
box-shadow: 5px 5px 5px #00000085;
margin: 50px auto;
position: relative;
}
@page {
size: portrait;
margin: 0;
}
@media print {
body main {
margin: 0 !important;
}
aside, footer, nav {
display: none;
}
}