-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
65 lines (58 loc) · 1.11 KB
/
styles.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
.Container {
display: flex;
justify-content: space-between;
margin: 0 auto;
min-height: 100vh;
}
.TvColumn,
.StatisticsColumn {
flex: 1;
flex-direction: column;
align-items: center;
justify-content: center;
display: flex;
margin: 1%;
}
.TvBox {
background-size: 100% 100%;
background-image: url("images/tv.jpg");
position: relative;
margin: 20px; /* Add spacing between TV boxes */
height: 100%;
width: 100%;
}
.Rectangle {
position: relative;
}
.Evidence {
object-fit: cover; /* Ensure the image covers the container */
}
.Statistics {
background-size: 100% 100%;
background-image: url("images/paper.jpg");
position: relative;
}
/* Styles for the four columns at the bottom */
.Column-wrapper{
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 0 auto;
}
.Column {
flex: 1;
background-color: #F4F0E8;
margin: 5px;
padding: 10px;
}
.Bar {
transition: height 0.5s;
width: 25%;
}
.title{
text-align: center;
}
.Public-opinion{
display: block;
align-content: center;
}