-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquery.css
More file actions
85 lines (80 loc) · 1.59 KB
/
query.css
File metadata and controls
85 lines (80 loc) · 1.59 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
/*BELOW 980px (Tablets)/*
/*****************************************************/
/* @media (max-width: 61em) {
html { */
/* 8px/16px=0.5=50% */
/* font-size: 50%;
}
.main-section {
display: inline-block;
}
.second-star,
.third-star {
position: relative;
left: 0rem;
}
.third-star {
margin-bottom: 5rem;
}
.second-section {
align-items: center;
}
.second-section-two {
display: inline;
}
} */
@media (max-width: 61em) {
html {
font-size: 50%;
}
.main-section {
display: inline-block;
}
.second-section {
align-items: center;
}
.second-section-two {
display: inline;
}
.second-star,
.third-star {
position: relative;
left: 0rem;
}
.first-star,
.second-star,
.third-star {
width: 100%; /* Ensure all stars have the same width */
max-width: 100%; /* Remove any constraints */
position: static; /* Remove relative positioning */
margin: 0 auto; /* Center the divs */
flex: 1 1 0; /* Ensure they flex to the same width */
}
.third-star {
margin-bottom: 5rem;
}
.second-section {
display: flex;
gap: 2rem; /* Gap between stars */
width: 45rem;
color: hsl(300, 43%, 22%);
align-items: center; /* Vertically center stars */
flex-direction: column;
}
.first-star,
.second-star,
.third-star {
font-size: 1.4rem;
font-weight: 700;
display: flex;
background-color: hsl(300, 24%, 96%);
align-items: center;
padding: 1.5rem 4rem;
gap: 3rem;
border-radius: 0.5rem;
position: relative;
}
.stars > img {
margin: 0.2rem;
}
}