-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmhw3.css
More file actions
150 lines (129 loc) · 2.49 KB
/
Copy pathmhw3.css
File metadata and controls
150 lines (129 loc) · 2.49 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
body {
margin: 0;
background-color: rgba(0, 0, 0, 0.3);
}
header {
background-image: url("header-cover.jpg");
background-size: cover;
background-repeat: no-repeat;
height: 40vh;
color: white;
position: relative;
font-family: 'IBM Plex Sans', sans-serif;
margin-bottom: 30px;
}
#overlay {
position: absolute;
background-color: rgba(255, 255, 255, 0.1);
z-index: 2;
top: 0;
left: 0;
height: 40vh;
width: 100%;
}
nav {
display: flex;
align-items: center;
width: 100%;
justify-content: space-around;
height: 8vh;
position: relative;
top: 5px;
z-index: 3;
}
.flex-item {
background-color: rgba(200, 210, 255, 0.4);
padding: 3px 15px;
border: 2px solid rgb(177, 177, 177);
border-radius: 50px;
font-size: 2em;
}
.selected {
background-color: black;
}
.flex-item:hover{
cursor: pointer;
}
#menu {
display: none;
}
#intestazione {
display: flex;
align-items: center;
justify-content: center;
height: calc(40vh - 8vh);
font-weight: bold;
font-size: 5em;
}
.search {
display: flex;
justify-content: flex-end;
margin-right: 50px;
margin-bottom: 30px;
font-weight: bold;
}
h3 {
background-color: rgba(0, 0, 0, 0.2);
margin: 0;
}
section {
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.contenuto {
display: flex;
flex-direction: column;
height: fit-content;
max-width: 300px;
padding: 40px 40px;
margin-bottom: 30px;
background-color: rgb(80, 80, 80);
font-size: 1.5em;
}
.contenuto img {
width: 100%;
}
.titolo, .contenuto ol {
font-size: 0.7em;
}
span:hover {
cursor: default;
}
.hidden {
display: none;
}
footer {
display: flex;
height: 15vh;
width: 100%;
background-color: black;
color: whitesmoke;
align-items: center;
justify-content: center;
position: relative;
bottom: 0;
right: 0;
}
@media (max-width: 550px) {
article span {
font-size: 0.5em;
}
}
@media (max-width: 550px) {
.flex-item {
display: none;
}
#menu {
display: block;
position: absolute;
right: 10px;
}
#menu div {
width: 25px;
height: 3px;
background-color: white;
margin: 5px 0;
}
}