Andrew12121212 commited on
Commit
aac1b75
·
verified ·
1 Parent(s): 008124f

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +17 -5
static/style.css CHANGED
@@ -14,17 +14,25 @@ h2 {
14
  color: #20603d;
15
  }
16
 
 
 
 
 
 
 
 
 
 
17
  #tabla {
18
  border-collapse: separate;
19
  border-spacing: 0;
20
- margin: 32px auto 0 auto;
21
- width: 90%;
22
- max-width: 700px;
23
  background: #fff;
24
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
25
  border-radius: 12px;
26
  overflow: hidden;
27
  font-size: 15px;
 
 
28
  }
29
 
30
  #tabla th, #tabla td {
@@ -59,8 +67,6 @@ h2 {
59
  }
60
 
61
  #resumen {
62
- margin: 30px auto 0 auto;
63
- max-width: 700px;
64
  background: #fff;
65
  border-radius: 10px;
66
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
@@ -69,13 +75,19 @@ h2 {
69
  color: #20603d;
70
  min-height: 40px;
71
  transition: background 0.2s;
 
72
  }
73
 
74
  @media (max-width: 800px) {
 
 
 
 
75
  #tabla, #resumen {
76
  width: 98%;
77
  max-width: 98%;
78
  font-size: 14px;
 
79
  }
80
  h2 {
81
  font-size: 1.3em;
 
14
  color: #20603d;
15
  }
16
 
17
+ .container {
18
+ display: flex;
19
+ justify-content: center;
20
+ align-items: flex-start; /* Alinea arriba */
21
+ margin: 32px auto 0 auto;
22
+ width: 90%;
23
+ max-width: 1200px; /* Ajusta el ancho máximo */
24
+ }
25
+
26
  #tabla {
27
  border-collapse: separate;
28
  border-spacing: 0;
 
 
 
29
  background: #fff;
30
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
31
  border-radius: 12px;
32
  overflow: hidden;
33
  font-size: 15px;
34
+ width: 70%; /* Ocupa la mayor parte del espacio */
35
+ margin-right: 24px; /* Espacio entre tabla y resumen */
36
  }
37
 
38
  #tabla th, #tabla td {
 
67
  }
68
 
69
  #resumen {
 
 
70
  background: #fff;
71
  border-radius: 10px;
72
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
 
75
  color: #20603d;
76
  min-height: 40px;
77
  transition: background 0.2s;
78
+ width: 30%; /* Ajusta el ancho del resumen */
79
  }
80
 
81
  @media (max-width: 800px) {
82
+ .container {
83
+ flex-direction: column; /* Apila verticalmente en pantallas pequeñas */
84
+ align-items: center;
85
+ }
86
  #tabla, #resumen {
87
  width: 98%;
88
  max-width: 98%;
89
  font-size: 14px;
90
+ margin: 12px auto;
91
  }
92
  h2 {
93
  font-size: 1.3em;