-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.css
68 lines (56 loc) · 1 KB
/
example.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
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0;
padding: 0;
}
.header {
background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('https://source.unsplash.com/mNWsZDYUCFs/1500x1000');
background-size: cover;
}
.hero {
display: flex;
align-items: center;
justify-content: center;
height: 400px;
color: #ffffff;
}
.button {
padding: 10px 16px;
border-radius: 6px;
background-color: transparent;
border: 1px solid #cccccc;
}
.thumbnail {
padding: 4px;
line-height: 1.42857143;
border: 1px solid #ddd;
border-radius: 4px;
}
.text-center {
text-align: center;
}
.image {
display: block;
max-width: 100%;
height: auto;
}
.image--center {
margin-left: auto;
margin-right: auto;
}
.image--circle {
border-radius: 50%;
}
.footer {
height: 50px;
background-color: #404040;
margin-top: 30px;
}