-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreviews.css
184 lines (158 loc) · 2.86 KB
/
reviews.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
color: #333;
}
/* Sticky header */
header {
background-color: #fff;
color: black;
/* padding: 10px 20px; */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
border-radius: 10px;
top: 0;
z-index: 1000;
}
/* Flexbox for header */
header .header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
#login {
display: flex;
justify-content: flex-end;
}
#login button {
background-color: #ff9900;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
font-weight: bold;
}
#login button:hover {
background-color: #e68a00;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
background-color: #333;
padding: 15px 0;
border-radius: 5px;
margin: 0;
}
nav ul li {
margin: 0 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
transition: color 0.3s;
}
nav ul li a:hover {
color: #ff9900;
}
/* Search bar */
#search-bar {
width: 100%;
max-width: 400px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
main {
padding: 20px;
}
h2 {
color: #333;
font-size: 28px;
margin-bottom: 15px;
}
.review-page {
display: flex;
flex-direction: column;
gap: 40px;
}
.review-section {
background-color: white;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.review-header {
width: 100%;
text-align: center;
margin-bottom: 20px;
}
.review-header img {
width: 100%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 400px;
border-radius: 8px;
}
.review-rating {
background-color: #ff9900;
padding: 5px 10px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: inline-block;
color: white;
font-weight: bold;
}
.review-content {
flex: 2;
padding: 0 20px;
}
.review-content h3 {
font-size: 24px;
color: #333;
}
.review-text {
line-height: 1.8;
color: #555;
margin-top: 10px;
}
.review-aside {
background-color: #f8f8f8;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
z-index: 1;
width: 100%;
max-width: 300px;
}
.review-aside h4 {
margin-bottom: 10px;
color: #333;
}
.review-aside ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.review-aside ul li {
background-color: white;
padding: 8px;
margin-bottom: 8px;
border-radius: 5px;
}
.review-aside ul li span {
font-weight: bold;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 50px;
}