Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (66 loc) · 1.93 KB
/
Copy pathstyle.css
File metadata and controls
73 lines (66 loc) · 1.93 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f0f8ff;
margin: 0;
padding: 0;
background-image: url('assets/images/paper.jpg'); /* Path to your image */
background-size: cover; /* Ensures the image covers the entire background */
background-repeat: no-repeat; /* Prevents the image from repeating */
background-attachment: scroll; /* Keeps the background fixed when scrolling */
background-position: center; /* Centers the image */
}
header {
/*background-color: #4CAF50;*/
color: black;
font-size: 25px;
padding: 10px 10px;
background-color: white;
border: 2px solid black;
padding-bottom: 20px;
}
footer{
background-color: white;
}
.button {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
font-size: 16px;
color: white;
background-color: #008CBA;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.button:hover {
background-color: #005f6b; /* Change color on hover */
}
p {
margin-bottom: 15px;
}
.custom-paragraph{
padding-top: 20px;
font-size: 15px;
}
.image-style {
max-width: 100%; /* Ensures the image scales to fit its container */
width: 250px;
height: auto; /* Maintains the aspect ratio */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow (optional) */
display: block; /* Centers the image with margin auto */
margin: 20px auto;
}
.gallery {
display: flex;
flex-wrap: wrap; /* Allows images to wrap to the next line */
gap: 10px; /* Adds space between images */
justify-content: center; /* Centers the images */
}
.gallery-img {
max-width: 200px; /* Adjusts the size of each image */
height: auto; /* Maintains aspect ratio */
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}