-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmain.css
More file actions
79 lines (70 loc) · 1.32 KB
/
main.css
File metadata and controls
79 lines (70 loc) · 1.32 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
body {
max-width: 960px;
margin: auto;
overflow-y: scroll;
}
.header {
height: 280px;
background-position: center;
font-size: 40px;
font-weight: bolder;
display: flex;
align-items: center;
padding: 0 0 0 30px;
color: white;
}
.menu {
padding: 10px 0 10px 0;
}
.pageContent.withTiles {
display: flex;
flex-wrap: wrap;
}
.pageContent.withTiles > .contentTile {
margin: 10px;
cursor: pointer;
}
/* .contentTile {
padding: 20px;
height: 150px;
background-color: lightsalmon;
width: 200px;
margin: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
cursor: pointer;
} */
.popup {
display: none;
position: fixed;
background-color: lightgray;
}
@media only screen and (max-width: 550px) {
.popup {
left: 0;
right: 0;
top: 0;
bottom: 0;
transform: none;
}
}
@media only screen and (min-width: 550px) {
.popup {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 500px;
height: 400px;
}
}
@media only screen and (min-width: 900px) {
.popup {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 650px;
height: 400px;
}
}