Skip to content

Commit

Permalink
Merge pull request #23 from scout-ch/bugfix/improve-styling
Browse files Browse the repository at this point in the history
improve some styling issues and update copyright
  • Loading branch information
ewangler authored Sep 30, 2023
2 parents 468212f + 282a445 commit a3cc04d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function Footer(props: Props) {
</ul>
</nav>
<div className='footer-bottom'>
<p className="footer-copyright">© 2022 Pfadibewegung Schweiz</p>
<p className="footer-copyright">© 2023 Pfadibewegung Schweiz</p>
<ul className='footer-bottom-nav'>
<li className="child">
<Link to="/impressum">Impressum</Link>
Expand Down
13 changes: 11 additions & 2 deletions src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ div {
}

@media (max-width: 659px) {

main {
width: 100%;
}

h1 {
font-size: 30px;
}
Expand All @@ -92,7 +97,7 @@ div {
}

.content-main {
margin: 40px 10px;
margin: 0 1rem;
}
}
@media (min-width: 660px) {
Expand Down Expand Up @@ -136,6 +141,10 @@ div {
h2 {
font-size: 30px;
}

.content-main {
margin: 0 2rem;
}
}
@media (min-width: 1100px) {
p,
Expand All @@ -149,7 +158,7 @@ div {
}

.content-main {
margin: 0 9rem 0 6rem;
margin: 0 4rem;
}

h1 {
Expand Down
8 changes: 8 additions & 0 deletions src/styles/calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
width: 30%;
}
}

@media (max-width: 659px) {
table {
width: 100vw;
display: block;
overflow: scroll;
}
}
}

.calendar-ics {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/chapter.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

@media (max-width: 660px) {
.targets {
margin-top: -50px;
margin-top: -10px;
margin-left: 3rem;
}

Expand Down
4 changes: 2 additions & 2 deletions src/styles/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ nav.header-nav {
}

.header-nav-content {
overflow: scroll;
overflow-y: scroll;
height: calc(~"100vh - 40px");

&>ul {
Expand Down Expand Up @@ -157,6 +157,6 @@ nav.header-nav {
}

main {
padding-left: 320px;
padding-left: 317px;
}
}

0 comments on commit a3cc04d

Please sign in to comment.