-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (97 loc) · 2.43 KB
/
Copy pathstyle.css
File metadata and controls
115 lines (97 loc) · 2.43 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
body{
margin:0;
padding:0;
color: #242424;
font-family: sans-serif;
word-wrap: break-word;
overflow-wrap: break-word;
}
h1,h2,h3,h4,h5,h6{
font-weight: 900;
color: #000;
}
.wrapper{
width: 100%;
margin: 0 auto;
}
main{
display: block;
background-color: #FFF;
}
.container{
width: 100%;
max-width: 760px;
margin: 0 auto;
padding: 0 20px;
}
section.module p{
margin-bottom: 40px;
}
section.module:last-child{
margin-bottom: 0;
}
section.module h2{
margin-bottom: 40px;
font-size: 30px;
}
section.module.content{
padding: 40px 0;
background: #ece7d5;
}
section.module.parallax{
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh !important;
width: 100%;
position: relative;
overflow: hidden;
background-position: 50% 50%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
section.module.parallax:after{
content: "";
height: 100%;
width: 100%;
position: absolute;
z-index: 8;
background: -moz-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 40%, #000 100% );
background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 40%, #000 100% );
background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 40%, #000 100% );
}
section.module.parallax-1{
background-image: url("https://cdn.pixabay.com/photo/2022/05/20/13/29/dogs-7209506_960_720.jpg");
}
section.module.parallax-2{
background-image: url("https://cdn.pixabay.com/photo/2017/09/25/13/14/dog-2785077__340.jpg");
}
section.module.parallax-3{
background-image: url("https://cdn.pixabay.com/photo/2021/07/05/14/07/dog-6389277_960_720.jpg");
}
section.module.parallax h1{
color: #FFF;
text-align: center;
font-size: 78px;
z-index: 50;
text-transform: uppercase;
}
@media all and (max-width: 820px) {
section.module h2 {
font-size: 32px;
}
.module h2, p{
padding: 0 8px;
}
.container{
margin:0;
padding:0;
}
section.module.parallax h1 {
font-size: 36px;
}
}