forked from jcm155/elevator-pitch-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (84 loc) · 2.37 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (84 loc) · 2.37 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
116
117
body, html {
height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.hero-image {
/* This is your opening image. You will need to change el1.jpg to something of your choice*/
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("el1.jpg");
height: 100%;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
/* Place text in the middle of the image */
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 250%;
}
/* This is what controls that cool parallax scrolling effect. Change the image "el4.jpg" below to your image.*/
/*You can always add more parlax assets on your web document, just follow the directions at the bottom of the index.html.*/
.parallax-1 {
background-image: url("el4.jpg");
/* Set a specific height */
height: 500px;
/* control the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* This section of css. helps organize images to position and center the image to scale nicely on all screens */
.center-small-image {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.center-large-image {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
/*this css. element centers elements*/
.centertext {
text-align: center;
}
/* This css. section controls the paragraph chunks*/
.par-centertext {
margin: auto;
width: 50%;
padding: 100px;
font-size: 125%;
}
/*The following .css is responsible for your photo grid .row, .column, .column img and @ media all work together to create your responsive image displays. Change the images on index.html. Remember, the images need to be in your project file folder */
.row {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
}
/* Create 3 equal columns that sit next to each other */
.column {
flex: 25%;
max-width: 25%;
padding: 0 4px;
}
.column img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}
/* Responsive layout - makes a one column-layout instead of two or three columns */
@media screen and (max-width: 800px) {
.column {
flex: 50%;
max-width: 50%;
}