Skip to content

Commit 5a4a7b0

Browse files
committed
add instructions, hide end images
1 parent 605c987 commit 5a4a7b0

File tree

3 files changed

+18
-49
lines changed

3 files changed

+18
-49
lines changed

.DS_Store

0 Bytes
Binary file not shown.

css/style.css

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@ main {
99
margin-top: 100px;
1010
display: grid;
1111
grid-template-columns: repeat(3, 1fr);
12-
padding: 50px;
12+
padding: 46px;
1313
justify-items: center;
1414
grid-gap: 30px 0px;
1515
background-color: #99ccff;
1616
}
1717

1818
header {
19-
display: flex;
19+
/* display: flex;*/
2020
position: fixed;
2121
top: 0;
2222
left: 0;
2323
right: 0;
2424
height: 100px;
25-
line-height: 50px;
25+
line-height: 20px;
2626
background-color: #75a3a3;
2727
align-items: center;
2828
justify-content: center;
2929
border: 3px solid #47476b;
3030
}
3131

32-
h1 {
32+
h1, p {
3333
color: #47476b;
3434
text-align: center;
3535
}
@@ -38,36 +38,22 @@ h1 {
3838
border: 3px solid #47476b;
3939
}
4040

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-
5441
section {
5542
/* float: left; this makes the sections line up left to right*/
56-
float: left;
57-
height: 80vh;
43+
float: left;
44+
height: 80vh;
5845
/* 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;
6451
/* 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;
7157
}
7258

7359
footer {
@@ -98,16 +84,10 @@ div#sink figure {
9884
margin: 0;
9985
}
10086

101-
div#sink figure > img {
102-
position: relative;
103-
width: 100%;
104-
}
105-
10687
div#sink figure div {
10788
background-image: url('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/sink_after.jpg');
10889
background-size: cover;
10990
position: absolute;
110-
width: 100%;
11191
box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
11292
overflow: hidden;
11393
bottom: 0;
@@ -134,16 +114,10 @@ div#island figure {
134114
margin: 0;
135115
}
136116

137-
div#island figure > img {
138-
position: relative;
139-
width: 100%;
140-
}
141-
142117
div#island figure div {
143118
background-image: url('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/floor_after.jpg');
144119
background-size: cover;
145120
position: absolute;
146-
width: 100%;
147121
box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
148122
overflow: hidden;
149123
bottom: 0;
@@ -170,16 +144,10 @@ div#oven figure {
170144
margin: 0;
171145
}
172146

173-
div#oven figure > img {
174-
position: relative;
175-
width: 100%;
176-
}
177-
178147
div#oven figure div {
179148
background-image: url('/Users/scot/Desktop/GitHub/architecture_visualizer/assets/images/oven_after.jpg');
180149
background-size: cover;
181150
position: absolute;
182-
width: 100%;
183151
box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
184152
overflow: hidden;
185153
bottom: 0;

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<body>
1010
<header>
1111
<h1>Kitchen Prototype</h1>
12+
<p>Slide the buttons to the right to see your kitchen transformation!</p>
1213
</header>
1314

1415
<main>
@@ -36,7 +37,7 @@ <h1>Kitchen Prototype</h1>
3637
</figure>
3738
<input type="range" min="0" max="100" value="0" id="oven_slider" oninput="moveOven_Divisor()">
3839
</div>
39-
40+
4041
</main>
4142
<!--js scripts containing slider functions-->
4243
<script src="./js/scripts.js"></script>

0 commit comments

Comments
 (0)