forked from SimonezYT/fantacalcio-4h
Add initial implementation of Fantacalcio application
This commit is contained in:
Executable
+119
@@ -0,0 +1,119 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(135deg, #66b3ff 0%, #3a6ea5 100%);
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
gap: 24px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.squadre, .giocatori {
|
||||
background: rgba(255,255,255,0.98);
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
.squadre {
|
||||
width: 360px;
|
||||
}
|
||||
|
||||
.giocatori {
|
||||
flex: 1;
|
||||
max-width: 680px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #333;
|
||||
font-size: 22px;
|
||||
margin-bottom: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
button, .btn {
|
||||
background: linear-gradient(135deg, #ff6700 0%, #66b3ff 100%);
|
||||
color: white;
|
||||
border: 1px solid rgba(0, 0, 0);
|
||||
padding: 10px 16px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 6px 18px rgba(102,179,255,0.18);
|
||||
margin: 6px 6px 12px 0;
|
||||
display: inline-block;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
button:hover, .btn:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
select#elencoSquadre {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #c0c0c0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
#giocatoriSquadra, #elencoGiocatori {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.giocatore {
|
||||
cursor: pointer;
|
||||
padding: 12px 14px;
|
||||
border-radius: 8px;
|
||||
transition: all 0.3s ease;
|
||||
color: #333;
|
||||
background: linear-gradient(180deg, #ffffff 0%, #ebebeb 100%);
|
||||
border: 1px solid #c0c0c0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.giocatore:hover {
|
||||
background: linear-gradient(135deg, rgba(58,110,165,0.06) 0%, rgba(102,179,255,0.04) 100%);
|
||||
border-color: #3a6ea5;
|
||||
transform: translateX(4px);
|
||||
box-shadow: 0 2px 8px rgba(58,110,165,0.08);
|
||||
}
|
||||
|
||||
a > button {
|
||||
padding: 8px 14px;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 900px) {
|
||||
.container {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 16px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.squadre {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.giocatori {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user