-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (65 loc) · 1.06 KB
/
style.css
File metadata and controls
78 lines (65 loc) · 1.06 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
margin: 0 5px;
}
.head-title{
background-color: royalblue;
width: 50%;
margin: 20px auto;
text-align: center;
color: aliceblue;
border-radius: 15px;
padding: 10px 0;
}
.row{
height: 400px;
margin-bottom: 5px;
}
img{
height: 100%;
width: 100%;
}
.second-row{
display: flex;
gap: 5px;
}
.second-row>div{
flex: 1;
}
.second-row .third-container{
display: flex;
flex-direction: column;
gap: 5px;
}
.second-row .third-container img{
height: calc(50% - 5px/2);
}
.third-row{
display: flex;
gap: 5px;
}
.third-row>div{
flex: 1;
}
.third-row .second-container{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 5px;
}
@media screen and (max-width: 576px) {
.head-title{
width: 70%;
background-color:rgb(43, 171, 43);
}
.second-row,.third-row{
flex-direction: column;
height: auto;
}
.second-row .second-container{
flex-direction: row;
}
}