Añade página de bienvenida y de comprobación

- Añade nueva hoja de estilos (normalize.css) al tema básico.
- Activa la extensión de la página de bienvenida por defecto en el
   registro de extensiones.
- Añade traducciones en inglés y español para el contenido de la página
  de bienvenida.
- Incluye estilos CSS y recursos gráficos para el diseño y disposición
  de la página de bienvenida.
This commit is contained in:
Manuel Cillero 2025-08-02 11:20:39 +02:00
parent 7d7920237f
commit 3a3e3b810f
27 changed files with 1000 additions and 17 deletions

349
static/css/normalize.css vendored Normal file
View file

@ -0,0 +1,349 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

460
static/css/welcome.css Normal file
View file

@ -0,0 +1,460 @@
:root {
--bg-img: url('/img/welcome-header.jpg');
--bg-img-set: image-set(url('/img/welcome-header.avif') type('image/avif'), url('/img/welcome-header.webp') type('image/webp'), var(--bg-img) type('image/jpeg'));
--bg-img-sm: url('/img/welcome-header-sm.jpg');
--bg-img-sm-set: image-set(url('/img/welcome-header-sm.avif') type('image/avif'), url('/img/welcome-header-sm.webp') type('image/webp'), var(--bg-img-sm) type('image/jpeg'));
--bg-color: #8c5919;
--color: #1a202c;
--color-red: #fecaca;
--color-gray: #e4e4e7;
--color-link: #1e4eae;
--focus-outline: 2px solid var(--color-link);
--focus-outline-offset: 2px;
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
html {
min-height: 100%;
background-color: black;
}
body {
margin: auto;
position: relative;
min-height: 100%;
min-width: 350px;
background-color: var(--bg-color);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 1.125rem;
font-weight: 300;
color: var(--color);
line-height: 1.6;
}
header,
section {
position: relative;
text-align: center;
}
a {
color: currentColor;
text-decoration: underline;
transition: font-size 0.2s, text-decoration-color 0.2s;
}
a:focus-visible {
outline: var(--focus-outline);
outline-offset: var(--focus-outline-offset);
}
a:hover,
a:hover:visited {
text-decoration-color: var(--color-link);
}
#content {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#main-header {
display: flex;
flex-direction: column-reverse;
padding-bottom: 9rem;
max-width: 80rem;
width: 100%;
background-image: var(--bg-img-sm);
background-image: var(--bg-img-sm-set);
background-position: top center;
background-position-y: -1rem;
background-size: contain;
background-repeat: no-repeat;
}
#main-header header {
padding: 0;
background: none;
}
#header-title {
margin: 0 0 0 1.5rem;
text-align: left;
display: flex;
flex-direction: column;
box-sizing: border-box;
color: #dceefb;
padding: clamp(0rem, -5.4892rem + 23.4206vw, 9.5rem) 1rem 1rem;
font-size: clamp(1.5rem, 0.7231rem + 3.3149vw, 3.375rem);
font-style: italic;
font-weight: 600;
line-height: 110%;
text-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.3);
}
#header-title > span {
background: linear-gradient(180deg, #ddff95 30%, #ffb84b 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: clamp(2.25rem, 1.3177rem + 3.9779vw, 6.5rem);
font-style: normal;
font-weight: 700;
line-height: 110%;
text-shadow: none;
}
#header-image {
width: 100%;
text-align: right;
display: flex;
justify-content: flex-start;
}
#header-image #monster {
margin-right: 12rem;
margin-top: 1rem;
flex-shrink: 1;
}
@media (min-width: 64rem) {
#main-header {
background-image: var(--bg-img);
background-image: var(--bg-img-set);
}
#header-title {
padding: 1.2rem 2rem 2.6rem 2rem;
}
#header-image {
justify-content: flex-end;
}
}
#main-content {
height: auto;
margin-top: 1.6rem;
}
.content-body {
box-sizing: border-box;
max-width: 80rem;
}
.content-body:before,
.content-body:after {
content: '';
position: absolute;
left: 0;
right: 0;
background: linear-gradient(130deg, rgba(13, 44, 91, 0) 0%, #ddff95 77.4%);
margin: 0 -10.375rem;
filter: blur(2.75rem);
opacity: 0.8;
inset: 11.75rem;
z-index: 0;
}
.content-body:before {
top: -1rem;
}
.content-body:after {
bottom: -1rem;
}
@media (max-width: 48rem) {
.content-body {
margin-top: -9.8rem;
}
.content-body:before,
.content-body:after {
inset: unset;
}
}
@media (min-width: 64rem) {
#main-content {
margin-top: 0;
}
.content-body {
margin-top: -5.7rem;
}
}
#poweredby-button {
width: 100%;
margin: 0 auto 3rem;
z-index: 10;
}
#poweredby-link {
background: #7f1d1d;
background-image: linear-gradient(to bottom, rgba(255,0,0,0.8), rgba(255,255,255,0));
background-position: top left, center;
background-size: contain;
background-repeat: no-repeat;
border-radius: 0.75rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
font-size: 1.5rem;
line-height: 1.3;
text-decoration: none;
text-shadow: var(--shadow);
transition: transform 0.3s ease-in-out;
position: relative;
overflow: hidden;
min-width: 28.875rem;
min-height: 7.6875rem;
outline: none;
}
#poweredby-link::before {
content: '';
position: absolute;
top: -13.125rem;
left: -10rem;
height: 26.25rem;
width: 26.25rem;
background: linear-gradient(135deg, #ec7bae 50.41%, #9600b8 70.41%);
transform: rotate(45deg);
transition: transform 0.3s ease-in-out;
z-index: 5;
}
#poweredby-text {
display: flex;
flex-direction: column;
flex: 1;
transition: all 0.5s ease-in-out;
position: relative;
z-index: 10;
padding: 1rem 1.5rem;
text-align: left;
color: white;
text-shadow: 0 0.101125rem 0.2021875rem rgba(0, 0, 0, 0.25);
font-size: 1.65rem;
font-style: normal;
font-weight: 600;
line-height: 130.023%;
letter-spacing: 0.0075rem;
}
#poweredby-text strong {
font-size: 2.625rem;
font-weight: 600;
line-height: 130.023%;
letter-spacing: 0.013125rem;
}
#poweredby-link span {
position: absolute;
display: block;
pointer-events: none;
}
#poweredby-link span:nth-child(1) {
height: 8px;
width: 100%;
top: 0;
left: 0;
background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
transform: translateX(-100%);
animation: span1 8s linear infinite;
animation-delay: 1s;
}
@keyframes span1 {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
#poweredby-link span:nth-child(2) {
width: 8px;
height: 100%;
top: 0;
right: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
transform: translateY(100%);
animation: span2 4s linear infinite;
animation-delay: 5s;
}
@keyframes span2 {
0% {
transform: translateY(-100%);
}
100% {
transform: translateY(100%);
}
}
#poweredby-link span:nth-child(3) {
height: 8px;
width: 100%;
bottom: 0;
right: 0;
background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
transform: translateX(100%);
animation: span3 8s linear infinite;
animation-delay: 7s;
}
@keyframes span3 {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
#poweredby-link:hover {
transition: all .5s;
transform: rotate(-3deg) scale(1.1);
box-shadow: 0px 3px 5px rgba(0,0,0,.4);
}
#poweredby-link:hover span {
animation-play-state: paused;
}
@media (max-width: 48rem) {
#poweredby-link {
height: 6.25rem;
min-width: auto;
border-radius: 0;
}
#poweredby-text {
display: inline;
padding-top: .5rem;
}
}
@media (min-width: 48rem) {
#poweredby-button {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
max-width: 29.375rem;
margin-bottom: 0;
}
}
.content-text {
z-index: 1;
width: 100%;
display: flex;
flex-direction: column;
box-sizing: border-box;
align-items: center;
text-align: left;
font-size: 1.3125rem;
font-weight: 400;
line-height: 1.5;
margin-top: -6rem;
background: #fff;
margin-bottom: 0;
position: relative;
padding: 6rem 1.063rem 0.75rem;
overflow: hidden;
}
.content-text p {
width: 100%;
line-height: 150%;
font-weight: 400;
font-size: 1.45rem;
margin: 0 0 1.5rem;
}
@media (min-width: 48rem) {
.content-text {
font-size: 1.375rem;
line-height: 2rem;
padding-top: 7rem;
}
}
@media (min-width: 64rem) {
.content-text {
border-radius: 0.75rem;
box-shadow: var(--shadow);
max-width: 60rem;
margin: 0 auto 6rem;
padding-left: 4.5rem;
padding-right: 4.5rem;
}
}
.subcontent {
position: relative;
}
.subcontent h1 {
margin: 1em 0 .8em;
}
.subcontent h1 span {
display: inline-block;
padding: 10px 30px 14px;
margin: 0 0 0 20px;
background: white;
border: 5px solid;
border-radius: 30px;
box-shadow: 0 0 0 5px white, inset 0 0 0 5px white;
border-color: orangered;
transform: rotate(-3deg) translateY(-25%);
}
.subcontent h1:before {
content: "";
height: 5px;
position: absolute;
top: 50px;
left: -15%;
width: 130%;
z-index: -5;
background: orangered;
box-shadow: 0 0 0 5px white, 0 -10px 0 5px white;
transform: rotate(2deg) translateY(-50%);
transform-origin: top left;
}
.subcontent h1:after {
content: "";
height: 70rem;
position: absolute;
top: 42px;
left: -15%;
width: 130%;
z-index: -10;
background: var(--color-red);
transform: rotate(2deg);
}
#footer {
width: 100%;
background-color: black;
color: var(--color-gray);
font-size: 1.15rem;
font-weight: 300;
line-height: 100%;
display: flex;
justify-content: center;
z-index: 10;
}
#footer a:visited {
color: var(--color-gray);
}
.footer-logo {
max-height: 12.625rem;
}
.footer-logo svg {
width: 100%;
}
.footer-logo,
.footer-links,
.footer-inner {
display: flex;
justify-content: center;
width: 100%;
}
.footer-links {
gap: 1.875rem;
flex-wrap: wrap;
margin-top: 2rem;
}
.footer-inner {
max-width: 80rem;
display: flex;
flex-direction: column;
padding: 0 10.625rem 2rem;
}
@media (max-width: 48rem) {
.footer-logo {
display: none;
}
}
@media (max-width: 64rem) {
.footer-inner {
padding: 0 1rem 2rem;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB