9
9
margin-top : 100px ;
10
10
display : grid;
11
11
grid-template-columns : repeat (3 , 1fr );
12
- padding : 50 px ;
12
+ padding : 46 px ;
13
13
justify-items : center;
14
14
grid-gap : 30px 0px ;
15
15
background-color : # 99ccff ;
16
16
}
17
17
18
18
header {
19
- display : flex;
19
+ /* display: flex;*/
20
20
position : fixed;
21
21
top : 0 ;
22
22
left : 0 ;
23
23
right : 0 ;
24
24
height : 100px ;
25
- line-height : 50 px ;
25
+ line-height : 20 px ;
26
26
background-color : # 75a3a3 ;
27
27
align-items : center;
28
28
justify-content : center;
29
29
border : 3px solid # 47476b ;
30
30
}
31
31
32
- h1 {
32
+ h1 , p {
33
33
color : # 47476b ;
34
34
text-align : center;
35
35
}
38
38
border : 3px solid # 47476b ;
39
39
}
40
40
41
- header * {
42
- display : inline;
43
- height : 50px ;
44
- }
45
-
46
- header ul {
47
- padding : 0 ;
48
- }
49
-
50
- header li {
51
- margin-left : 20px ;
52
- }
53
-
54
41
section {
55
42
/* float: left; this makes the sections line up left to right*/
56
- float : left;
57
- height : 80vh ;
43
+ float : left;
44
+ height : 80vh ;
58
45
/* margin-right: 150px; this adds a margin on the right*/
59
- padding-left : 2px ;
60
- padding-top : 2px ;
61
- display : flex;
62
- justify-content : center;
63
- align-items : center;
46
+ padding-left : 2px ;
47
+ padding-top : 2px ;
48
+ display : flex;
49
+ justify-content : center;
50
+ align-items : center;
64
51
/* text-align: center;*/
65
-
66
- background-size : cover;
67
- background-position : center top;
68
- background-color : # c6c3cc ;
69
- background-repeat : no-repeat;
70
- background-attachment : fixed;
52
+ background-size : cover;
53
+ background-position : center top;
54
+ background-color : # c6c3cc ;
55
+ background-repeat : no-repeat;
56
+ background-attachment : fixed;
71
57
}
72
58
73
59
footer {
@@ -98,16 +84,10 @@ div#sink figure {
98
84
margin : 0 ;
99
85
}
100
86
101
- div # sink figure > img {
102
- position : relative;
103
- width : 100% ;
104
- }
105
-
106
87
div # sink figure div {
107
88
background-image : url ('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/sink_after.jpg' );
108
89
background-size : cover;
109
90
position : absolute;
110
- width : 100% ;
111
91
box-shadow : 0 5px 10px -2px rgba (0 , 0 , 0 , 0.3 );
112
92
overflow : hidden;
113
93
bottom : 0 ;
@@ -134,16 +114,10 @@ div#island figure {
134
114
margin : 0 ;
135
115
}
136
116
137
- div # island figure > img {
138
- position : relative;
139
- width : 100% ;
140
- }
141
-
142
117
div # island figure div {
143
118
background-image : url ('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/floor_after.jpg' );
144
119
background-size : cover;
145
120
position : absolute;
146
- width : 100% ;
147
121
box-shadow : 0 5px 10px -2px rgba (0 , 0 , 0 , 0.3 );
148
122
overflow : hidden;
149
123
bottom : 0 ;
@@ -170,16 +144,10 @@ div#oven figure {
170
144
margin : 0 ;
171
145
}
172
146
173
- div # oven figure > img {
174
- position : relative;
175
- width : 100% ;
176
- }
177
-
178
147
div # oven figure div {
179
148
background-image : url ('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/oven_after.jpg' );
180
149
background-size : cover;
181
150
position : absolute;
182
- width : 100% ;
183
151
box-shadow : 0 5px 10px -2px rgba (0 , 0 , 0 , 0.3 );
184
152
overflow : hidden;
185
153
bottom : 0 ;
0 commit comments