-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (52 loc) · 1.24 KB
/
style.css
File metadata and controls
57 lines (52 loc) · 1.24 KB
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
/* Background for the entire page */
body {
background-image: url('https://media.istockphoto.com/id/909487016/photo/image-of-a-heart.jpg?s=612x612&w=0&k=20&c=exbZTBQCRufGtOfaHyln3CoaZICd6WK4N4J53hbSPiM=');
background-size: cover;
background-position: center;
background-attachment: fixed;
font-family: system-ui, sans-serif;
color: white;
text-align: center;
padding: 20px;
}
/* Center main image */
.center-img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 70%;
border-radius: 10px;
margin-bottom: 20px;
}
/* List styling */
ul {
background: rgba(255, 255, 255, 0.2);
padding: 15px;
border-radius: 10px;
list-style-position: inside;
max-width: 300px;
margin: 20px auto;
}
/* Rose background paragraphs */
.rose-box {
background-image: url('https://images.unsplash.com/photo-1530906622963-8a60586a49c7?w=700&auto=format&fit=crop&q=60');
background-size: cover;
background-position: center;
padding: 15px;
border-radius: 10px;
margin: 20px auto;
max-width: 800px;
text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
/* Small image at bottom */
.small-img {
max-width: 50%;
display: block;
margin: 20px auto;
border-radius: 10px;
}
/* Link styling */
a {
color: #fff;
font-weight: bold;
}