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

164 lines
2.9 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;
}
ul,
li {
list-style: square;
margin: 0;
margin-left: 0.8rem;
padding: 0;
}
li {
font-size: small;
color: wheat;
}
h1,
h2,
h3,
h4 {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
min-width: 800px;
margin: 0;
padding: 0;
}
body {
padding: 1rem;
background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
color: #bf360c;
font-family: 'ITC Machine Std Bold', sans-serif;
}
.container {
height: 100%;
display: flex;
flex-direction: row;
gap: 0.5rem;
}
.container_row,
.container_games {
display: flex;
height: 100%;
gap: 0.2rem;
border: 3px solid red;
padding: 0.4rem;
border: 4px solid #2c5364;
border-radius: 10px;
}
.container_col {
display: flex;
flex-direction: column;
gap: 0.4rem;
padding: 1rem;
width: 100%;
height: 100%;
border: 4px solid #2c5364;
border-radius: 10px;
}
.container_games {
max-height: 9rem;
min-height: 9rem;
padding: 1rem;
gap: 1rem;
align-items: center;
flex-wrap: wrap;
flex-grow: 1;
overflow-y: auto;
}
input[type='submit'],
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 */
}
input[type='submit']:hover,
button:hover {
background-color: #e64a19; /* Color de fondo naranja más oscuro al pasar el cursor */
}
input[type='submit']:active,
button:active {
background-color: #bf360c; /* Color de fondo naranja más oscuro al hacer clic */
}
.cardGame button {
padding: 0 0.4rem;
font-size: medium;
width: 100%;
border-radius: 4px;
}
.cardGame {
min-width: 140px;
width: 140px;
height: 80px;
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 10px;
background-color: #162930;
text-align: center;
align-items: center;
padding: 0.4rem;
font-size: small;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(0, 0, 0, 0.2);
}
#login-input,
#chatinput {
font-family: 'roboto', sans-serif;
padding: 0.4rem;
font-weight: bold;
border-radius: 0.4rem;
background-color: transparent;
color: wheat;
outline: none;
}
#logchat {
min-width: 15rem;
width: 100%;
max-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;
}
.broadcastMsg {
display: block;
text-align: right;
font-size: x-small;
color: #72d5ff;
}
.spanNickPropio {
color: #f8c51c;
}
.spanNick {
color: #87db18;
}
.spanNickOffline {
color: #2c5364;
}