Battleship_Server/public/stylegame.css
2024-04-01 01:56:05 +02:00

115 lines
2.2 KiB
CSS

@font-face {
font-family: 'ITC Machine Std Bold';
src: url('./assets/ITC Machine Std Bold.otf') format('opentype');
}
* {
box-sizing: border-box;
min-width: 0;
}
h1,h2,h3,h4 {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
padding: 1rem;
background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
color: white;
font-family: 'ITC Machine Std Bold', sans-serif;
text-align: center;
}
#container {
height: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
#sub-container {
height: 648px;
display: flex;
flex-direction: column;
border: 4px solid #2c5364;
border-radius: 10px;
overflow: hidden;
}
#input-container {
display: flex;
padding: 1rem;
gap: 0.4rem;
max-width: fit-content;
flex-direction: column;
border: 4px solid #2c5364;
border-radius: 10px;
overflow: hidden;
}
/* Estilo del botón */
#input-container input[type="button"] {
padding: 0.5rem 1rem;
font-size: 1rem;
border: none;
border-radius: 0.4rem;
background-color: #ff5722; /* Color de fondo naranja */
color: white; /* Color del texto blanco */
cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
transition: background-color 0.3s ease; /* Transición suave al cambiar de color */
}
/* Estilo del botón al pasar el cursor */
#input-container input[type="button"]:hover {
background-color: #e64a19; /* Color de fondo naranja más oscuro al pasar el cursor */
}
/* Estilo del botón al hacer clic */
#input-container input[type="button"]:active {
background-color: #bf360c; /* Color de fondo naranja más oscuro al hacer clic */
}
#mapa {
width: 640px;
height: 640px;
background-color: #2c5364;
}
#minimapa {
width: 320px;
height: 320px;
flex-shrink: 0;
background-color: #2c5364;
}
#chat {
font-family: 'ITC Machine Std Bold', sans-serif;
resize: none;
width: 320px;
height: 100%;
background-color: transparent;
color: antiquewhite;
}
.basic-input{
font-family: 'ITC Machine Std Bold', sans-serif;
padding: 0.4rem;
font-size: larger;
border-radius: 0.4rem;
background-color: #2c5364;
color:wheat;
outline: none;
}