-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
75 lines (74 loc) · 1.25 KB
/
responsive.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
/**********
Mobile
**********/
@media screen and (max-width: 434px) {
.head_icon {
margin: 12px 5px 10px 0;
float: left;
width: 10%;
}
.head_title {
float: left;
}
.head_name {
font-size: 1.5em;
}
.head_desc {
font-size: .75em;
margin-bottom: 10px;
}
.ft_title {
margin: 0 auto;
width: 100%;
text-align: center;
font-size: 1.5em;
}
hr {
height: 2px;
}
.feat_work {
flex-flow: column;
}
.feat_work p {
font-size: 1.35em;
}
.feat_work div {
margin: 20px auto 5px;
}
}
/**********
Tablet/Medium
**********/
@media screen and (min-width: 420px) and (max-width: 849px) {
.ft_title {
text-align: center;
}
.feat_work div {
flex: 1 33.3333%;
padding: 10px 0;
margin: 10px;
}
.feat_work {
flex-flow: row wrap;
}
.feat_work p {
font-size: 4.5vw;
}
}
/**********
Desktop/Large
**********/
@media screen and (min-width: 850px) {
body {
max-width: 900px;
margin: 0 auto;
height: 100vh;
}
.cat{
order: 1;
margin: 0 25px;
}
.feat_work a {
font-size: .85em;
}
}