Skip to content

Commit 7e28686

Browse files
authored
Merge pull request #5 from CodeLouisville/week_2_solution
Week 2 Solution
2 parents cdac135 + 1adb177 commit 7e28686

2 files changed

Lines changed: 45 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ refer to the site.pdf file included in this repo to see what the target style sh
2727
2. Add a subheading (h2) with the text "WELCOME TO LOUIE'S"
2828
3. Add the following paragraph after the subheading:```
2929
Enjoy the old-school ambiance, original wooden booths sentimentally etched by our loyal customers, the black and white art deco floors worn by time, turn of the century tin ceilings and faded murals tell tale of a bygone era. Sit back, relax, enjoy the smell of simmering tomatoes and hot pizza, feel the warmth and camaraderie, hear the laughter and conversation of happy diners and you feel like you are home again, somewhere familliar, comfortable, affordable, family centered and “ORIGINAL”. ```
30-
5. Use the grid system classes `col` and `span_{columns}_of_2` to make the content take up the full width.
31-
6. Notice that the content doesn't line up with the existing content. The header has a `div` with the class `wrap` which limits the width of the content. Let's apply this to our welcome section.
32-
7. Finally, make just the name "Louie's" in the subheading the color `#871719` (dark red). Hint: You can use `span` elements inside the `h2` element to apply special stying to specific text.
30+
4. Use the grid system classes `col` and `span_{columns}_of_2` to make the content take up the full width.
31+
5. Notice that the content doesn't line up with the existing content. The header has a `div` with the class `wrap` which limits the width of the content. Let's apply this to our welcome section.
32+
6. Finally, make just the name "Louie's" in the subheading the color `#871719` (dark red). Hint: You can use `span` elements inside the `h2` element to apply special stying to specific text.
3333

3434
##Complete the Newsletter Section
3535

@@ -53,7 +53,4 @@ Background color of button is #871719;
5353
The col class assings a `property: value` of `float: left` to the elements it's applied to.
5454
In order to give our containing `wrap` element height, we must clear these floats.
5555
Our grid system has a `section` class and a `group` class that can clear our floats.
56-
Wrap the col elements in a new div with these two classes to fix our floating issue.
57-
58-
59-
56+
Wrap the col elements in a new div with these two classes to fix our floating issue.

css/styles.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,3 +300,44 @@ input.button:hover {
300300
background: #fff;
301301
color: #09C;
302302
}
303+
304+
.nwsltr-label {
305+
float: left;
306+
display: block;
307+
width: 100%;
308+
margin: 0 0 16px 0;
309+
}
310+
311+
.nwsltr-input {
312+
width: 80%;
313+
display: block;
314+
border: 1px solid #c0af8e;
315+
border-radius: 3px;
316+
height: 40px;
317+
padding: 8px;
318+
margin: 0 0 10px 0;
319+
font-size: 100%;
320+
float: left;
321+
}
322+
323+
.nwsltr-btn {
324+
background-color: #871719;
325+
border-radius: 3px;
326+
color: #FFFFFF;
327+
font-family: 'Roboto Slab', serif;
328+
font-size: 80%;
329+
text-transform: uppercase;
330+
font-weight: 700;
331+
height: 40px;
332+
width: 18%;
333+
margin: 0 0 10px 0;
334+
float: right;
335+
}
336+
337+
.nwsltr-btn:hover {
338+
background-color: purple;
339+
}
340+
341+
.nwsltr {
342+
background-color: #E8D5B5;
343+
}

0 commit comments

Comments
 (0)