-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
171 lines (154 loc) · 3.37 KB
/
index.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
* {
margin: 0;
}
html,
body {
height: 100%;
}
body {
text-align: center;
}
.container {
color: #fff;
background: rgb(54, 57, 59);
min-height: 100%;
display: flex;
flex-direction: column;
position: relative;
}
.head {
background: rgb(88, 191, 231);
line-height: 20px;
padding: 20px;
box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.3);
z-index: 1;
}
.main {
/* margin-left: 100px; */
flex: 1;
display: flex;
padding: 0 30px;
}
.nav {
position: absolute;
right: 10px;
width: 100px;
}
.navItem {
padding: 10px 20px;
background: rgb(19, 85, 82);
margin: 30px 0;
border-radius: 10px 0 10px 0;
}
.items {
color: #333;
flex-grow: 1;
background: #efefef;
border-radius: 0 0 10px 10px;
padding: 30px 80px;
display: flex;
flex-wrap: wrap;
justify-content: center;
/* align-items: flex-start; */
align-content: space-around;
}
.item {
/* padding: 50px; */
width: 300px;
height: 300px;
background: rgba(140, 184, 192, 0.336);
border-radius: 10px;
margin: 30px;
color: #fff;
font-size: 20px;
display: flex;
justify-content: center;
align-items: flex-end;
}
.foot {
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
.routerview {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 70%;
height: 90%;
margin: auto;
/* opacity: 0.8; */
background: rgba(173, 174, 175, 0.61);
/* color: #222; */
}
.close {
position: absolute;
right: 20px;
top: 20px;
font-size: 30px;
font-weight: bold;
z-index: 2;
}
a,
a:active,
a:hover,
a:visited {
color: #eee;
text-decoration: none;
}
a:hover {
color: #fff;
}
@media screen and (max-width:1024px) {}
@media screen and (max-width:768px) {}
@media screen and (max-width:480px) {
.main {
/* margin: 0 10px; */
padding: 0;
/* background: url() center/cover no-repeat */
}
.nav {
left: 0;
right: 0;
margin: auto;
width: 100%;
/* height: 40px; */
display: flex;
}
.navItem {
flex-grow: 1;
padding: 10px 0;
background: rgba(14, 68, 65, 0.856);
margin: 0;
border-radius: 0 0 10px 10px;
font-size: 12px;
}
.navItemt{
background: rgba(42, 46, 46, 0.856);
}
.items {
padding: 0;
width: 100%;
display: block;
}
.item {
width: 100%;
margin: 0;
border-radius: 0;
font-size: 20px;
box-shadow: 0 1px 5px 1px #ccc;
}
.foot {
height: 40px;
}
.routerview {
width: 100%;
height: 100%;
}
.close {
z-index: 2;
}
}