-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
72 lines (55 loc) · 1.03 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
body {
font-family: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
margin: 0;
padding: 0;
}
h1 {
margin: 0;
font-weight: 500;
}
.header, .footer {
position: relative;
max-width: 100%;
padding: 15px;
box-shadow: 0px 0px 10px 0px;
/* visibility: hidden; */
}
.wrapper {
max-width: 100%;
position: relative;
/* For demo only */
padding: 30px;
margin: 30px auto;
}
.intro, .main-content, .other-content {
padding: 15px;
margin: 30px 0;
/* For demo only */
min-height: 27.5vh;
}
.intro {
background: #FF4848;
}
.main-content {
background: #5757FF;
}
.other-content {
background: #1FCB4A;
}
@media(min-width:992px) {
.wrapper {
padding: 0;
width: 960px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-gap: 30px;
}
.main-content {
grid-column: 2/3;
grid-row: 1/3;
}
.intro, .main-content, .other-content {
margin: 0;
}
}