Skip to content

Commit d071842

Browse files
committed
v2
1 parent a317a41 commit d071842

File tree

7 files changed

+154
-54
lines changed

7 files changed

+154
-54
lines changed

bg.jpg

682 KB
Loading

index.html

Lines changed: 121 additions & 44 deletions
Large diffs are not rendered by default.

p2.jpg

219 KB
Loading

p3.jpg

207 KB
Loading

p4.jpg

87.4 KB
Loading

p5.jpg

185 KB
Loading

style.css

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
1+
html {
2+
height: 100%;
3+
}
14
body {
5+
height: 100%;
26
font-size: 25px;
37
font-family: 'Pompiere', cursive;
48
}
59

6-
.blue {
7-
width: 100%;
8-
height: 100%;
9-
background-color: rgb(88, 88, 211);
10+
.parallax {
11+
/* The image used */
12+
background-image: url("bg.jpg");
13+
14+
/* Full height */
15+
height: 100%;
16+
17+
/* Create the parallax scrolling effect */
18+
background-attachment: fixed;
19+
background-position: center;
20+
background-repeat: no-repeat;
21+
background-size: cover;
22+
}
23+
24+
.black {
25+
/* width: 100%;
26+
height: 100%; */
27+
background-color: rgba(0, 0, 0, 0.575);
1028
}
1129

1230
.red {
13-
width: 100%;
31+
/* width: 100%;
1432
height: 100%;
15-
background-color: #ef5350;
33+
background-color: #ef5350; */
1634
}
1735

1836
.container-fluid {
@@ -25,9 +43,9 @@ body {
2543
}
2644

2745
#thumb {
28-
width: 20%;
46+
width: 30%;
2947
margin: 10px;
30-
max-height: 300px;
48+
max-height: 400px;
3149
}
3250

3351
.white {
@@ -73,6 +91,10 @@ input {
7391
font-size: 2em;
7492
}
7593

94+
img{
95+
border-radius: 10px;
96+
}
97+
7698
.CaptionDesc {
7799
color: black;
78100
font-weight: bold;
@@ -86,7 +108,8 @@ input {
86108

87109
.carousel-caption {
88110
background-color: white;
89-
opacity: 0.7;
111+
opacity: 0.95;
112+
border-radius: 10px;
90113
}
91114

92115
.nav-link {
@@ -98,7 +121,7 @@ input {
98121
height: 3rem;
99122
}
100123

101-
@media only screen and (max-width: 1100px) and (min-width: 768px){
124+
@media only screen and (max-width: 1300px) and (min-width: 768px){
102125
.progress {
103126
height: 2rem;
104127
}

0 commit comments

Comments
 (0)