imagen-jekyll-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +168 -0
- data/README.md +176 -0
- data/_config.yml +47 -0
- data/_data/components.yml +18 -0
- data/_data/en.yml +109 -0
- data/_data/es.yml +162 -0
- data/_data/fixtures/grilla.yml +37 -0
- data/_data/forms/subir_imagen.yml +43 -0
- data/_data/full_width_components.yml +4 -0
- data/_data/layouts/about.yml +155 -0
- data/_data/layouts/code_of_conduct.yml +60 -0
- data/_data/layouts/imagen.yml +67 -0
- data/_data/layouts/license.yml +60 -0
- data/_data/layouts/menu.yml +72 -0
- data/_data/layouts/post.yml +100 -0
- data/_data/layouts/privacy_policy.yml +60 -0
- data/_data/layouts/theme.yml +293 -0
- data/_data/manifest.json +14535 -0
- data/_data/schema.yml +9 -0
- data/_data/sutty.yml +6 -0
- data/_data/theme.yml +173 -0
- data/_includes/boolean.html +38 -0
- data/_includes/buttons/button.html +9 -0
- data/_includes/buttons/copy.html +28 -0
- data/_includes/buttons/generic.html +15 -0
- data/_includes/buttons/link.html +14 -0
- data/_includes/contact.html +17 -0
- data/_includes/content.html +9 -0
- data/_includes/descriptor.html +18 -0
- data/_includes/device_detector.html +30 -0
- data/_includes/email.html +9 -0
- data/_includes/embed_responsive.html +16 -0
- data/_includes/file.html +43 -0
- data/_includes/floating_alert.html +6 -0
- data/_includes/footer.html +5 -0
- data/_includes/form/boolean.html +1 -0
- data/_includes/form/content.html +1 -0
- data/_includes/form/email.html +1 -0
- data/_includes/form/file.html +1 -0
- data/_includes/form/hidden.html +1 -0
- data/_includes/form/image.html +1 -0
- data/_includes/form/input.html +1 -0
- data/_includes/form/markdown_content.html +1 -0
- data/_includes/form/number.html +1 -0
- data/_includes/form/predefined_array.html +1 -0
- data/_includes/form/section.html +1 -0
- data/_includes/form/separator.html +1 -0
- data/_includes/form/string.html +1 -0
- data/_includes/form/submit.html +1 -0
- data/_includes/form/tel.html +1 -0
- data/_includes/form/text.html +1 -0
- data/_includes/form/url.html +1 -0
- data/_includes/grilla.html +21 -0
- data/_includes/headings/generic.html +14 -0
- data/_includes/headings/h1.html +9 -0
- data/_includes/headings/h2.html +9 -0
- data/_includes/headings/h3.html +9 -0
- data/_includes/headings/with_link.html +15 -0
- data/_includes/hidden.html +5 -0
- data/_includes/image.html +57 -0
- data/_includes/imagen.html +13 -0
- data/_includes/imagen_enviada.html +6 -0
- data/_includes/imagen_enviada_error.html +9 -0
- data/_includes/imagen_grilla.html +31 -0
- data/_includes/input.html +61 -0
- data/_includes/item.html +38 -0
- data/_includes/logo.html +12 -0
- data/_includes/markdown_content.html +9 -0
- data/_includes/menu.html +69 -0
- data/_includes/notification.html +5 -0
- data/_includes/number.html +9 -0
- data/_includes/pack.html +10 -0
- data/_includes/password.html +10 -0
- data/_includes/picture.html +25 -0
- data/_includes/predefined_array.html +47 -0
- data/_includes/preload_font.html +1 -0
- data/_includes/question_mark_button.html +6 -0
- data/_includes/script.html +5 -0
- data/_includes/search.html +25 -0
- data/_includes/section.html +1 -0
- data/_includes/send_message.html +6 -0
- data/_includes/separator.html +1 -0
- data/_includes/share.html +22 -0
- data/_includes/share_box.html +31 -0
- data/_includes/stretched_link.html +15 -0
- data/_includes/string.html +12 -0
- data/_includes/subir_imagen.html +29 -0
- data/_includes/submit.html +18 -0
- data/_includes/svg/arrow-left.svg +29 -0
- data/_includes/svg/check.svg +1 -0
- data/_includes/svg/copy-icon.svg +1 -0
- data/_includes/svg/done-icon.svg +1 -0
- data/_includes/svg/location.svg +13 -0
- data/_includes/svg/menu.svg +8 -0
- data/_includes/svg/photo.svg +7 -0
- data/_includes/svg/signo-pregunta.svg +16 -0
- data/_includes/svg/x.svg +3 -0
- data/_includes/tel.html +9 -0
- data/_includes/text.html +40 -0
- data/_includes/theme/blue_button.html +1 -0
- data/_includes/theme/button_with_copy.html +1 -0
- data/_includes/theme/button_with_link.html +5 -0
- data/_includes/theme/buttons.html +33 -0
- data/_includes/theme/colors.html +14 -0
- data/_includes/theme/content.html +41 -0
- data/_includes/theme/descriptor.html +1 -0
- data/_includes/theme/embed_responsive.html +10 -0
- data/_includes/theme/font_sizes.html +18 -0
- data/_includes/theme/footer.html +1 -0
- data/_includes/theme/grilla.html +3 -0
- data/_includes/theme/imagen.html +8 -0
- data/_includes/theme/imagen_enviada.html +5 -0
- data/_includes/theme/imagen_enviada_error.html +7 -0
- data/_includes/theme/imagen_grilla.html +8 -0
- data/_includes/theme/letter_spacing.html +3 -0
- data/_includes/theme/menu.html +1 -0
- data/_includes/theme/picture.html +5 -0
- data/_includes/theme/question.html +2 -0
- data/_includes/theme/subir_imagen.html +1 -0
- data/_includes/toggler/toggler.html +21 -0
- data/_includes/toggler/toggler_label.html +21 -0
- data/_includes/toggler/toggler_related.html +23 -0
- data/_includes/toggler.html +19 -0
- data/_includes/toggler_label.html +22 -0
- data/_includes/toggler_related.html +24 -0
- data/_includes/url.html +9 -0
- data/_layouts/ayuda.html +40 -0
- data/_layouts/code_of_conduct.html +45 -0
- data/_layouts/default.html +93 -0
- data/_layouts/home.html +49 -0
- data/_layouts/imagen.html +45 -0
- data/_layouts/imagen_enviada.html +17 -0
- data/_layouts/imagenes.html +21 -0
- data/_layouts/institucional.html +20 -0
- data/_layouts/license.html +45 -0
- data/_layouts/login.html +26 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +71 -0
- data/_layouts/privacy_policy.html +45 -0
- data/_layouts/subir_imagen.html +19 -0
- data/_layouts/theme.html +60 -0
- data/_sass/accessibility.scss +46 -0
- data/_sass/content.scss +28 -0
- data/_sass/editor.scss +17 -0
- data/_sass/embed.scss +13 -0
- data/_sass/floating_alert.scss +48 -0
- data/_sass/fonts.scss +36 -0
- data/_sass/menu.scss +36 -0
- data/_sass/share_box.scss +26 -0
- data/_sass/snap.scss +60 -0
- data/_sass/toggler.scss +20 -0
- data/_sass/utilities.scss +531 -0
- data/assets/css/styles.scss +39 -0
- data/assets/data/site.json +10 -0
- data/assets/fonts/Helvetica.woff2 +0 -0
- data/assets/fonts/forkawesome-webfont.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1MmgWxP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q-subset.woff2 +0 -0
- data/assets/js/env.js +8 -0
- data/assets/js/pack.5JQIOXYX.js +48 -0
- data/assets/js/pack.5JQIOXYX.js.map +7 -0
- metadata +544 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
////
|
2
|
+
/// Alertas flotantes
|
3
|
+
/// @group Alertas flotantes
|
4
|
+
////
|
5
|
+
|
6
|
+
/// Posiciones posibles
|
7
|
+
$positions: (top, right, bottom, left);
|
8
|
+
|
9
|
+
/// Las alertas flotantes son notificaciones emergentes que desaparecen
|
10
|
+
/// por su cuenta, como los "Toast" de Android. Tienen opciones de
|
11
|
+
/// accesibilidad para que los lectores de pantalla también las
|
12
|
+
/// notifiquen.
|
13
|
+
/// @link _packs/controllers/notification_controller.js
|
14
|
+
/// @link _includes/floating_alert.html
|
15
|
+
/// @example html
|
16
|
+
/// <div class="floating-alert floating-alert-default floating-alert-bottom">
|
17
|
+
/// <div class="floating-alert-content"></div>
|
18
|
+
/// </div>
|
19
|
+
.floating-alert {
|
20
|
+
/// No se puede interactuar
|
21
|
+
@extend .pointer-event-none;
|
22
|
+
|
23
|
+
/// El estilo por defecto las coloca centradas y con una transición al
|
24
|
+
/// aparecer o desaparecer. Si no usamos esta clase podemos darle
|
25
|
+
/// nuestro propio estilo.
|
26
|
+
&.floating-alert-default {
|
27
|
+
@extend .d-flex;
|
28
|
+
@extend .justify-content-center;
|
29
|
+
@extend .w-100;
|
30
|
+
@extend .position-fixed;
|
31
|
+
@extend .fade;
|
32
|
+
@extend .hide;
|
33
|
+
}
|
34
|
+
|
35
|
+
@each $position in $positions {
|
36
|
+
/// Pueden tener una posición fija
|
37
|
+
&.floating-alert-#{$position} {
|
38
|
+
#{$position}: 2rem;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
/// Tienen un borde redondeado y un padding para parecerse a un toast.
|
43
|
+
/// El color de fondo se lo da una clase background-*
|
44
|
+
.floating-alert-content {
|
45
|
+
border-radius: 2rem;
|
46
|
+
padding: .5rem 1rem;
|
47
|
+
}
|
48
|
+
}
|
data/_sass/fonts.scss
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
// https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap
|
2
|
+
@font-face {
|
3
|
+
font-family: 'Roboto';
|
4
|
+
font-style: italic;
|
5
|
+
font-weight: 400;
|
6
|
+
font-display: swap;
|
7
|
+
src: url(../fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP-subset.woff2) format('woff2');
|
8
|
+
}
|
9
|
+
@font-face {
|
10
|
+
font-family: 'Roboto';
|
11
|
+
font-style: italic;
|
12
|
+
font-weight: 700;
|
13
|
+
font-display: swap;
|
14
|
+
src: url(../fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9-subset.woff2) format('woff2');
|
15
|
+
}
|
16
|
+
@font-face {
|
17
|
+
font-family: 'Roboto';
|
18
|
+
font-style: normal;
|
19
|
+
font-weight: 400;
|
20
|
+
font-display: swap;
|
21
|
+
src: url(../fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q-subset.woff2) format('woff2');
|
22
|
+
}
|
23
|
+
@font-face {
|
24
|
+
font-family: 'Roboto';
|
25
|
+
font-style: normal;
|
26
|
+
font-weight: 700;
|
27
|
+
font-display: swap;
|
28
|
+
src: url(../fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw-subset.woff2) format('woff2');
|
29
|
+
}
|
30
|
+
@font-face {
|
31
|
+
font-family: 'Helvetica';
|
32
|
+
font-style: normal;
|
33
|
+
font-weight: 400;
|
34
|
+
font-display: swap;
|
35
|
+
src: url(../fonts/Helvetica.woff2) format('woff2');
|
36
|
+
}
|
data/_sass/menu.scss
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
/// El menú hamburguesa se expande cuando obtiene el foco y se oculta
|
2
|
+
/// cuando lo pierde. Esto nos permite tener un menú dinámico sin
|
3
|
+
/// necesidad de JS.
|
4
|
+
///
|
5
|
+
/// @group Menú
|
6
|
+
/// @link _includes/menu.html
|
7
|
+
/// @todo En realidad el evento del foco está puesto en toda la navbar
|
8
|
+
/// en lugar de solo en el ícono de hamburguesa.
|
9
|
+
/// @example html
|
10
|
+
/// <nav class="navbar">
|
11
|
+
/// <button class="navbar-toggler">
|
12
|
+
/// <span class="navbar-toggler-icon"></span>
|
13
|
+
/// </button>
|
14
|
+
///
|
15
|
+
/// <div class="collapse navbar-collapse" id="menu"></div>
|
16
|
+
/// </nav>
|
17
|
+
.navbar {
|
18
|
+
&:focus-within {
|
19
|
+
.navbar-collapse {
|
20
|
+
@extend .d-block;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.dropdown {
|
25
|
+
.dropdown-menu {
|
26
|
+
@extend .d-none;
|
27
|
+
}
|
28
|
+
|
29
|
+
&:hover,
|
30
|
+
&:focus-within {
|
31
|
+
.dropdown-menu {
|
32
|
+
@extend .d-block;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
input[type="checkbox"].toggler {
|
2
|
+
&:focus + label {
|
3
|
+
outline: none;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
|
7
|
+
.share-box {
|
8
|
+
position: fixed;
|
9
|
+
top: 0;
|
10
|
+
left: 0;
|
11
|
+
width: 100vw;
|
12
|
+
height: 100vh;
|
13
|
+
background-color: rgba(0,0,0,.5);
|
14
|
+
|
15
|
+
@include vendor-prefix(transition, all 0.2s $bezier);
|
16
|
+
|
17
|
+
a {
|
18
|
+
border: $border-width solid transparent;
|
19
|
+
|
20
|
+
&:focus,
|
21
|
+
&:hover {
|
22
|
+
text-decoration: none;
|
23
|
+
border: $border-width solid $border-color;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
data/_sass/snap.scss
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
////
|
2
|
+
/// @group Snap
|
3
|
+
////
|
4
|
+
|
5
|
+
/// _Snap_ es una forma de hacer que los elementos se alineen
|
6
|
+
/// automáticamente a partes de su contenedor durante el _scroll_. Si le
|
7
|
+
/// usuarie _scrollea_ hasta la mitad, el navegador continua el _scroll_
|
8
|
+
/// hasta que se alinee. Es útil para presentaciones de diapositivas
|
9
|
+
/// (como el sitio de Sutty) o _banners_ con navegación horizontal
|
10
|
+
/// (_sliders_).
|
11
|
+
///
|
12
|
+
/// @link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scroll_Snap
|
13
|
+
$snap-types: (none, mandatory, proximity);
|
14
|
+
/// Ejes
|
15
|
+
$snap-directions: (y, x);
|
16
|
+
/// Puntos de alineación
|
17
|
+
$snap-points: (start, end, center, none);
|
18
|
+
|
19
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
20
|
+
@include media-breakpoint-up($breakpoint) {
|
21
|
+
/// Obtiene el sufijo para cada clase responsive usando mixins de
|
22
|
+
/// Bootstrap. Valores posibles:
|
23
|
+
/// `""` (nada, aplica a todas las resoluciones), `-xs`, `-sm`,
|
24
|
+
/// `-md`, `-lg`, `-xl`.
|
25
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
26
|
+
|
27
|
+
@each $snap-type in $snap-types {
|
28
|
+
@each $snap-direction in $snap-directions {
|
29
|
+
/// El contenedor indica la dirección y obligatoriedad del snap
|
30
|
+
///
|
31
|
+
/// @example html
|
32
|
+
/// <div class="snap-mandatory-y snap-proximity-md-y"></div>
|
33
|
+
.snap-#{$snap-type}#{$infix}-#{$snap-direction} {
|
34
|
+
scroll-snap-points-#{$snap-direction}: repeat(100%);
|
35
|
+
scroll-snap-destination: 0 0;
|
36
|
+
|
37
|
+
@each $prefix in $vendor-prefixes {
|
38
|
+
#{$prefix}scroll-snap-type: #{$snap-direction} #{$snap-type};
|
39
|
+
#{$prefix}scroll-snap-type: #{$snap-type};
|
40
|
+
}
|
41
|
+
|
42
|
+
@each $snap-point in $snap-points {
|
43
|
+
/// Los elementos que son descendientes directos se alinean a
|
44
|
+
/// su contenedor
|
45
|
+
///
|
46
|
+
/// @example html
|
47
|
+
/// <div class="snap-mandatory-y snap-proximity-md-y">
|
48
|
+
/// <div class="snap-start"></div>
|
49
|
+
/// <div class="snap-center"></div>
|
50
|
+
/// <div class="snap-end"></div>
|
51
|
+
/// </div>
|
52
|
+
& > .snap-#{$snap-point} {
|
53
|
+
scroll-snap-align: #{$snap-point};
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
data/_sass/toggler.scss
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
////
|
2
|
+
/// @group Toggler
|
3
|
+
////
|
4
|
+
|
5
|
+
/// Desplegar menúes sin javascript!
|
6
|
+
///
|
7
|
+
/// Comenzamos con un `<input type="checkbox"/>` con la clase
|
8
|
+
/// `.toggler`.
|
9
|
+
///
|
10
|
+
/// @link https://dev.to/cydstumpel/creating-a-fold-out-navigation-with-css-only-4g9k
|
11
|
+
/// @see toggler.html
|
12
|
+
.toggler {
|
13
|
+
& + .toggled {
|
14
|
+
visibility: hidden;
|
15
|
+
}
|
16
|
+
|
17
|
+
&:checked + .toggled {
|
18
|
+
visibility: visible;
|
19
|
+
}
|
20
|
+
}
|