Skip to content

Commit 6e86391

Browse files
pietroalbiniJoshua Nelson
authored and
Joshua Nelson
committed
about: fix styling of the about page header
1 parent 4909906 commit 6e86391

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

templates/about-base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
{% block header %}
44
<div class="cratesfyi-package-container">
5-
<div class="container about">
6-
<h3 id="crate-title">Docs.rs documentation</h3>
5+
<div class="container">
6+
<h1 id="crate-title" class="no-description">Docs.rs documentation</h1>
77
<div class="pure-menu pure-menu-horizontal">
88
<ul class="pure-menu-list">
99
{% set text = "info-circle" | fas(fw=true) %}

templates/style/base.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,10 @@ div.cratesfyi-package-container {
447447
h1 {
448448
margin: 0;
449449
padding: 15px 0 0 14px;
450+
451+
&.no-description {
452+
padding-bottom: 15px;
453+
}
450454
}
451455

452456
div.description {
@@ -553,14 +557,9 @@ div.search-page-search-form {
553557

554558
.about {
555559
font-family: $font-family-serif;
556-
padding: 0.4em 1em;
557560

558-
a {
559-
color: $color-url;
560-
561-
:hover {
562-
text-decoration: underline;
563-
}
561+
.pure-menu a:hover span {
562+
text-decoration: none;
564563
}
565564

566565
table {

0 commit comments

Comments
 (0)