189 lines
3.1 KiB
CSS
189 lines
3.1 KiB
CSS
@font-face {
|
|
font-family: 'ITC Machine Std Bold';
|
|
src: url('./assets/ITC Machine Std Bold.otf') format('opentype');
|
|
}
|
|
|
|
* {
|
|
/* box-sizing: content-box; */
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
|
|
font-family: 'ITC Machine Std Bold', sans-serif;
|
|
color: #bf360c;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Estilo base para los botones */
|
|
.button {
|
|
width: 100%;
|
|
padding: 0.5rem 1rem;
|
|
font-family: 'ITC Machine Std Bold', sans-serif;
|
|
font-size: 2rem;
|
|
border: none;
|
|
border-radius: 0.4rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
/* Estilo para el botón naranja */
|
|
.button-orange {
|
|
background-color: #ff5722;
|
|
}
|
|
|
|
/* Estilo para el botón naranja claro al pasar el cursor */
|
|
.button-orange:hover {
|
|
background-color: #e64a19;
|
|
}
|
|
|
|
/* Estilo para el botón naranja oscuro al hacer clic */
|
|
.button-orange:active {
|
|
background-color: #bf360c;
|
|
}
|
|
|
|
.avisoMsg {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: auto;
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.parpadea {
|
|
animation-name: parpadeo;
|
|
animation-duration: 2s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
-webkit-animation-name: parpadeo;
|
|
-webkit-animation-duration: 2s;
|
|
-webkit-animation-timing-function: linear;
|
|
-webkit-animation-iteration-count: infinite;
|
|
}
|
|
|
|
.parent {
|
|
height: 744px;
|
|
display: grid;
|
|
grid-template-columns: min-content min-content;
|
|
grid-template-rows: auto 328px 55px auto;
|
|
grid-column-gap: 4px;
|
|
}
|
|
.div1 {
|
|
grid-area: 1 / 1 / 2 / 3;
|
|
}
|
|
.div2 {
|
|
grid-area: 2 / 1 / 5 / 2;
|
|
width: 648px;
|
|
height: 648px;
|
|
border: 4px solid #2c5364;
|
|
border-radius: 10px;
|
|
}
|
|
.div3 {
|
|
grid-area: 2 / 2 / 3 / 3;
|
|
width: 328px;
|
|
height: 328px;
|
|
border: 4px solid #2c5364;
|
|
border-radius: 10px;
|
|
}
|
|
.div4 {
|
|
grid-area: 3 / 2 / 4 / 3;
|
|
display: flex;
|
|
padding: 0.2rem;
|
|
}
|
|
.div5 {
|
|
grid-area: 4 / 2 / 5 / 3;
|
|
border: 4px solid #2c5364;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
overflow-y: hidden;
|
|
}
|
|
#mapa {
|
|
width: 640px;
|
|
height: 640px;
|
|
background-color: #2c5364;
|
|
}
|
|
#minimapa {
|
|
width: 320px;
|
|
height: 320px;
|
|
flex-shrink: 0;
|
|
background-color: #2c5364;
|
|
}
|
|
#logchat {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0.1rem;
|
|
padding-right: 0.4rem;
|
|
font-family: 'roboto', sans-serif;
|
|
font-size: small;
|
|
font-weight: bold;
|
|
border-radius: 0.4rem;
|
|
background-color: transparent;
|
|
overflow-y: auto;
|
|
}
|
|
#logchat p {
|
|
margin: 0;
|
|
}
|
|
#chatinput {
|
|
font-family: 'roboto', sans-serif;
|
|
padding: 0.4rem;
|
|
font-weight: bold;
|
|
border-radius: 0 0 0.4rem 0.4rem;
|
|
background-color: transparent;
|
|
color: wheat;
|
|
outline: none;
|
|
}
|
|
|
|
@-moz-keyframes parpadeo {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes parpadeo {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes parpadeo {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|