-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (116 loc) · 3.29 KB
/
style.css
File metadata and controls
139 lines (116 loc) · 3.29 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
/* --- Daedalus Executive --- */
/* 1. IMPORT & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
:root {
--bg-color: #020617; /* Grigio-blu scuro corporate */
--card-color: #0F172A; /* Sfondo card, leggermente più chiaro */
--border-color: #1E293B; /* Colore dei bordi, sottile */
--text-primary: #F8FAFC; /* Bianco quasi puro per titoli */
--text-secondary: #94A3B8; /* Grigio chiaro per testo, alta leggibilità */
--accent-color: #2563EB; /* Blu vibrante per interazioni */
}
/* 2. GENERAL STYLES & RESET */
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-color);
color: var(--text-secondary);
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
color: var(--text-primary);
font-weight: 700;
}
/* 3. LAYOUT & SECTIONS */
.section {
padding: 5rem 0;
border-bottom: 1px solid var(--border-color);
}
.section:last-of-type {
border-bottom: none;
}
/* 4. COMPONENTS */
/* Navbar */
.navbar {
background-color: rgba(2, 6, 23, 0.8);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
}
/* Hero Section */
.hero-section {
padding: 6rem 0;
text-align: center;
}
.hero-section .lead {
max-width: 700px; /* Limita la larghezza per migliore leggibilità */
margin: 1.5rem auto 0 auto;
}
/* Channel Cards */
.channel-card {
background-color: var(--card-color);
border: 1px solid var(--border-color);
border-radius: 0.75rem;
padding: 2rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
height: 100%; /* Fondamentale per altezza uniforme */
display: flex; /* Abilita Flexbox */
flex-direction: column; /* Dispone gli elementi in colonna */
text-align: center; /* *** CORREZIONE: Centra tutto il testo *** */
}
.channel-card .card-content {
flex-grow: 1; /* Fa in modo che questo contenitore occupi tutto lo spazio disponibile */
display: flex;
flex-direction: column;
justify-content: center; /* *** CORREZIONE: Centra verticalmente icona e titolo *** */
}
.channel-card .icon {
font-size: 2.25rem;
color: var(--accent-color);
margin-bottom: 1.5rem;
}
.channel-card h5 {
color: var(--text-primary);
font-weight: 600;
}
.channel-card .card-buttons {
margin-top: 1.5rem; /* Spazio sopra i bottoni */
}
.channel-card .btn {
width: 110px; /* *** CORREZIONE: Imposta una larghezza fissa per entrambi i bottoni *** */
margin: 0.25rem;
}
.channel-card:hover {
border-color: var(--accent-color);
box-shadow: 0 0 20px rgba(37, 99, 235, 0.15); /* Bagliore elegante */
}
/* Footer */
footer {
padding: 5rem 0;
text-align: center;
}
footer .copyright {
margin-top: 4rem;
font-size: 0.9rem;
opacity: 0.6;
}
/* Buttons */
.btn-primary {
background-color: var(--accent-color);
border-color: var(--accent-color);
font-weight: 600;
padding: 0.5rem 1rem;
transition: opacity 0.2s ease;
}
.btn-primary:hover {
opacity: 0.85;
}
.btn-outline-light {
border-color: var(--border-color);
color: var(--text-secondary);
padding: 0.5rem 1rem;
}
.btn-outline-light:hover {
background-color: var(--card-color);
border-color: var(--card-color);
color: var(--text-primary);
}