forked from Ange1023/sistemasOp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
178 lines (164 loc) · 4.4 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f0f0f0;
justify-content: center;
align-items: center;
background: #ecf0f3;
--color1: rgb(147,32,32);
--color2: rgb(199,26,36);
}
.container {
max-width: 800px;
margin: 20px auto;
background-color: #f2f2f2;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 8px;
text-align: center;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.result-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden; /* Para ocultar el tfoot por defecto */
}
.result-table th, .result-table td {
border: 1px solid #ddd;
padding: 12px;
text-align: center;
transition: background-color 0.3s ease; /* Transición de color de fondo */
}
.result-table th {
background-color: #f2f2f2;
}
.result-table tbody tr:hover {
background-color: #f0f0f0; /* Color de fondo al hacer hover en las filas */
}
.result-table tfoot {
background-color: #f2f2f2;
}
.result-table tfoot td {
padding: 12px;
text-align: center;
font-weight: bold;
}
.result-table tfoot td:first-child {
text-align: right;
}
.footer {
text-align: center;
margin-top: 20px;
color: #666;
padding: 10px;
background-color: #f2f2f2;
border-top: 1px solid #ddd;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}
.button-container {
text-align: center;
margin-top: 20px;
}
button {
font-family: "Ga Maamli", sans-serif;
font-style: normal;
background: black;
border: none;
padding: 16px 32px;
color: azure;
font-size: 45px;
font-weight: bold;
position: relative;
border-radius: 12px;
display: inline-block;
width: 150px;
height: 150px;
background: #e5e5e5;
text-shadow: 2px 2px 3px var(--colo1);
color: var(--color2);
border-radius: 20px;
box-shadow: -10px -10px 15px #fff,
10px 10px 15px #c1c1c1,
inset 0px 0px 0px #fff,
inset 0px 0px 0px #c1c1c1;
cursor: pointer;
transition: all 300ms ease;
margin: 0 50px;
}
button:hover{
box-shadow: 0px 0px 0px #fff,
0px 0px 0px #c1c1c1,
inset -10px 10px 15px #fff,
inset 10px 10px 15px #c1c1c1;
color: var(--color1);
text-shadow: 0px 0px 0px var(--color1);
}
button:hover::before {
content: "";
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
background: linear-gradient(45deg, red, blue, deeppink, blue, red, blue, deeppink, blue);
background-size: 800%;
border-radius: 12px;
filter: blur(8px);
animation: glowing 20s linear infinite;
}
/* Estilo para el botón ganador */
.boton.ganador {
background-color: gold; /* Color de fondo dorado para la corona */
color: black; /* Color del texto para asegurar visibilidad */
font-weight: bold; /* Texto en negrita */
position: relative; /* Posición relativa para posicionar la corona */
}
/* Pseudo-elemento ::before para crear la corona */
.boton.ganador::before {
content: '';
position: absolute; /* Posición absoluta relativa al botón */
top: -20px; /* Ajusta la posición vertical de la corona */
left: calc(50% - 20px); /* Ajusta la posición horizontal para centrar */
border-bottom: 20px solid gold; /* Triángulo para la corona */
border-left: 20px solid transparent;
border-right: 20px solid transparent;
}
.form-control {
width: 100%; /* Opcional: Ajusta el ancho del input al 100% del contenedor */
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f8f9fa;
box-shadow: none;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
border-color: #4e73df;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}
@keyframes glowing {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
tbody{animation:scale-up-vertical-top 1s linear}
thead{animation:scale-up-vertical-top 1s linear}
@keyframes scale-up-vertical-top{0%{transform:scaleY(.4);transform-origin:center top}100%{transform:scaleY(1);transform-origin:center top}}