Web de la acampada del 26S

Home con directo, comunicados y organización. HTML y CSS, sin JS.
Configuración de nginx, timer del directo y limpieza de EXIF.
This commit is contained in:
hacklab 2026-09-29 10:10:54 +02:00
commit f78773bb87
15 changed files with 1335 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; img-src 'self'; font-src 'self'; base-uri 'none'; form-action 'none'">
<meta name="referrer" content="no-referrer">
<title>Convocatoria 26S · Acampada 26S</title>
<meta name="description" content="Comunicados, directo y organización de la acampada del 26S en Madrid.">
<link rel="stylesheet" href="/css/main.css">
<link rel="preload" href="/fonts/anton.woff2" as="font" type="font/woff2" crossorigin>
</head>
<body>
<header class="w">
<p><a class="bt volver" href="/">Acampada 26S</a></p>
</header>
<main class="w">
<article>
<h1>Convocatoria 26S</h1>
<p><time datetime="2026-09-26">26.09.2026</time> <span class="borrador">Borrador</span></p>
<p>Texto de la convocatoria pendiente de aprobar en asamblea.</p>
<p>Lugar, hora y motivos van aquí.</p>
</article>
</main>
<footer class="w">
Textos CC BY-SA 4.0 · Código AGPL-3.0 · <a href="https://gitea.laenre.net/hacklab/26s" rel="noopener noreferrer">Fuente</a>
</footer>
</body>
</html>

View file

@ -0,0 +1,31 @@
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; img-src 'self'; font-src 'self'; base-uri 'none'; form-action 'none'">
<meta name="referrer" content="no-referrer">
<title>Primer día en la plaza · Acampada 26S</title>
<meta name="description" content="Comunicados, directo y organización de la acampada del 26S en Madrid.">
<link rel="stylesheet" href="/css/main.css">
<link rel="preload" href="/fonts/anton.woff2" as="font" type="font/woff2" crossorigin>
</head>
<body>
<header class="w">
<p><a class="bt volver" href="/">Acampada 26S</a></p>
</header>
<main class="w">
<article>
<h1>Primer día en la plaza</h1>
<p><time datetime="2026-09-27">27.09.2026</time> <span class="borrador">Borrador</span></p>
<p>Crónica de la primera jornada pendiente de aprobar en asamblea.</p>
<p>Las fotos se suben limpias de metadatos: <code>tools/limpia-img.sh</code>.</p>
</article>
</main>
<footer class="w">
Textos CC BY-SA 4.0 · Código AGPL-3.0 · <a href="https://gitea.laenre.net/hacklab/26s" rel="noopener noreferrer">Fuente</a>
</footer>
</body>
</html>

98
site/css/main.css Normal file
View file

@ -0,0 +1,98 @@
@font-face {
font-family: "Anton";
src: url("../fonts/anton.woff2") format("woff2");
font-display: swap;
}
:root {
--bg: #fff;
--fg: #000;
--acc: #ff1493;
--bd: 3px solid var(--fg);
--gap: 12px;
--tit: Impact, "Anton", "Arial Narrow", sans-serif;
--txt: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 17px/1.5 var(--txt);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.w { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .cuadro, .bt {
font-family: var(--tit);
font-weight: 400;
text-transform: uppercase;
letter-spacing: .01em;
line-height: 1.05;
}
h1 { font-size: clamp(48px, 11vw, 120px); margin: 24px 0 16px; }
h2 { font-size: 40px; margin: 48px 0 16px; border-bottom: var(--bd); padding-bottom: 6px; }
h3 { font-size: 26px; margin: 0 0 6px; }
/* cuadros y botones */
.cuadros, .botonera { display: grid; gap: var(--gap); padding: 0; margin: 0; list-style: none; }
.cuadros { grid-template-columns: repeat(3, 1fr); }
.botonera { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: var(--gap); }
.cuadro, .bt {
display: block;
border: var(--bd);
background: var(--bg);
text-decoration: none;
text-align: center;
transition: transform .12s, box-shadow .12s, background-color .12s;
}
.cuadro { font-size: 30px; padding: 28px 12px; }
.bt { font-size: 20px; padding: 12px; }
.volver { display: inline-block; margin-top: 24px; }
.cuadro:hover, .cuadro:focus-visible,
.bt:hover, .bt:focus-visible {
background: var(--acc);
transform: translateY(-4px);
box-shadow: 0 4px 0 var(--fg);
outline: none;
}
/* comunicados */
.lista { list-style: none; margin: 0; padding: 0; }
.lista > li { border-bottom: 1px solid var(--fg); padding: 20px 0; }
.lista a:hover, .lista a:focus-visible { color: var(--acc); }
time { font-family: var(--tit); font-size: 18px; }
.borrador { border: var(--bd); padding: 0 6px; font-family: var(--tit); font-size: 14px; }
article { max-width: 720px; }
article p { margin: 0 0 1em; }
code, pre {
font: 14px/1.4 ui-monospace, "DejaVu Sans Mono", monospace;
word-break: break-all;
}
pre { border: var(--bd); padding: 12px; white-space: pre-wrap; margin: 0 0 1em; }
footer { margin: 64px 0 24px; border-top: var(--bd); padding-top: 12px; font-size: 14px; }
@media (max-width: 640px) {
.cuadros { grid-template-columns: 1fr; }
h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
.cuadro, .bt { transition: none; }
.cuadro:hover, .cuadro:focus-visible,
.bt:hover, .bt:focus-visible { transform: none; }
}

93
site/fonts/OFL.txt Normal file
View file

@ -0,0 +1,93 @@
Copyright 2020 The Anton Project Authors (https://github.com/googlefonts/AntonFont.git)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

BIN
site/fonts/anton.woff2 Normal file

Binary file not shown.

71
site/index.html Normal file
View file

@ -0,0 +1,71 @@
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; img-src 'self'; font-src 'self'; base-uri 'none'; form-action 'none'">
<meta name="referrer" content="no-referrer">
<title>Acampada 26S</title>
<meta name="description" content="Comunicados, directo y organización de la acampada del 26S en Madrid.">
<link rel="stylesheet" href="/css/main.css">
<link rel="preload" href="/fonts/anton.woff2" as="font" type="font/woff2" crossorigin>
</head>
<body>
<header class="w">
<h1>Acampada 26S</h1>
<nav aria-label="Principal">
<ul class="cuadros">
<li><a class="cuadro" href="/c?type=feed">Directo</a></li>
<li><a class="cuadro" href="#comunicados">Comunicados</a></li>
<li><a class="cuadro" href="#organizate">Organízate</a></li>
</ul>
</nav>
<nav aria-label="Redes">
<ul class="botonera">
<li><a class="bt" href="/c">OASIS</a></li>
<li><a class="bt" href="https://t.me/CAMBIAR" rel="noopener noreferrer">Telegram</a></li>
<li><a class="bt" href="https://CAMBIAR/@acampada26s" rel="noopener noreferrer">Mastodon</a></li>
<li><a class="bt" href="https://www.instagram.com/CAMBIAR" rel="noopener noreferrer">Instagram</a></li>
<li><a class="bt" href="https://x.com/CAMBIAR" rel="noopener noreferrer">X</a></li>
</ul>
</nav>
</header>
<main class="w">
<!-- directo:inicio -->
<!-- directo:fin -->
<section id="comunicados">
<h2>Comunicados</h2>
<ol class="lista" reversed>
<li>
<time datetime="2026-09-27">27.09.2026</time> <span class="borrador">Borrador</span>
<h3><a href="/comunicados/2026-09-27-primer-dia.html">Primer día en la plaza</a></h3>
<p>Resumen de la primera jornada y de las asambleas convocadas.</p>
</li>
<li>
<time datetime="2026-09-26">26.09.2026</time> <span class="borrador">Borrador</span>
<h3><a href="/comunicados/2026-09-26-convocatoria.html">Convocatoria 26S</a></h3>
<p>Por qué acampamos, dónde y cómo sumarse.</p>
</li>
</ol>
</section>
<section id="organizate">
<h2>Organízate</h2>
<p>La acampada publica en su propio pub de <a href="/c">OASIS</a>, una red social libre sobre Secure Scuttlebutt. Sin servidores de empresa y sin cuentas que puedan cerrar desde fuera. Lo que se publica en la plaza aparece en <a href="/c?type=feed">Directo</a>.</p>
<h3>Entrar al pub</h3>
<ol>
<li>Instala OASIS en el ordenador o la APK en el móvil.</li>
<li>Abre OASIS, ve a <em>Invites</em> y pega este código:</li>
</ol>
<pre><code>acampada26s.net:8008:@CAMBIAR.ed25519~CAMBIAR</code></pre>
<p>A partir de ahí puedes leer, publicar y hablar con el resto de la acampada aunque esta web se caiga.</p>
</section>
</main>
<footer class="w">
Textos CC BY-SA 4.0 · Código AGPL-3.0 · <a href="https://gitea.laenre.net/hacklab/26s" rel="noopener noreferrer">Fuente</a>
</footer>
</body>
</html>