-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
60 lines (49 loc) · 941 Bytes
/
index.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
html {
font-size: 100%;
}
article.visualisations {
section.items {
display: flex;
flex-direction: row;
flex-wrap: wrap;
div.item {
margin: 20px;
width: 210px;
height: 250px;
border: 1px solid darkgray;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: space-between;
align-items: center;
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
border-radius: 10px;
padding:4px;
img {
max-height: 200px;
max-width: 200px;
border-radius: 10%;
}
p {
text-align: center;
}
}
}
}
@media screen and (max-device-width: 1000px) {
html {
font-size:1.3rem;
}
article.visualisations {
section.items {
div.item {
width: 40%;
height: 300px;
p {
font-size: 1.5rem;
}
}
}
}
}