Skip to content

Commit

Permalink
adjusting the styles
Browse files Browse the repository at this point in the history
  • Loading branch information
second-slip committed Jul 28, 2024
1 parent 5ac2fbe commit 30f5fc7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
7 changes: 3 additions & 4 deletions src/app/ideas/ideas.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1 class="centre">Ideas</h1>
<P>
This website is at a <span class="underline">very</span> early stage of development. I am learning a chart
library (Chart.js) that I've not used before. So I'm still getting to grips with its capabilities. I aim to make
the charts a <span class="underline">lot</span> more interactive.
the charts a lot more interactive.
</P>

<P>
Expand All @@ -14,9 +14,8 @@ <h1 class="centre">Ideas</h1>

<ul>
<li>a comparison with Brian Statham, the other great post-war Lancashire Test bowler;</li>
<li>an analysis of home and away Test performance</li>
<li></li>
<li></li>
<li>an analysis of home and away Test performance; and</li>
<li>comparison with other bowlers in his era.</li>
</ul>

<p>
Expand Down
14 changes: 12 additions & 2 deletions src/app/menu/menu.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
background-color: beige
}

@media only screen and (max-width: 768px) {
@media only screen and (max-width: 667px) {
.larger-screen-menu {
display: none;
}
Expand All @@ -30,7 +30,17 @@
}
}

@media only screen and (min-width: 769px) {
@media only screen and (min-width: 668px) {
.smaller-screen-collapse-menu {
display: none;
}

.nav-menu {
padding: 0% 10%;
}
}

@media only screen and (min-width: 992px) {
.smaller-screen-collapse-menu {
display: none;
}
Expand Down
6 changes: 3 additions & 3 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ body {
text-align: center;
font-weight: bold;
position: sticky;
top: 0px;
top: 55px;
padding: 10px 0px;
}

.info-icon {
visibility: hidden;
}

}

/* Larger devices (769px and up) */
Expand Down Expand Up @@ -133,4 +133,4 @@ body {
.info-icon {
visibility: visible;
}
}
}

0 comments on commit 30f5fc7

Please sign in to comment.