Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Feb 1, 2024
1 parent 16354a2 commit 5e80548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<main>
<section id="home" data-title="About">
<section id="about" class="visible" data-title="About">
<a href="./" class="logo">
<img srcset="resources/[email protected] 2x" src="resources/logo.png" alt="Speedometer" />
<div class="version">3.0</div>
Expand Down
2 changes: 1 addition & 1 deletion instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<main>
<section id="home" data-title="Test Instructions">
<section id="instructions" class="visible" data-title="Test Instructions">
<a href="./" class="logo">
<img srcset="resources/[email protected] 2x" src="resources/logo.png" alt="Speedometer" />
<div class="version">3.0</div>
Expand Down
1 change: 1 addition & 0 deletions resources/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ section {
}

section:target,
section.visible,
body:not(body:has(section:target)) #home {
display: block;
}
Expand Down

0 comments on commit 5e80548

Please sign in to comment.