-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (79 loc) · 1.69 KB
/
style.css
File metadata and controls
90 lines (79 loc) · 1.69 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
width: 90%;
margin: 50px auto;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.subjects-list {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 20px;
}
.subject {
display: flex;
flex-direction: column;
align-items: center;
width: 200px;
background-color: #e0e0e0;
padding: 10px;
border-radius: 8px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.subject img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
cursor: pointer; /* Aggiunto per far capire che l'immagine è cliccabile */
}
.subject-info {
text-align: center;
margin-top: 10px;
}
/* Nuovo stile per ogni campo informativo */
.subject-info div {
background-color: #ffffff; /* Colore di sfondo per ogni campo */
padding: 10px;
margin: 5px 0;
border-radius: 10px; /* Bordi arrotondati per ogni campo */
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Leggera ombra per separare visivamente */
}
.subject-info h3 {
margin: 0;
font-size: 1.2em;
}
.subject-info p {
margin: 5px 0;
font-size: 0.9em;
}
/* Stile per l'overlay */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: none; /* Nascondi di default */
justify-content: center;
align-items: center;
}
.overlay img {
max-width: 90%;
max-height: 90%;
object-fit: contain;
border-radius: 8px;
}