Skip to content

Commit 71cecd7

Browse files
committed
very basic styling
1 parent e5109f3 commit 71cecd7

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

Sprint-3/slideshow/style.css

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,61 @@
11
/** Write your CSS in here **/
2+
body {
3+
font-family: Arial, sans-serif;
4+
text-align: center;
5+
margin: 40px;
6+
background-color: #f5f5f5;
7+
}
8+
9+
img {
10+
width: 500px;
11+
height: 400px;
12+
object-fit: cover;
13+
border: 3px solid #333;
14+
border-radius: 10px;
15+
margin-bottom: 20px;
16+
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
17+
}
18+
19+
div {
20+
margin: 10px 0;
21+
}
22+
23+
button {
24+
padding: 10px 20px;
25+
margin: 5px;
26+
font-size: 16px;
27+
border: none;
28+
border-radius: 5px;
29+
cursor: pointer;
30+
transition: background-color 0.3s;
31+
}
32+
33+
/* Different colors for different buttons */
34+
#forward-btn, #backward-btn {
35+
background-color: #4CAF50; /* Green */
36+
color: white;
37+
}
38+
39+
#auto-forward-btn {
40+
background-color: #2196F3; /* Blue */
41+
color: white;
42+
}
43+
44+
#auto-back-btn {
45+
background-color: #FF9800; /* Orange */
46+
color: white;
47+
}
48+
49+
#stop-btn {
50+
background-color: #f44336; /* Red */
51+
color: white;
52+
}
53+
54+
button:hover {
55+
opacity: 0.8;
56+
}
57+
58+
p {
59+
margin-top: 30px;
60+
line-height: 1.5;
61+
}

0 commit comments

Comments
 (0)