-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
99 lines (83 loc) · 1.48 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
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
.container {
display: flex;
flex-direction: column;
}
.box {
padding: 20px;
margin: 10px;
border: 1px solid black;
background-color: #84A59D;
box-sizing: content-box;
}
.special {
margin: 5px;
background-color: #F6BD60;
}
.box.special {
border: 4px dotted #5D2A42;
}
.flex-container {
display: flex;
}
.flex-item {
padding: 20px;
margin: 10px;
border: 2px solid black;
background-color: #016FB9;
color: white;
}
/* Stretch Goal 1: Sidebar */
.sidebar {
background-color: #f0f0f0;
padding: 20px;
margin-top: 20px;
}
/* Stretch Goal 2: Feature Section */
.feature-section {
margin-top: 20px;
}
.feature-item {
position: relative;
text-align: center;
color: white;
}
.feature-item img {
width: 100%;
max-height: 300px;
object-fit: cover;
}
.feature-item p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 20px;
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
}
/* Stretch Goal 3: Multi-Column Footer */
.footer {
display: flex;
justify-content: space-around;
background-color: #333;
color: white;
padding: 20px 0;
}
.footer-column {
margin: 0 15px;
}
.footer-column h3 {
margin-bottom: 15px;
}
.footer-column p {
margin: 5px 0;
}
@media (max-width: 768px) {
.footer {
flex-direction: column;
align-items: center;
}
.footer-column {
margin: 10px 0;
}
}