Skip to content

Commit

Permalink
Merge pull request #3 from dealertrack/update-jekyll
Browse files Browse the repository at this point in the history
Update jekyll and deps
  • Loading branch information
steeltomato authored Feb 15, 2023
2 parents 7850ed5 + 0bf892b commit 743e981
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.0
FROM ruby:3.2

ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
Expand Down
16 changes: 8 additions & 8 deletions _sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@
}
width: $nav-list-item-height-sm;
height: $nav-list-item-height-sm;
padding-top: #{$nav-list-item-height-sm / 4};
padding-right: #{$nav-list-item-height-sm / 4};
padding-bottom: #{$nav-list-item-height-sm / 4};
padding-left: #{$nav-list-item-height-sm / 4};
padding-top: calc($nav-list-item-height-sm / 4);
padding-right: calc($nav-list-item-height-sm / 4);
padding-bottom: calc($nav-list-item-height-sm / 4);
padding-left: calc($nav-list-item-height-sm / 4);
color: $link-color;

@include mq(md) {
width: $nav-list-item-height;
height: $nav-list-item-height;
padding-top: #{$nav-list-item-height / 4};
padding-right: #{$nav-list-item-height / 4};
padding-bottom: #{$nav-list-item-height / 4};
padding-left: #{$nav-list-item-height / 4};
padding-top: calc($nav-list-item-height / 4);
padding-right: calc($nav-list-item-height / 4);
padding-bottom: calc($nav-list-item-height / 4);
padding-left: calc($nav-list-item-height / 4);
}

&:hover {
Expand Down
10 changes: 5 additions & 5 deletions _sass/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
flex-grow: 1;
height: $sp-10;
padding: $sp-2;
transition: padding linear #{$transition-duration / 2};
transition: padding linear calc($transition-duration / 2);

@include mq(md) {
position: relative !important;
Expand All @@ -26,7 +26,7 @@
overflow: hidden;
border-radius: $border-radius;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
transition: height linear #{$transition-duration / 2};
transition: height linear calc($transition-duration / 2);

@include mq(md) {
position: absolute;
Expand Down Expand Up @@ -62,7 +62,7 @@
padding-left: #{$gutter-spacing + $sp-5};
font-size: 14px;
background-color: $body-background-color;
transition: padding-left linear #{$transition-duration / 2};
transition: padding-left linear calc($transition-duration / 2);
}

&:focus {
Expand All @@ -82,7 +82,7 @@

@include mq(md) {
padding-left: $gutter-spacing;
transition: padding-left linear #{$transition-duration / 2};
transition: padding-left linear calc($transition-duration / 2);
}

.search-icon {
Expand Down Expand Up @@ -241,7 +241,7 @@
height: $sp-9;
background-color: $search-background-color;
border: 1px solid rgba($link-color, 0.3);
border-radius: #{$sp-9 / 2};
border-radius: calc($sp-9 / 2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
align-items: center;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion _sass/support/_functions.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@function rem($size, $unit: "") {
$remSize: $size / $root-font-size;
$remSize: calc($size / $root-font-size);

@if ($unit == false) {
@return #{$remSize};
Expand Down
12 changes: 6 additions & 6 deletions fni-docs-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "fni-docs-theme"
spec.version = "0.6.1"
spec.version = "0.6.2"
spec.authors = ["Patrick Marsceill", "Ken Hill"]
spec.email = ["[email protected]", "[email protected]"]

Expand All @@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
spec.executables << 'just-the-docs'
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 2.3.5"
spec.add_runtime_dependency "jekyll", "~> 4.2.0"
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.2.1"
spec.add_development_dependency "bundler", "~> 2.4"
spec.add_runtime_dependency "jekyll", "~> 4.3"
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.2"
spec.add_runtime_dependency "rake", ">= 12.3.1", "< 13.1.0"
spec.add_runtime_dependency "webrick", "~> 1.7"
spec.add_runtime_dependency "digest", "~> 3.0"
spec.add_runtime_dependency "webrick", "~> 1.8"
spec.add_runtime_dependency "digest", "~> 3.1"
end

0 comments on commit 743e981

Please sign in to comment.