Commit 123dbe31 authored by sajolida's avatar sajolida
Browse files

Simplify code

This also:

- Removes the weird purple border we had on these buttons.
- Use a consistent height on all such buttons.
parent 0729b6af
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's start the journey!</div>
<h3 class="panel-title">Let's start the journey!</h3>
</div>
</div> </div>
|install/os]] |install/os]]
......
...@@ -12,9 +12,7 @@ ...@@ -12,9 +12,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from another Tails</div>
<h3 class="panel-title">Install from another Tails</h3>
</div>
</div> </div>
|install/debian/clone-overview]] |install/debian/clone-overview]]
...@@ -33,17 +31,13 @@ ...@@ -33,17 +31,13 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from Debian, Ubuntu, or Mint</div>
<h3 class="panel-title">Install from Debian, Ubuntu, or Mint</h3>
</div>
</div> </div>
|debian/usb-overview]] |debian/usb-overview]]
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body two-lines"><small>Install from Debian, Ubuntu, or Mint using<br />the</small> command line <small>and</small> GnuPG</div>
<h3 class="panel-title two-lines"><small>Install from Debian, Ubuntu, or Mint using<br />the</small> command line <small>and</small> GnuPG</h3>
</div>
</div> </div>
|expert/usb-overview]] |expert/usb-overview]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/clone]] |install/clone]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/debian/usb-download]] |install/debian/usb-download]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/expert/usb]] |install/expert/usb]]
......
...@@ -106,37 +106,27 @@ td, th { ...@@ -106,37 +106,27 @@ td, th {
/* PANELS */ /* PANELS */
.panel { .panel-primary {
border-bottom-width: 4px;
border-color: #56347C;
margin-top: 30px; margin-top: 30px;
}
.panel-primary > .panel-heading {
text-align: center; text-align: center;
border: none; border: none;
transition: 0.1s; transition: 0.1s;
background: #56347C; background: #56347C;
color: white; color: white;
font-weight: bold;
padding: 15px;
} }
.panel-primary > .panel-heading:hover { .panel-primary:hover {
background: white; background: white;
color: black; color: black;
} }
.panel-primary > .panel-heading:active { .panel-primary:active {
color: black; color: black;
background: white; background: white;
} }
.panel-title {
font-weight: bold;
padding: 15px;
height: 3em;
display: inline-block;
}
.two-lines { .two-lines {
padding: 9px; padding: 9px;
} }
......
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from another Tails</div>
<h3 class="panel-title">Install from another Tails</h3>
</div>
</div> </div>
|install/linux/clone-overview]] |install/linux/clone-overview]]
...@@ -40,9 +38,7 @@ ...@@ -40,9 +38,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from Linux</div>
<h3 class="panel-title">Install from Linux</h3>
</div>
</div> </div>
|linux/usb-overview]] |linux/usb-overview]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/clone]] |install/clone]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/linux/usb-download]] |install/linux/usb-download]]
......
...@@ -30,9 +30,7 @@ installation methods</strong>.</p> ...@@ -30,9 +30,7 @@ installation methods</strong>.</p>
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Try cloning from another Tails</div>
<h3 class="panel-title">Try cloning from another Tails</h3>
</div>
</div> </div>
|mac/clone-overview]] |mac/clone-overview]]
...@@ -49,9 +47,7 @@ installation methods</strong>.</p> ...@@ -49,9 +47,7 @@ installation methods</strong>.</p>
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body two-lines"><small>Install from</small><br />Windows or Linux</div>
<h3 class="panel-title two-lines"><small>Install from</small><br />Windows or Linux</h3>
</div>
</div> </div>
|os]] |os]]
...@@ -60,9 +56,7 @@ installation methods</strong>.</p> ...@@ -60,9 +56,7 @@ installation methods</strong>.</p>
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body two-lines">Burn a DVD <br /><small>and then install</small></div>
<h3 class="panel-title two-lines">Burn a DVD <br /><small>and then install</small></h3>
</div>
</div> </div>
|mac/dvd-overview]] |mac/dvd-overview]]
...@@ -71,9 +65,7 @@ installation methods</strong>.</p> ...@@ -71,9 +65,7 @@ installation methods</strong>.</p>
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body two-lines"><small>Install using</small><br />the command line</div>
<h3 class="panel-title two-lines"><small>Install using</small><br />the command line</h3>
</div>
</div> </div>
|mac/usb-overview]] |mac/usb-overview]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/mac/clone]] |install/mac/clone]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/mac/dvd-download]] |install/mac/dvd-download]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/mac/usb-download]] |install/mac/usb-download]]
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
<div class="col-md-6"> <div class="col-md-6">
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Windows</div>
<h3 class="panel-title">Windows</h3>
</div>
</div> </div>
|install/win]] |install/win]]
</div> </div>
...@@ -18,8 +16,7 @@ ...@@ -18,8 +16,7 @@
<div class="col-md-6"> <div class="col-md-6">
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">macOS</div>
<h3 class="panel-title">macOS</h3>
</div> </div>
</div> </div>
|install/mac]] |install/mac]]
...@@ -28,9 +25,7 @@ ...@@ -28,9 +25,7 @@
<div class="col-md-6"> <div class="col-md-6">
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Debian, Ubuntu, or Mint</div>
<h3 class="panel-title">Debian, Ubuntu, or Mint</h3>
</div>
</div> </div>
|install/debian]] |install/debian]]
</div> </div>
...@@ -38,9 +33,7 @@ ...@@ -38,9 +33,7 @@
<div class="col-md-6"> <div class="col-md-6">
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body two-lines">Other Linux<br /><small>(Red Hat, Fedora, etc.)</small></div>
<h3 class="panel-title two-lines">Other Linux<br /><small>(Red Hat, Fedora, etc.)</small></h3>
</div>
</div> </div>
|install/linux]] |install/linux]]
</div> </div>
......
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from another Tails</div>
<h3 class="panel-title">Install from another Tails</h3>
</div>
</div> </div>
|install/win/clone-overview]] |install/win/clone-overview]]
...@@ -40,9 +38,7 @@ ...@@ -40,9 +38,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Install from Windows</div>
<h3 class="panel-title">Install from Windows</h3>
</div>
</div> </div>
|win/usb-overview]] |win/usb-overview]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/clone]] |install/clone]]
......
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
[[ [[
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-body">Let's go!</div>
<h3 class="panel-title text-center">Let's go!</h3>
</div>
</div> </div>
|install/win/usb-download]] |install/win/usb-download]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment