-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
45 lines (38 loc) · 1011 Bytes
/
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
.line {
fill: none;
stroke-width: 2px;
}
body {
font-family: Arial, sans-serif;
}
h1 {
text-align: center;
}
.button {
display: inline-block; /* Align buttons horizontally */
padding: 15px 25px; /* Increase button size */
margin: 10px; /* Add some space around each button */
font-size: 2vw; /* Responsive font size */
color: white; /* Text color */
background-color: grey; /* Default background color */
border: none;
border-radius: 5px;
cursor: pointer;
}
/* Assign colors that match the lines */
#man-in-hole { background-color: blue; }
#boy-meets-girl { background-color: red; }
#kafkaesque { background-color: green; }
#hamlet { background-color: purple; }
#cinderella { background-color: orange; }
.button:hover {
opacity: 0.7;
}
.button:active {
position: relative;
top: 1px; /* Create a "pressed" effect */
}
#buttons {
text-align: center; /* Center the button group */
margin-bottom: 20px;
}