-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b936b79..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -guide.html diff --git a/Dockerfile b/Dockerfile index 519aff8..77adc9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/nginx:1.29-alpine -COPY index.html poster.html guide.html /usr/share/nginx/html +COPY index.html poster.html /usr/share/nginx/html COPY assets /usr/share/nginx/html/assets COPY css /usr/share/nginx/html/css COPY js /usr/share/nginx/html/js diff --git a/README.md b/README.md index 9bd2043..2a7dfc8 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,6 @@ # Interhack Camp Website 2026 -## How to deploy : - -### generate statuses PDF - -Statuses are stored in [this online pad](https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw). - -PDF can be generated thanks to `pandoc` and the good old `curl` this way: - -```sh -curl -s https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw/download | pandoc -V geometry:margin=3cm -o assets/Camp-Interhack_Statuts.pdf -``` - -### Generation de la page Guide. - -La page Guide est générée depuis un Hedgedocs, en markdown, via le fichier update-guide.sh qui utilise le fichier guide.template.html. Le contenu de la page est donc un HTML basique in fine. - -```sh -bash update-guide.sh -``` - -### Build the Docker image - -Please generate +## Build the Docker image We use Docker for deploying on the Interhack infra. Until we have a proper CI, we need to build manually. @@ -50,3 +28,13 @@ docker push git.interhacker.space/interhack/camp-website-2026:latest The pull process is triggered every five minutes. So you may wait at least this amount of time before the website is up-to-date! (and Ctrl + Shift + R is useful to nuke cache) + +## generate statuses PDF + +Statuses are stored in [this online pad](https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw). + +PDF can be generated thanks to `pandoc` and the good old `curl` this way: + +```sh +curl -s https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw/download | pandoc -V geometry:margin=3cm -o assets/Camp-Interhack_Statuts.pdf +``` diff --git a/css/base.css b/css/base.css index 6e2fe0f..bd4db14 100644 --- a/css/base.css +++ b/css/base.css @@ -18,10 +18,6 @@ html, body { margin: 0; } -img { - max-width: 100%; -} - a { text-decoration: none; color: black; @@ -61,7 +57,6 @@ nav a, footer a, aside a { font-family: Dymo; font-size: 3em; display: inline-block; - margin-right: 1em; } nav a.current { @@ -79,12 +74,10 @@ footer { text-align: center; display: flex; justify-content: space-evenly; - align-items: end; } @media (max-width: 600px) { footer { flex-direction: column; - align-items: center; } -} +} \ No newline at end of file diff --git a/css/guide.css b/css/guide.css deleted file mode 100644 index d175b18..0000000 --- a/css/guide.css +++ /dev/null @@ -1,112 +0,0 @@ -body { - background-image: radial-gradient(at left top, #058C9E, #BC5180); - background-repeat: no-repeat; - background-attachment: fixed; -} - -main { - width: 100%; - max-width: 800px; - margin-left: auto; - margin-right: auto; - background: none; - padding-bottom: 100px; - font-family: Erika; - line-height: 1.5; -} - -main > * { - width: 100%; - background: linear-gradient(to top, rgba(255,255,255,0.5)), url(../assets/notebook.jpg), white; - box-sizing: border-box; - margin: 0; - background-size: 100% auto; - padding-bottom: 1em; - filter: drop-shadow(5px 3px 2px #000000b7); - padding-left: 15px; - padding-right: 15px; - z-index: 1; - position: relative; - max-width: 100%; -} - -main > img { - object-fit: scale-down; -} - -main > .sticker { - background: none; - z-index: 0; -} - -main > *.draggable:not(.sticker) { - - &:not(h2) { - width: 100%; - } - - &:not(h1):not(h2):hover { - animation: none; - } -} - - -main ul, -main ol, -main dl { - padding-left: calc(1em + 15px); -} - -main h1 { - text-align: center; - font-size: 4rem; -} - -main h1, -main h2 { - background: none; - padding-top: 1.5em; - padding-left: 0; - padding-right: 0; -} - -@media screen and (max-width: 800px) { - main h2 { - padding-left: 1em; - } -} - -main h1 + *, -main h2 + * { - padding-top: 1em; -} - -main h1 small { - display: block; - background: url(../assets/notebook.jpg); - color: black; - font-family: Erika; - font-size: 2.5rem; - width: fit-content; - max-width: 90%; - margin-left: auto; - margin-right: auto; - transform: translateY(-0.3em) rotate(-2deg); -} - -main pre { - white-space: pre-wrap; -} - -main a { - text-decoration: underline; - color: teal; -} - -main a:visited { - color: rebeccapurple; -} - -footer { - padding: 1em; -} \ No newline at end of file diff --git a/css/home.css b/css/home.css index 859720c..7dc37e7 100644 --- a/css/home.css +++ b/css/home.css @@ -49,6 +49,7 @@ section { font-family: Erika; margin: auto; margin-bottom: 100px; + columns: 560px; padding: 2%; } diff --git a/guide.template.html b/guide.template.html deleted file mode 100644 index 4be2ee5..0000000 --- a/guide.template.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -
- - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-