-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
58 lines (50 loc) · 979 Bytes
/
styles.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
.bground {
max-width: 700px;
margin: auto;
background: #FFCDB2;
padding: 10px;
padding-bottom: 50px;
position: relative;
height: 100vh;
z-index:2;
}
body {
width:auto;
height:auto;
background: #FFB4A2;
}
/**
bg texture code from https://stackoverflow.com/questions/18105833/css-combine-texture-and-color
bg texture from https://www.toptal.com/designers/subtlepatterns/
may not work on older devices and should be hidden from mobile/small screens anyway
**/
body:after {
content : "";
display: block;
position: absolute;
top: 0;
left: 0;
background: url('https://www.toptal.com/designers/subtlepatterns/uploads/45degreee_fabric.png');
width: 100%;
height: 100%;
opacity: 0.5;
}
.centre {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
width: 50%;
}
.centre2 > *{
width:100%;
padding:5px;
}
.hidden {
display:none;
}
.box {
background: #B5838D;
padding: 10px;
margin-bottom: 10px;
}