Skip to content

Commit

Permalink
changing colors
Browse files Browse the repository at this point in the history
  • Loading branch information
BaderSarah committed Apr 26, 2024
1 parent eb6d9c0 commit 6a087c2
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 11 deletions.
48 changes: 42 additions & 6 deletions courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,29 @@ <h3 class="addToDoTitle">Add ToDo :</h3>
</span>
<span class="urgency">
<label> Urgency: </label><br />
<input type="radio" id="urgencyH" value="high" />
<input
type="radio"
name="option"
id="urgencyH"
value="high"
class="radioB"
/>
<label>high</label>
<input type="radio" id="urgencyM" value="medium" />
<input
type="radio"
name="option"
id="urgencyM"
value="medium"
class="radioB"
/>
<label>medium</label>
<input type="radio" id="urgencyL" value="low" />
<input
type="radio"
name="option"
id="urgencyL"
value="low"
class="radioB"
/>
<label>low</label>
</span>
</span>
Expand Down Expand Up @@ -89,11 +107,29 @@ <h3 class="addToDoTitle">Add ToDo :</h3>
</span>
<span class="urgency">
<label> Urgency: </label><br />
<input type="radio" id="urgencyH" value="high" />
<input
type="radio"
name="option"
id="urgencyH"
value="high"
class="radioB"
/>
<label>high</label>
<input type="radio" id="urgencyM" value="medium" />
<input
type="radio"
name="option"
id="urgencyM"
value="medium"
class="radioB"
/>
<label>medium</label>
<input type="radio" id="urgencyL" value="low" />
<input
type="radio"
name="option"
id="urgencyL"
value="low"
class="radioB"
/>
<label>low</label>
</span>
</span>
Expand Down
8 changes: 6 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--lightblue: #6292fd;
--pink: #e37383;
--lightpink: #ffb6c1;
--lightpink2: #ffa5b3;
}

@font-face {
Expand All @@ -30,12 +31,15 @@ nav {
}

ul {
list-style-type: none;
padding: 20px;
display: flex;
align-items: center;
}

.main {
list-style-type: none;
}

nav li {
display: inline;
}
Expand All @@ -51,7 +55,7 @@ a {
}

nav a:hover {
background-color: var(--lightpink);
background-color: var(--lightpink2);
}

/* Footer */
Expand Down
6 changes: 6 additions & 0 deletions css/stylesheetCourses.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ input {

.course .toDos li,
.course .toDos ul {
list-style: circle;
display: block;
padding: 5px;
margin-left: 10px;
Expand Down Expand Up @@ -265,3 +266,8 @@ input {
grid-column-end: 5;
display: inline;
}

.radioB {
margin-right: -20px;
margin-top: 15px;
}
3 changes: 2 additions & 1 deletion css/stylesheetIndex.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--darkblue: #0042d6;
--lightblue: #6292fd;
--pink: #e37383;
--lightpink2: #fbadb9;
}

@font-face {
Expand All @@ -30,7 +31,7 @@
}

.flexboxContainer p:nth-child(even) {
background-color: var(--lightpink);
background-color: var(--lightpink2);
border-radius: 30px;
}

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<header>
<nav>
<ul>
<ul class="main">
<li><a href="#">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="schedule.html">Schedule</a></li>
Expand Down Expand Up @@ -99,7 +99,7 @@ <h1>Study-Planner</h1>
</div>
</main>
<footer class="footer">
<ul style="list-style: none">
<ul class="main">
<a href="#">
<li>Home</li>
</a>
Expand Down

0 comments on commit 6a087c2

Please sign in to comment.