-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (104 loc) · 1.81 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul,
ol {
list-style: none;
}
section.profile {
text-align: center;
}
section.profile .avatar {
width: 100px;
height: 100px;
border-radius: 50px;
margin-bottom: 16px;
margin-top: 16px;
}
section.profile .tags {
/* border: 1px solid red; */
background: #7bc7ac;
}
@media (max-width:425px){
section.profile .tags{
background: #5379fa;
max-width: 320px;
margin: 0 auto;
}
}
section.profile .tags span{
background: #ddd;
padding: 4px 8px;
display: inline-block;
margin: 0 10px;
}
section.summary {
text-align: center;
background: #ddd;
padding-top: 0.1px;
padding-bottom: 0.1px;
margin-top: 16px;
}
section.summary .tag1{
margin-top: 16px;
margin-bottom:16px;
}
section.summary .tag1 >span{
background: #666;
}
section.summary .tag3 {
display: none;
}
section.summary .tag3 span{
display: inline-block;
min-width: 20em;
}
@media (max-width:425px){
section.summary .tag1{
display: none;
}
section.summary .tag3{
display: block;
}
}
section.summary .tag2 {
margin:16px 0;
}
section.summary .tag2 >span{
background: #999;
}
section.album >h2{
text-align: center
}
section.album img{
max-width: 100%;
}
@media (min-width:1024px){
section.album ul{
min-width: 800px;
}
}
@media (max-width:425px){
section.album ul {
justify-content: center;
background: red;
}
}
@media (min-width:426px) and (max-width:768px){
section.album ul {
justify-content: center;
background: green;
}
}
section.album >ul{
margin: 0 auto;
display: flex;
flex-wrap: wrap;
max-width: 600px;
}
section.album >ul li{
width: 200px;
/* width:33.33% */
}