feedback updates and some style cleanup

This commit is contained in:
RJ Spiker 2019-11-04 13:11:13 -07:00
parent 4e873649ed
commit 8ab89b5ed7
7 changed files with 13 additions and 37 deletions

View File

@ -9,7 +9,6 @@
li { li {
a { a {
color: $sidebar-link-color; color: $sidebar-link-color;
font-size: $sidebar-font-size;
padding: 10px 0 10px 15px; padding: 10px 0 10px 15px;
&:before { &:before {

View File

@ -22,7 +22,9 @@
a { a {
color: $home-header-link-color; color: $home-header-link-color;
&:hover, &:focus, &:active { &:hover,
&:focus,
&:active {
background-color: transparent; background-color: transparent;
color: $home-header-link-color-hover; color: $home-header-link-color-hover;
@ -142,14 +144,11 @@
} }
.terminal { .terminal {
@extend .g-type-code;
border: 1px solid $white; border: 1px solid $white;
background-color: $black; background-color: $black;
box-sizing: border-box; box-sizing: border-box;
color: $white; color: $white;
font-family: $font-monospace;
font-size: 0.844rem;
font-weight: $font-weight-reg;
line-height: 1.926em;
margin: 20px auto; margin: 20px auto;
padding: 10px 20px 20px 20px; padding: 10px 20px 20px 20px;
@ -167,7 +166,7 @@
span.circle { span.circle {
&:before { &:before {
content: '\25CF'; content: "\25CF";
color: $white; color: $white;
margin: 0 0 0 -4px; margin: 0 0 0 -4px;
padding: 0; padding: 0;

View File

@ -23,8 +23,7 @@
p, p,
li, li,
.alert { .alert {
font-size: 1.063rem; @extend .g-type-long-body;
line-height: 1.647em;
margin: 0 0 $font-size-default; margin: 0 0 $font-size-default;
} }
@ -32,13 +31,6 @@
margin-bottom: 0; margin-bottom: 0;
} }
pre,
code,
pre code,
tt {
line-height: 1.926em;
}
pre { pre {
padding: 20px; padding: 20px;
margin: 0 0 $font-size-default; margin: 0 0 $font-size-default;
@ -92,14 +84,10 @@
h3 > code, h3 > code,
h4 > code, h4 > code,
h5 > code, h5 > code,
h6 > code, h6 > code {
li code,
table code,
p code,
tt,
.alert code {
background-color: transparent; background-color: transparent;
color: inherit; color: inherit;
font-size: 90%;
padding: 0; padding: 0;
} }

View File

@ -11,21 +11,11 @@ h6 {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
p,
li,
.alert {
font-family: $font-body;
font-weight: $font-weight-reg;
letter-spacing: 0.01em;
}
pre, pre,
code, code,
pre code, pre code,
tt { tt {
font-family: $font-monospace; @extend .g-type-code;
font-weight: $font-weight-reg;
font-size: 0.844rem;
} }
/* Display 1 */ /* Display 1 */
@ -289,5 +279,5 @@ tt {
font-family: $font-monospace; font-family: $font-monospace;
font-weight: $font-weight-reg; font-weight: $font-weight-reg;
font-size: 0.844rem; font-size: 0.844rem;
line-height: 1.926em; line-height: 1.63em;
} }

View File

@ -1,6 +1,6 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <div class="docs-sidebar g-type-body-small hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("community-index") %>> <li<%= sidebar_current("community-index") %>>
<a href="/community.html">Community</a> <a href="/community.html">Community</a>

View File

@ -1,6 +1,6 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <div class="docs-sidebar g-type-body-small hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("downloads-packer") %>> <li<%= sidebar_current("downloads-packer") %>>
<a href="/downloads.html">Download Packer</a> <a href="/downloads.html">Download Packer</a>

View File

@ -1,7 +1,7 @@
<% wrap_layout :layout do %> <% wrap_layout :layout do %>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div id="docs-sidebar" class="col-sm-3 col-md-3 col-xs-12 hidden-print" role="complementary"> <div id="docs-sidebar" class="col-sm-3 col-md-3 col-xs-12 hidden-print g-type-body-small" role="complementary">
<%= yield_content :sidebar %> <%= yield_content :sidebar %>
</div> </div>