holygrail5 1.0.13 → 1.0.15

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.
package/README.md CHANGED
@@ -115,7 +115,7 @@ holygrail5/
115
115
  │ ├── assets/ # Assets estáticos (imágenes)
116
116
  │ │ ├── intro.jpg
117
117
  │ │ ├── introm.jpg
118
- │ │ └── margenes.webp
118
+ │ │ └── margen.webp
119
119
  │ │
120
120
  │ ├── build/ # Sistema de build modular
121
121
  │ │ ├── asset-manager.js # Gestión de assets
@@ -248,7 +248,7 @@ Puedes configurar qué archivos CSS e imágenes se copian a `dist/` agregando un
248
248
  "dest": "dist/assets/intro.jpg"
249
249
  },
250
250
  {
251
- "source": "src/assets/margenes.webp",
251
+ "source": "src/assets/margen.webp",
252
252
  "dest": "dist/assets/margen.webp"
253
253
  }
254
254
  ]
package/config.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "dest": "dist/assets/introm.jpg"
26
26
  },
27
27
  {
28
- "source": "src/assets/margenes.webp",
28
+ "source": "src/assets/margen.webp",
29
29
  "dest": "dist/assets/margen.webp"
30
30
  }
31
31
  ]
@@ -42,7 +42,7 @@
42
42
  "primary": "#000000",
43
43
  "error": "#b40016",
44
44
  "info": "#1a32a4",
45
- "success": "#76ae4a",
45
+ "success": "#12882C",
46
46
  "warning": "#ffc700",
47
47
  "feel": "#fb9962",
48
48
  "feel-dark": "#c94c07",
Binary file
@@ -39,7 +39,6 @@ h2 {
39
39
  color: #000;
40
40
  font-family: "Instrument Sans", sans-serif;
41
41
  letter-spacing: 0;
42
- border-bottom: 1px solid var(--hg-color-primary);
43
42
  }
44
43
 
45
44
  .guide-main-content h3 {
@@ -52,9 +51,9 @@ h2 {
52
51
 
53
52
  @media (min-width: 768px) {
54
53
  .guide-main-content h2 {
55
- font-size: 88px;
56
- padding-bottom: 60px;
57
- margin-bottom: 60px;
54
+ font-size: 64px;
55
+ padding-bottom: 40px;
56
+ margin-bottom: 10px;
58
57
  }
59
58
 
60
59
  .guide-main-content h3 {
@@ -91,8 +90,9 @@ h2 {
91
90
 
92
91
  .guide-section-title {
93
92
  font-size: 1.5rem;
94
- font-weight: 700;
93
+ font-weight: 500;
95
94
  padding-bottom: 2rem;
95
+ line-height: 1.2;
96
96
  display: flex;
97
97
  justify-content: space-between;
98
98
  flex-direction: column;
@@ -111,19 +111,29 @@ h2 {
111
111
  font-size: 28px;
112
112
  color: #000000;
113
113
  font-family: "Instrument Sans", sans-serif;
114
+ margin-bottom: 20px;
114
115
 
115
116
  line-height: 1.2;
116
- margin-bottom: 1rem;
117
117
  width: 100%;
118
118
  margin-left: 0;
119
+ display: flex;
120
+ flex-direction: column;
121
+ justify-content: flex-end;
119
122
  }
120
123
 
121
- @media (min-width: 768px) {
122
- .guide-section-description {
123
- margin-bottom: 5rem;
124
- font-size: 48px;
125
- width: 50%;
126
- }
124
+ .guide-section-description {
125
+ margin-top: 1rem;
126
+ font-size: 28px;
127
+ color: #000000;
128
+ font-family: "Instrument Sans", sans-serif;
129
+ margin-bottom: 20px;
130
+
131
+ line-height: 1.2;
132
+ width: 100%;
133
+ margin-left: 0;
134
+ display: flex;
135
+ flex-direction: column;
136
+ justify-content: flex-end;
127
137
  }
128
138
 
129
139
 
@@ -173,6 +183,7 @@ h2 {
173
183
  border: 1px solid #000000;
174
184
  padding: 4px;
175
185
  border-radius: 8px;
186
+ width: max-content;
176
187
  }
177
188
 
178
189
  .guide-logo a {
@@ -385,6 +396,88 @@ h2 {
385
396
  font-weight: 600;
386
397
  }
387
398
 
399
+ /* Rectángulo de lados afectados (tabla spacing modernas) */
400
+ .guide-spacing-sides-box {
401
+ width: 32px;
402
+ height: 24px;
403
+ box-sizing: border-box;
404
+ border: 2px solid #e0e0e0;
405
+ background: #fafafa;
406
+ flex-shrink: 0;
407
+ }
408
+ .guide-spacing-sides-box.sides-inline {
409
+ border-left-color: var(--hg-color-info, #0170e9);
410
+ border-right-color: var(--hg-color-info, #0170e9);
411
+ border-left-width: 3px;
412
+ border-right-width: 3px;
413
+ }
414
+ .guide-spacing-sides-box.sides-block {
415
+ border-top-color: var(--hg-color-info, #0170e9);
416
+ border-bottom-color: var(--hg-color-info, #0170e9);
417
+ border-top-width: 3px;
418
+ border-bottom-width: 3px;
419
+ }
420
+ .guide-spacing-sides-box.sides-all {
421
+ border-color: var(--hg-color-info, #0170e9);
422
+ border-width: 3px;
423
+ }
424
+ .guide-spacing-sides-box.sides-top {
425
+ border-top-color: var(--hg-color-info, #0170e9);
426
+ border-top-width: 3px;
427
+ }
428
+ .guide-spacing-sides-box.sides-right {
429
+ border-right-color: var(--hg-color-info, #0170e9);
430
+ border-right-width: 3px;
431
+ }
432
+ .guide-spacing-sides-box.sides-bottom {
433
+ border-bottom-color: var(--hg-color-info, #0170e9);
434
+ border-bottom-width: 3px;
435
+ }
436
+ .guide-spacing-sides-box.sides-left {
437
+ border-left-color: var(--hg-color-info, #0170e9);
438
+ border-left-width: 3px;
439
+ }
440
+ .guide-spacing-sides-cell {
441
+ vertical-align: middle;
442
+ padding-right: 0.5rem;
443
+ }
444
+ .guide-spacing-sides-cell .guide-spacing-sides-box {
445
+ display: block;
446
+ }
447
+
448
+ /* Tabla horizontal compacta de equivalencias valor/rem/px (poco espacio vertical) */
449
+ .guide-spacing-compact-wrap {
450
+ overflow-x: auto;
451
+ margin: 0.25rem 0;
452
+ max-width: 100%;
453
+ }
454
+ .guide-table.guide-spacing-compact {
455
+ font-size: 0.7rem;
456
+ width: max-content;
457
+ min-width: 100%;
458
+ margin: 0;
459
+ }
460
+ .guide-table.guide-spacing-compact th,
461
+ .guide-table.guide-spacing-compact td {
462
+ padding: 0.2rem 0.35rem;
463
+ border: 1px solid #eee;
464
+ white-space: nowrap;
465
+ }
466
+ .guide-table.guide-spacing-compact thead th {
467
+ background: #f9f9f9;
468
+ font-weight: 600;
469
+ }
470
+ .guide-table.guide-spacing-compact .guide-spacing-compact-label {
471
+ font-weight: 600;
472
+ background: #fafafa;
473
+ color: #333;
474
+ }
475
+ .guide-spacing-compact-note {
476
+ margin: 0.25rem 0 0 0;
477
+ font-size: 0.75rem;
478
+ opacity: 0.85;
479
+ }
480
+
388
481
  /* ============================================
389
482
  TIPOGRAFÍA Y TEXTO
390
483
  ============================================ */
@@ -735,6 +828,22 @@ h2 {
735
828
  padding: 1.5rem 0;
736
829
  }
737
830
 
831
+ /* Dos columnas para la explicación de helpers de espaciado */
832
+ .guide-spacing-explanation-cols {
833
+ display: grid;
834
+ grid-template-columns: 1fr 1fr;
835
+ gap: 2rem;
836
+ margin-top: 0.5rem;
837
+ }
838
+ @media (max-width: 768px) {
839
+ .guide-spacing-explanation-cols {
840
+ grid-template-columns: 1fr;
841
+ }
842
+ }
843
+ .guide-spacing-explanation-col {
844
+ min-width: 0;
845
+ }
846
+
738
847
  .guide-info-box-title {
739
848
  margin: 0 0 1rem 0;
740
849
  font-size: 1.125rem;
@@ -1006,7 +1115,7 @@ h2 {
1006
1115
  }
1007
1116
 
1008
1117
  .demo-title {
1009
- font-size: var(--hg-typo-font-size-24);
1118
+ font-size: var(--hg-typo-font-size-12);
1010
1119
  font-weight: var(--hg-typo-font-weight-900);
1011
1120
  margin-block-end: var(--hg-spacing-24);
1012
1121
  padding-block-end: var(--hg-spacing-16);
@@ -1053,6 +1162,20 @@ h2 {
1053
1162
  background-repeat: no-repeat;
1054
1163
  position: relative;
1055
1164
  overflow: hidden;
1165
+ display: flex;
1166
+ align-items: center;
1167
+ justify-content: center;
1168
+ }
1169
+
1170
+ .case-study-holygrail-title {
1171
+ font-family: 'Roboto', sans-serif;
1172
+ font-size: clamp(2.5rem, 12vw, 8rem);
1173
+ font-weight: 100;
1174
+ letter-spacing: 0.2em;
1175
+ color: rgba(255, 255, 255, 0.92);
1176
+ text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
1177
+ text-align: center;
1178
+ line-height: 1.1;
1056
1179
  }
1057
1180
 
1058
1181
  @media (min-width: 768px) {