forked from SimonezYT/fantacalcio-4h
Add initial implementation of Fantacalcio application
This commit is contained in:
Executable
+170
@@ -0,0 +1,170 @@
|
||||
* {
|
||||
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;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 60vw;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sinistra {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sinistra img {
|
||||
max-width: 100%;
|
||||
width: 300px;
|
||||
height: auto;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
||||
border: 4px solid white;
|
||||
margin-bottom: 20px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.sinistra img:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.sinistra button {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
background: linear-gradient(135deg, #ff6700 0%, #66b3ff 100%);
|
||||
color: white;
|
||||
border: 1px solid rgba(0, 0, 0);
|
||||
padding: 12px 30px;
|
||||
border-radius: 25px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 15px rgba(102,179,255,0.4);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.sinistra button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(102,179,255,0.6);
|
||||
}
|
||||
|
||||
.destra {
|
||||
width: 100%;
|
||||
background: white;
|
||||
padding: 40px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 15px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.destra h2 {
|
||||
font-size: 36px;
|
||||
color: #333;
|
||||
margin-bottom: 15px;
|
||||
border-bottom: 4px solid #3a6ea5;
|
||||
padding-bottom: 15px;
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.destra p {
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
background: #ebebeb;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #c0c0c0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.destra p:last-child {
|
||||
border-bottom: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 90%;
|
||||
max-width: 900px;
|
||||
margin: 30px auto;
|
||||
border-collapse: collapse;
|
||||
background: white;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
table th {
|
||||
background: linear-gradient(135deg, #66b3ff 0%, #3a6ea5 100%);
|
||||
color: white;
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
table tr:hover {
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.destra {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.destra h2 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.destra p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
padding: 12px 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 32px;
|
||||
text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
Reference in New Issue
Block a user