-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
64 lines (63 loc) · 1.05 KB
/
main.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
* {
position: relative;
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.wrap {
max-width: 600px;
margin: 0 auto;
padding: 50px;
font-family: Helvetica, Arial;
}
.wrap > h1 {
font-size: 2.5em;
font-weight: bold;
color: rgba(0,0,0,0.7);
}
.wrap > h2 {
color: rgba(0,0,0,0.4);
font-size: 1.2em;
}
.wrap > .ill {
position: relative;
overflow: hidden;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
}
.wrap > .ill > img {
vertical-align: top;
width: 100%;
height: auto;
}
.wrap > address {
display: table;
width: 70%;
margin: 1.5em auto;
}
.wrap > address .item {
display: table-cell;
width: 33%;
padding: 0 5%;
opacity: 0.7;
}
.wrap > address img {
width: 100%;
height: auto;
}
.wrap > address .item:hover, .wrap > address .item:focus {
opacity: 1;
}
@media screen and (max-width: 600px) {
.wrap > h1 {
white-space: nowrap;
font-size: 7vw;
}
.wrap > h2 {
font-size: 4.5vw;
}
}