-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathturma.css
65 lines (50 loc) · 1.04 KB
/
turma.css
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
/* turma.css */
body { font-family: 'Merriweather', serif; }
/* para o nome do aluno */
.nome {
font-weight: 700;
font-size: 1.6em;
}
/* para o numero do aluno */
.numero {
font-weight: 300;
font-size: 1.2em;
}
/* aplicar a Técnica da FlexBox para o Layout */
ul {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
li {
/*width: 30%; ver Media Queries */
display: flex;
align-items: center;
margin-bottom: 40px;
}
.foto { margin-right: 32px; }
.nome { display: block;}
/*
.numero { display: none; }
.info:hover .numero { display: inline;}
*/
/* Efeito do Redondo na Imagem */
/* img { border-radius: 50%;} */
.foto {
width: 139px;
height: 140px;
overflow: hidden;
display: flex;
align-items: center;
border-radius: 50%;
}
/* Media Queries para testar a Responsividade */
@media ( max-width:1200px ) {
li { width: 45%; }
}
@media ( max-width: 700px ) {
li { width:100%; }
}
@media ( min-width: 1201px) {
li { width: 30%; }
}