-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
52 lines (52 loc) · 1.07 KB
/
main.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
html * { box-sizing: border-box; }
body { margin: 0; }
.main-container{
font-family: arial;
display: flex;
flex-flow: row wrap;
/*background-image: url("./xmas-bg.jpg");
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
background-position: right;*/
padding: 10px;
}
.main-container:before{
content: "";
display: block;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100vh;
z-index: -10;
background: url("./xmas-bg.jpg");
background-repeat: no-repeat;
background-position: right;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.member{
margin: 0 10px 10px 0;
padding: 10px;
background: rgba(0,0,0,0.7);
border-radius: 15px;
margin-bottom: 20px;
}
.member.full{
flex-basis: 95%;
}
.member.full span {
background: none;
}
.member .header { font-size: 20px; text-align: center; margin-bottom: 10px; color: white; }
.member span {
display: block;
background: rgba(211,211,211,0.5);
color: white;
margin-bottom: 10px;
padding: 3px;
border-radius: 7px;
}