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 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Let's start the journey!</h3>
</div>
<div class="panel-body">Let's start the journey!</div>
</div>
|install/os]]
......
......@@ -12,9 +12,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from another Tails</h3>
</div>
<div class="panel-body">Install from another Tails</div>
</div>
|install/debian/clone-overview]]
......@@ -33,17 +31,13 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from Debian, Ubuntu, or Mint</h3>
</div>
<div class="panel-body">Install from Debian, Ubuntu, or Mint</div>
</div>
|debian/usb-overview]]
[[
<div class="panel panel-primary">
<div class="panel-heading">
<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 class="panel-body two-lines"><small>Install from Debian, Ubuntu, or Mint using<br />the</small> command line <small>and</small> GnuPG</div>
</div>
|expert/usb-overview]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/clone]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/debian/usb-download]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/expert/usb]]
......
......@@ -106,37 +106,27 @@ td, th {
/* PANELS */
.panel {
border-bottom-width: 4px;
border-color: #56347C;
.panel-primary {
margin-top: 30px;
}
.panel-primary > .panel-heading {
text-align: center;
border: none;
transition: 0.1s;
background: #56347C;
color: white;
font-weight: bold;
padding: 15px;
}
.panel-primary > .panel-heading:hover {
.panel-primary:hover {
background: white;
color: black;
}
.panel-primary > .panel-heading:active {
.panel-primary:active {
color: black;
background: white;
}
.panel-title {
font-weight: bold;
padding: 15px;
height: 3em;
display: inline-block;
}
.two-lines {
padding: 9px;
}
......
......@@ -13,9 +13,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from another Tails</h3>
</div>
<div class="panel-body">Install from another Tails</div>
</div>
|install/linux/clone-overview]]
......@@ -40,9 +38,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from Linux</h3>
</div>
<div class="panel-body">Install from Linux</div>
</div>
|linux/usb-overview]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/clone]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/linux/usb-download]]
......
......@@ -30,9 +30,7 @@ installation methods</strong>.</p>
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Try cloning from another Tails</h3>
</div>
<div class="panel-body">Try cloning from another Tails</div>
</div>
|mac/clone-overview]]
......@@ -49,9 +47,7 @@ installation methods</strong>.</p>
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title two-lines"><small>Install from</small><br />Windows or Linux</h3>
</div>
<div class="panel-body two-lines"><small>Install from</small><br />Windows or Linux</div>
</div>
|os]]
......@@ -60,9 +56,7 @@ installation methods</strong>.</p>
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title two-lines">Burn a DVD <br /><small>and then install</small></h3>
</div>
<div class="panel-body two-lines">Burn a DVD <br /><small>and then install</small></div>
</div>
|mac/dvd-overview]]
......@@ -71,9 +65,7 @@ installation methods</strong>.</p>
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title two-lines"><small>Install using</small><br />the command line</h3>
</div>
<div class="panel-body two-lines"><small>Install using</small><br />the command line</div>
</div>
|mac/usb-overview]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/mac/clone]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/mac/dvd-download]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/mac/usb-download]]
......
......@@ -8,9 +8,7 @@
<div class="col-md-6">
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Windows</h3>
</div>
<div class="panel-body">Windows</div>
</div>
|install/win]]
</div>
......@@ -18,8 +16,7 @@
<div class="col-md-6">
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">macOS</h3>
<div class="panel-body">macOS</div>
</div>
</div>
|install/mac]]
......@@ -28,9 +25,7 @@
<div class="col-md-6">
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Debian, Ubuntu, or Mint</h3>
</div>
<div class="panel-body">Debian, Ubuntu, or Mint</div>
</div>
|install/debian]]
</div>
......@@ -38,9 +33,7 @@
<div class="col-md-6">
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title two-lines">Other Linux<br /><small>(Red Hat, Fedora, etc.)</small></h3>
</div>
<div class="panel-body two-lines">Other Linux<br /><small>(Red Hat, Fedora, etc.)</small></div>
</div>
|install/linux]]
</div>
......
......@@ -13,9 +13,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from another Tails</h3>
</div>
<div class="panel-body">Install from another Tails</div>
</div>
|install/win/clone-overview]]
......@@ -40,9 +38,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Install from Windows</h3>
</div>
<div class="panel-body">Install from Windows</div>
</div>
|win/usb-overview]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|install/clone]]
......
......@@ -11,9 +11,7 @@
[[
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center">Let's go!</h3>
</div>
<div class="panel-body">Let's go!</div>
</div>
|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