-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.css
87 lines (82 loc) · 1.24 KB
/
test.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
@media screen and (min-width: 481px){
body{
margin: 0px 350px;
width: 1280px;
background-color:#fff;
font-family:"Yu Gothic Medium";
}
header{
margin:30px;
height:80px;
}
header ul{
list-style: none;
position: relative;
top: 10px;
left: 100px;
font-size:30px;
}
header li{
display: inline-block;
margin-left: 20px;
}
header .container{
display: flex;
}
header h1{
font-size: 50px;
color:#000;
}
.main{
height: 600px;
padding: 0px 100px;
}
.contents img{
margin-left:5px;
margin-top: 5px;
vertical-align: bottom
}
.contents img:hover{
opacity: .5;
}
footer{
color:#000;
font-size:30px;
margin:30px;
}
#twiiterURL{
text-decoration: none;
}
}
@media screen and (max-width: 480px){
header{
margin:30px;
height:40px;
color: #000;
}
header .container{
display: flex;
}
header ul{
list-style: none;
position: relative;
top: 10px;
left: 10px;
}
header li{
display: inline-block;
}
.main .container{
display: flex;
flex-direction: column;
align-items: center;
}
.contents img{
margin-left:5px;
margin-top: 5px;
}
footer{
color:#000;
margin:30px;
}
}