-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylehome.css
55 lines (46 loc) · 1.21 KB
/
stylehome.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
body {
margin: 0;
padding: 0;
font-family: "Orbitron", sans-serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
background-image: url('./homepageback.jpg'); /* Replace 'your-background-image-url.jpg' with your image URL */
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
text-align: center;
}
h1 {
margin-top: 0;
}
.options {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
background-color: rgba(214, 206, 206, 0.3); /* Transparent background */
padding: 20px;
border-radius: 10px;
}
.option {
width: calc(30% - 20px); /* Adjust width of option boxes as per your preference */
margin: 10px;
padding: 20px;
background-color: rgba(224, 172, 172, 0.138); /* Semi-transparent background for option boxes */
border-radius: 10px;
cursor: pointer;
}
.option:hover {
background-color: rgba(47, 18, 18, 0.7); /* Darker semi-transparent background on hover */
}
.option h2 {
margin-top: 0;
}
.option p {
margin-bottom: 0;
}