-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmi-phone.css
111 lines (109 loc) · 1.67 KB
/
mi-phone.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* 初始化设定 */
html {
font-size: calc(100vw / 414 * 100);
}
body {
margin: 0;
padding: 0;
width: 4.14rem;
}
* {
background-color: rgba(0,0,0,0.08);
box-shadow: inset 0 0 1px red;
box-sizing: border-box;
}
/* header */
header {
display: flex;
justify-content: space-evenly;
align-items: center;
width: 4.14rem;
/* position: fixed;
top: 0; */
}
.logo {
width: 0.29rem;
height: 0.29rem;
background-color: blueviolet;
}
.search {
width: 2.9rem;
height: 0.36rem;
}
.person {
width: 0.23rem;
height: 0.23rem;
}
/* nav */
nav {
width: 4.14rem;
height: 0.33rem;
display: flex;
justify-content: space-between;
justify-items: center;
position: fixed;
top: 0;
}
.nav-item {
text-align: center;
line-height: 0.4rem;
width: 0.73rem;
height: 0.33rem;
color: #747474;
font-size: 0.14rem;
}
.nav-item:hover {
border-bottom: 2px solid rgb(255, 105, 0);
}
.icon {
font-size: 0.14rem;
}
header {
position: static;
top: 0;
}
nav {
position: static;
top: 0.48rem;
}
.pic {
width: 4.14rem;
height: 2.07rem;
background-color: bisque;
margin: .25rem 0;
}
.imgs {
width: 4.14rem;
height: 1.77rem;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
align-content: space-between;
}
.imgs div {
width: .82rem;
height: .87rem;
border: 2px solid blue;
}
/* cells */
.cells {
margin-top: .1rem;
display: flex;
flex-wrap: wrap;
width: 4.14rem;
height: 2.92rem;
flex-direction: column;
overflow: hidden;
justify-content: space-between;
align-content: space-between;
}
.one {
flex-grow: 1;
width: 2.06rem;
height: 2.92rem;
}
.two {
width: 2.06rem;
height: 1.45rem;
}