Files
voti-informatica-php/style.css

120 lines
2.1 KiB
CSS

:root{
--primary: #2c3e50;
--secondary: #3498db;
--accent: #ecf0f1;
}
body{
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
min-height: 100vh;
margin: 0;
padding: 20px;
}
body, input, button, select{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 16px;
}
#formAggiunta{
background-color: gainsboro;
width: fit-content;
margin-left: auto;
margin-right: auto;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
input, button, select{
border-radius: 8px;
border: 2px solid #bdc3c7;
padding: 10px 15px;
transition: all 0.3s ease;
}
input, select{
margin: 5px 0;
}
input[type="radio"]{
width: auto;
}
input:focus, select:focus{
outline: none;
border-color: var(--secondary);
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
button{
background-color: var(--secondary);
color: white;
border: none;
cursor: pointer;
font-weight: 600;
}
button:hover{
background-color: #2980b9;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
a{
color: #b7d6f6;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
}
a:hover{
color: #2980b9;
text-decoration: underline;
}
table{
background-color: gainsboro;
border-collapse: collapse;
width: 100%;
max-width: 1000px;
margin: 20px auto;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
th{
background-color: var(--secondary);
color: white;
padding: 15px;
text-align: left;
font-weight: 600;
}
td{
padding: 12px 15px;
border-bottom: 1px solid #bdc3c7;
}
tr:hover{
background-color: #dcdcdc;
transition: background-color 0.2s ease;
}
tr:last-child td{
border-bottom: none;
}
p{
text-align: center;
color: white;
font-size: 18px;
}
/*
label{
margin-right: 15px;
display: inline-flex;
align-items: center;
gap: 8px;
/*