-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (85 loc) · 1.51 KB
/
style.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
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
* {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
box-sizing: border-box;
color: black;
text-decoration: none;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
header {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
}
h1 {
font-size: 2rem;
font-weight: 600;
}
.atividades {
display: grid;
grid-template-columns: repeat(4, 2fr);
grid-auto-rows: 2fr;
padding: 50px;
gap: 80px;
}
.atvcard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: whitesmoke;
border-radius: 1rem;
transition: 0.2s;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.atvcard:hover {
transform: scale(1.1);
}
.atvcard img {
width: 100%;
overflow: hidden;
z-index: 2;
}
.atvcard img:hover, .atvcard img:focus {
filter: blur(0.8px);
}
.atvcard-text {
margin: 10px 0;
text-align: center;
}
.atvcard-text h2 {
font-size: 1.5rem;
font-weight: 500;
}
.atvcard-text p {
font-size: 0.8rem;
}
footer a {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@media screen and (max-width: 750px) {
header h1{
font-size: 1rem;
}
header h3{
font-size: 0.8rem;
}
.atividades{
grid-template-columns: repeat(1, 2fr);
grid-auto-rows: 4fr;
padding: 50px;
gap: 40px;
}
.atvcard img{
display: none;
}
}