-
Notifications
You must be signed in to change notification settings - Fork 0
/
qwe.css
106 lines (95 loc) · 1.62 KB
/
qwe.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
body{
font-family: 'Delius Swash Caps', cursive;
}
header{
background-color: #4A2400;
height: 88px;
}
.container{
width: 890px;
margin: 0 auto;
}
.top-menu{
display: flex;
justify-content: space-between;
}
.top-menu .logo{
display: flex;
color: #fff;
font-size: 3rem;
text-decoration: none;
word-break: keep-all;
width: 40%;
height: 88px;
text-align: center;
align-items: center;
}
.menu{
display: flex;
height: 88px;
justify-content: space-between;
align-items: center;
}
.menu li{
margin-left: 30px;
}
.menu li a{
color: #fff;
text-decoration: none;
}
@media all and (max-width: 900px){
header{
display: flex;
height: 100%;
}
.top-menu{
flex-direction: column;
align-items: center;
}
.top-menu .logo{
width: 100%;
justify-content: center;
}
.menu{
flex-direction: column;
height: 100%;
margin-bottom: 30px;
}
.menu li{
margin-left: 0;
margin-top: 30px;
width: 100%;
}
}
.main_container{
width: 890px;
margin: 0 auto;
}
.cards .card {
display: flex;
justify-content: space-between;
text-decoration: none;
align-items: center;
}
.main_title{
color: pink;
font-size: 24px;
text-align: center;
margin-top: 40px;
margin-bottom: 40px;
color: #D63054;
}
.cards{
display: flex;
flex-wrap: wrap;
}
.cards .card{
display: flex;
flex-direction: column;
}
.cards_title{
color: black;
text-decoration: none;
display: flex;
flex-direction: column;
}