-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (65 loc) · 1.5 KB
/
style.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
56
57
58
59
60
61
62
63
64
65
66
67
* {
margin: 0;
padding: 0;
font-family: Georgia, Times, "Times New Roman", serif;
}
.section_one {
background-attachment: fixed;
background-image: url("Meghalaya.jpg");
background-position: center;
height: 100vh;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
.center {
font-size: 3rem;
padding: 2rem;
color: white;
background-color: rgb(59, 53, 53);
transition: font-size 0.3s ease, padding 0.3s ease;
}
.para h1 {
text-align: center;
padding-top: 1rem;
opacity: 0.5;
}
.para p {
width: 80%;
margin: auto;
padding: 2rem 0 3rem 0;
text-align: justify;
opacity: 0.4;
}
.image2 {
background-image: url("Meghalaya1.jpg");
background-position: center;
}
.image3 {
background-image: url("Meghalaya2.jpg");
background-position: center;
}
.image4 {
background-image: url("Meghalaya3.jpg");
background-position: center;
}
@media (max-width: 1200px) {
.center {
font-size: 2.5rem; /* Adjust font size for medium screens */
padding: 1.5rem; /* Adjust padding for medium screens */
}
}
@media (max-width: 900px) {
.center {
font-size: 2rem; /* Adjust font size for small screens */
padding: 1rem; /* Adjust padding for small screens */
}
}
@media (max-width: 600px) {
.center {
font-size: 1.5rem; /* Adjust font size for extra-small screens */
padding: 0.5rem; /* Adjust padding for extra-small screens */
}
}