-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (103 loc) · 2.41 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (103 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/* Importa un font da Google Fonts (esempio) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #f0f4ff; /* Colore di sfondo più chiaro */
font-family: 'Roboto', sans-serif; /* Font moderno */
}
.container {
width: 90%;
max-width: 700px;
background: white;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
padding: 30px;
}
.title {
text-align: center;
color: #4A90E2;
margin-bottom: 20px;
font-size: 1.8rem; /* Aumenta la dimensione del font */
}
.cols {
display: flex;
justify-content: space-between;
gap: 30px; /* Aumenta lo spazio tra le colonne */
}
.col {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px; /* Maggiore spaziatura tra gli elementi */
}
label {
display: flex;
align-items: center;
justify-content: flex-start;
font-weight: bold;
color: #333; /* Colore del testo */
}
input[type="text"],
input[type="date"] {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
transition: border-color 0.3s, box-shadow 0.3s; /* Aggiungi ombra */
}
input[type="text"]:focus,
input[type="date"]:focus {
border-color: #4A90E2;
outline: none;
box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); /* Ombra in focus */
}
.radio {
display: flex;
justify-content: center;
margin-top: 10px;
gap: 20px;
}
.radio > div {
display: flex;
align-items: center;
}
.radio > div label {
margin-left: 8px; /* Aggiungi spazio tra il radio e il testo */
}
.button-container {
display: flex;
align-items: center;
margin-top: 17.5%;
}
button {
width: 100%;
padding: 12px; /* Padding aumentato per il pulsante */
background-color: #4A90E2;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s; /* Aggiungi effetto di trasformazione */
}
button:hover {
background-color: #357ABD;
transform: scale(1.02); /* Leggero ingrandimento al passaggio del mouse */
}
.results {
margin-top: 5%;
text-align: center;
}
.cf {
font-size: 2rem;
color: #4A90E2; /* Colore del testo del risultato */
}