Skip to content

Commit

Permalink
add style
Browse files Browse the repository at this point in the history
  • Loading branch information
BaderSarah committed Apr 23, 2024
1 parent 699ae2a commit bd8496d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
11 changes: 8 additions & 3 deletions courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@
<main>
<h1>Courses</h1>
<div class="addCourse">
<h1>Here you can add a new course.</h1>
<h2>Here you can add a new course.</h2>
<form id="name">
<label id="nameLabel">
Name: <input type="text" id="courseName" placeholder="name" />
</label>
</form>
<img src="/assets/images/plus.png" alt="plus sign" id="imgPlus" />
</div>
<div class="course">
<div id="courseOne">
<h1>course one - example</h1>
<h2>course one - example</h2>
</div>
<div id="courseTwo">
<h1>course two - example</h1>
<h2>course two - example</h2>
</div>
</div>
</main>
Expand Down
17 changes: 14 additions & 3 deletions css/stylesheetCourses.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,24 @@ h1 {
grid-row: 4;
grid-column: 4;
}
.addCourse p {
text-align: center;
grid-row: 1;
.addCourse h2 {
grid-row-start: 1;
grid-column-start: 2;
grid-column-end: 4;
}

h2 {
text-align: center;
color: white;
font-size: 16pt;
font-family: headerFont, Arial, Helvetica, sans-serif;
}

#name {
grid-row: 3;
grid-column: 1;
font-size: 14pt;
padding: 20px;
margin: 10px;
text-align: right;
}

0 comments on commit bd8496d

Please sign in to comment.