Skip to content

Commit

Permalink
Make details behave same on firefox and chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
harbaum committed Sep 28, 2020
1 parent 3ae06bf commit 7c47d9c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions website/static/styles/txpi.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,11 @@
0% {opacity: 0}
100% {opacity: 1}
}

details > summary {
list-style: none;
}

details > summary::-webkit-details-marker {
display: none;
}
6 changes: 3 additions & 3 deletions website/templates/prerequisites_de.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2>Auswahl eines Raspberry-Pi</h2>
der unterschiedlichen Modelle und Versionen.

<details>
<summary style="outline: 0" ><a class="button">Details anzeigen/verbergen</a></summary>
<summary style="outline: 0" ><div class="button">Details anzeigen/verbergen</div></summary>

<article class="card">
<header><h3>Raspberry-Pi Model-A und Zero</h3></header>
Expand Down Expand Up @@ -120,7 +120,7 @@ <h2>Auswahl eines Bildschirms</h2>
ebenfalls auf die Bedienung mit einem Touchscreen ausgelegt.

<details>
<summary style="outline: 0" ><a class="button">Details anzeigen/verbergen</a></summary>
<summary style="outline: 0" ><div class="button">Details anzeigen/verbergen</div></summary>

<article class="card">
<header><h3>HDMI-Bildschirm</h3></header>
Expand Down Expand Up @@ -227,7 +227,7 @@ <h2>Auswahl von Zusatzhardware</h2>
Hardware-Zusätze</a>, um diese Beschränkung zu umgehen.

<details>
<summary style="outline: 0" ><a class="button">Details anzeigen/verbergen</a></summary>
<summary style="outline: 0" ><div class="button">Details anzeigen/verbergen</div></summary>

<article class="card">
<header><h3>fischertechnik-Controller</h3></header>
Expand Down
6 changes: 3 additions & 3 deletions website/templates/prerequisites_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>Selecting a Raspberry Pi</h2>
Raspberry Pi. However, there are advantages and disadvantages.

<details>
<summary style="outline: 0" ><a class="button">Show/hide details</a></summary>
<summary style="outline: 0" ><div class="button">Show/hide details</div></summary>

<article class="card">
<header><h3>Raspberry Pi Model A and Zero</h3></header>
Expand Down Expand Up @@ -113,7 +113,7 @@ <h2>Selecting a display</h2>
display.

<details>
<summary style="outline: 0" ><a class="button">Show/hide details</a></summary>
<summary style="outline: 0" ><div class="button">Show/hide details</div></summary>

<article class="card">
<header><h3>HDMI screen</h3></header>
Expand Down Expand Up @@ -213,7 +213,7 @@ <h2>Selecting additional hardware</h2>
addons</a> to deal with this.

<details>
<summary style="outline: 0" ><a class="button">Show/hide details</a></summary>
<summary style="outline: 0" ><div class="button">Show/hide details</div></summary>

<article class="card">
<header><h3>fischertechnik controllers</h3></header>
Expand Down

0 comments on commit 7c47d9c

Please sign in to comment.