-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.css
78 lines (72 loc) · 1.22 KB
/
demo.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
/*main container*/
.container {
display: flex;
flex-direction: column;
flex-wrap:wrap;
justify-content:space-around;
}
.summary {
display: flex;
flex-direction: column;
background-color: lightgrey;
color:black;
height:auto;
width:100%;
margin-bottom: 15px;
padding:10px;
position: sticky;
justify-content:space-around;
z-index: 1000;
}
/*content div*/
.items {
display: flex;
flex-direction: row;
flex-wrap:wrap;
justify-content:flex-start;
margin-left:auto;
margin-right:auto;
width:89%;
}
@media all and (max-width: 1024px) {
.items {
display: flex;
flex-direction: column;
justify-content:space-around;
margin-left:auto;
margin-right:auto;
width:92%;
}
}
.pictureFigure {
display:flex;
flex-direction: column;
align-items: center;
border: solid 1px #141414;
width:25%;
margin-top:10px;
margin-left:1%;
padding:1vw;
}
/*image itself*/
.imageContainer {
width:90%;
margin:auto;
}
@media all and (max-width: 1090px) {
.items {
justify-content: center;
}
.pictureFigure {
display:flex;
flex-direction: column;
border: solid 1px #141414;
width:97%;
max-height:100%;
margin-top:10px;
margin-left:auto;
margin-right:auto;
padding:2vw;
}
}
body {background-color: black;color:white;}