-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
83 lines (71 loc) · 1.54 KB
/
style.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
79
80
81
82
83
body {
margin: 0 auto;
padding: 5em 10em;
max-width: 70%;
}
.grid {
/* Grid Fallback */
display: flex;
flex-wrap: wrap;
/* Supports Grid */
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
grid-auto-rows: minmax(100px, auto);
grid-gap: 1em;
padding-bottom: 50px;
}
.module {
/* Demo-Specific Styles */
background: rgba(255,255,255,1.0);
display: flex;
align-items: center;
justify-content: center;
height: 150px;
font-size: 1.2em;
color: grey;
font-family: 'Advent Pro', san-serif;
/* Flex Fallback */
margin-left: 5px;
margin-right: 5px;
flex: 1 1 200px;
}
.module:hover {
opacity: 0.2;
}
/* If Grid is supported, remove the margin we set for the fallback */
@supports (display: grid) {
.module {
margin: 0;
}
}
/* TEXT */
#title {
position: relative;
width: 50%;
padding: 5px;
padding-top: 20px;
padding-bottom: 25px;
z-index: 2;
}
h1 {
font-size: 1.2em;
color: black;
margin: 0.2em 0;
font-family: 'Advent Pro', san-serif;
}
p {
font-size: 0.8em;
color: black;
margin: 0.2em 0;
font-family: 'Open Sans', sans-serif;
}
/* BACKGROUND */
html {
width: 100%;
height: 100%;
background: #FFFFFF; /* Old browsers */
background: -moz-linear-gradient(top, #FFFFFF 0%, #FFFFFF 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #FFFFFF 0%, #FFFFFF 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
margin: 0;
}