-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
150 lines (130 loc) · 2.77 KB
/
styles.css
File metadata and controls
150 lines (130 loc) · 2.77 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Corpo del sito */
body {
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
color: #333;
line-height: 1.6;
}
/* Header */
header {
background-color: #2a3d66;
color: white;
padding: 40px;
text-align: center;
border-bottom: 3px solid #fff;
}
header h1 {
font-size: 2.5em;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Sezioni di contenuto con 2 colonne */
.content-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-between;
padding: 20px;
}
.content-section {
padding: 20px;
flex: 1 1 calc(50% - 20px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
transition: transform 0.3s ease;
color: white;
}
/* Colori dei riquadri */
.section-blue {
background-color: #1f3c5e; /* Blu scuro */
}
.section-yellow {
background-color: #f1c40f; /* Giallo */
color: #333;
}
.section-green {
background-color: #27ae60; /* Verde */
}
.section-gray {
background-color: #7f8c8d; /* Grigio */
}
.content-section:hover {
transform: scale(1.05);
}
.content-section h2 {
margin-bottom: 15px;
font-size: 1.5em;
}
.content-section p {
font-size: 1.1em;
}
/* Footer */
footer {
background-color: #2a3d66;
color: white;
text-align: center;
padding: 20px;
margin-top: 30px;
}
/* Banner Cookie */
.cookie-banner {
background: rgba(0, 0, 0, 0.8);
padding: 15px;
position: fixed;
bottom: 20px;
left: 20px;
right: 20px;
border-radius: 10px;
display: none;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
z-index: 1000;
}
.cookie-banner p {
font-size: 1em;
color: #fff;
margin-right: 20px;
}
#accept-cookies {
background-color: #1a7fa7;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#accept-cookies:hover {
background-color: #003f5f;
}
/* Stile del bottone */
.button-container {
margin-top: 40px;
text-align: center;
}
.btn-go-to-page {
display: inline-block;
background-color: #005f73;
color: white;
padding: 12px 30px;
font-size: 16px;
font-weight: bold;
border-radius: 6px;
text-decoration: none;
transition: transform 0.3s ease, background-color 0.3s ease;
}
/* Hover effect: ingrandimento del bottone */
.btn-go-to-page:hover {
background-color: #008c94;
transform: scale(1.1);
}
.btn-go-to-page:active {
transform: scale(0.95);
}