-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-v2.css
69 lines (61 loc) · 1.31 KB
/
style-v2.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
html {
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: 300;
line-height: 1.5;
color: black;
text-align: center;
}
/* - - - new tiles - - - */
.row {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: center;
}
.column {
display: flex;
flex: 1; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
}
.tile {
display: block;
flex: 1; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1;
}
.tile__content {
padding: 60px 20px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: blue;
background-size: 100% 100%;
background-repeat: no-repeat;
color: white;
border-top: 10px solid white;
border-right: 5px solid white;
border-bottom: 10px solid white;
border-left: 5px solid white;
}
@media (max-width: 991px) {
.row {
flex-direction: row;
}
}
.red {
background-image: url('img/red01.jpg');
background-size: 100%;
}
.bbyo {
background-image: url('img/bbyo01.jpg');
background-size: 100%;
background-position: center center;
}
/* - - - - - - - - - - - */
body {
margin: 1rem;
transition: all 460ms cubic-bezier(.842, -1.139, .135, 1.954);
}