-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsame_style.css
More file actions
98 lines (88 loc) · 1.56 KB
/
Copy pathsame_style.css
File metadata and controls
98 lines (88 loc) · 1.56 KB
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
body, #wrap, #header, ul, #container{
margin: 0;
padding: 0;
}
#wrap, #container, #container{
margin-top: 40px;
}
.header-list, .content-list, .big-pic, .small-pic, #footer{
width: 1000px;
margin: 0 auto;
}
a{
text-decoration: none;
color: black;
}
ul{
list-style: none;
}
/* header */
.header-list{
display: flex;
justify-content: space-between;
}
.site-title{
font-size: 40px;
color: gray;
}
.site-link{
display: flex;
justify-content: space-around;
width: 100px;
}
.link-tag{
font-size: 25px;
width: 20px;
}
.list-item{
margin: 20px 0;
display: flex;
justify-content: space-between;
}
.item-a{
width: 100%;
}
.item{
padding: 3px 0;
text-align: center;
font-size: 18px;
background-color: rgba(169,169,169,.4);
}
.item-a:nth-child(-n+3){
border-right: 1px solid rgba(169,169,169,.8);
}
.item-a:hover{
background-color: rgb(100,100,100);
}
.item-bg{
background-color: rgba(169,169,169,.8);
}
/* footer */
#footer{
margin-top: 30px;
height: 60px;
background-color: rgba(169,169,169,.8);
letter-spacing: .3rem;
text-align: center;
line-height: 60px;
text-transform: uppercase;
}
@media(max-width:999px){
.header-list, .content-list, .big-pic, .small-pic, #footer{
width: auto;
margin: 0 auto;
}
.list-item{
display: block;
width: auto;
}
.item-a:nth-child(-n+3){
border: 0;
}
.item:hover{
background-color: rgb(100,100,100);
}
#footer{
margin-top: 20px;
}
}