Skip to content

Commit

Permalink
index: do not use IDs for styles
Browse files Browse the repository at this point in the history
The unused IDs were removed.

Fix #489
  • Loading branch information
samueldr committed Jun 27, 2020
1 parent f5578bb commit 5044e66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions css/nixos-site.css
Expand Up @@ -496,19 +496,19 @@ ul.comma-separated > li:last-of-type:after {
*/

@media (min-width: 980px) {
#packages-search .input-append button.btn {
.packages-searchbox .input-append button.btn {
font-size: 28px;
height: 54px;
}

#packages-search .input-append input {
.packages-searchbox .input-append input {
font-size: 28px;
height: 44px;
}
}

@media (min-width: 768px) {
#examples {
.home-examples {
margin: 0;
margin-top: 30px;
padding: 1em;
Expand All @@ -521,11 +521,11 @@ ul.comma-separated > li:last-of-type:after {
margin-top: 2em;
}

#examples h2 {
.home-examples h2 {
border: 0;
}

#examples pre.well {
.home-examples pre.well {
margin-top: 1em;
background: #333333;
border-color: #333333;
Expand Down
4 changes: 2 additions & 2 deletions index.tt
Expand Up @@ -62,7 +62,7 @@

<hr />

<div id="packages-search" class="row-fluid text-center">
<div id="packages-search" class="row-fluid text-center packages-searchbox">
<div class="span12">
<h1>Choose from Thousands of Packages</h1>
<p class="text-center lead">
Expand All @@ -83,7 +83,7 @@

<h1 class="text-center">Examples...</h1>

<div id="examples">
<div class="home-examples">

<section>
<div class="row-fluid">
Expand Down

0 comments on commit 5044e66

Please sign in to comment.