Skip to content

Commit

Permalink
styled username, border-radius on sections
Browse files Browse the repository at this point in the history
  • Loading branch information
brookeperkins committed Jul 31, 2020
1 parent 2d32873 commit b6ee0eb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
7 changes: 4 additions & 3 deletions about-us/about-us.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ header {
background-color: var(--color2);
margin-bottom: 10px;
border: solid 1px var(--color4);
padding-bottom: 10px;
}

#header-h1, #logo-name, #logo-name1, #us {
Expand Down Expand Up @@ -96,14 +95,16 @@ section {
border: solid 1px var(--color4);
width: 1000px;
max-width: 80%;
border-radius: 5px;
}

h1 {
#meet-us {
margin-top: 15px;
font-size: 1.2rem;
font-size: 1.4rem;
font-family: 'Shrikhand';
color: var(--color4);
margin-bottom: -2px;
-webkit-text-stroke: .4px #ded0a8;
}

.about-us {
Expand Down
2 changes: 1 addition & 1 deletion about-us/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 id="header-h1">
<a class= "nav-links" href="../about-us/index.html">THE FUN-GUYS</a>
</nav>
<main>
<h1>Meet The Fun-Guys</h1>
<h1 id="meet-us">Meet The Fun-Guys</h1>
<section>
<br>
<div class="about-us">
Expand Down
5 changes: 4 additions & 1 deletion all-mushrooms/all-mushrooms.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ header {
margin-right: auto;
background-color: var(--color2);
margin-bottom: 10px;
padding-bottom: 20px;
padding-top: 10px;
border: solid 1px var(--color4);
}

Expand Down Expand Up @@ -126,7 +128,8 @@ section {
justify-content: center;
align-items: center;
padding: 5px;
border: solid 1px var(--color4)
border: solid 1px var(--color4);
border-radius: 5px;
}

h4 {
Expand Down
11 changes: 10 additions & 1 deletion basket/basket.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ header {
margin-left: auto;
margin-right: auto;
background-color: var(--color2);
margin-bottom: 10px;
margin-bottom: 15px;
padding-bottom: 15px;
border: solid 1px var(--color4);
}

Expand Down Expand Up @@ -117,6 +118,7 @@ section {
border: solid 1px var(--color4);
text-align: center;
place-items: center;
border-radius: 5px;
}

h1{
Expand Down Expand Up @@ -148,6 +150,13 @@ h3 {
padding-right: 50px;
}

#user-name {
font-family: 'Shrikhand';
font-size: 1.4rem;
color: var(--color4);
-webkit-text-stroke: 1.1px #ded0a8;
padding-top: 15px;
}

button {
border-radius: 5px;
Expand Down
2 changes: 1 addition & 1 deletion basket/basketUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for (let i = 0; i < basket.length; i++) {
function displayUserName() {
const user = document.getElementById('user-name');
const userData = JSON.parse(localStorage.getItem(USER));
user.textContent = `${userData.name}`;
user.textContent = `${userData.name}'s Mushroom Basket`;
}
displayUserName();

Expand Down
3 changes: 1 addition & 2 deletions basket/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ <h1 id="header-h1">
</nav>
<body>
<main>
<span id="user-name">Username's</span>
<span id="user-basket">Mushroom Basket</span>
<span id="user-name"></span>
<section>
<ul>

Expand Down

0 comments on commit b6ee0eb

Please sign in to comment.