Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Commit

Permalink
fix buttons not showing up properly, add webrick to Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chemistryx committed Apr 28, 2022
1 parent 1ed73a8 commit c376b1a
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 15 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

gem "webrick", "~> 1.7"
22 changes: 12 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ GEM
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.9)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
ffi (1.15.4)
ffi (1.15.4-x64-mingw32)
ffi (1.15.5)
ffi (1.15.5-x64-mingw32)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.8.11)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
jekyll (4.0.1)
addressable (~> 2.4)
Expand All @@ -31,27 +31,27 @@ GEM
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-sass-converter (2.1.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.0)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.11.0)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.1)
rouge (3.28.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
Expand All @@ -62,10 +62,11 @@ GEM
thread_safe (0.3.6)
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo-data (1.2021.5)
tzinfo-data (1.2022.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.8.0)
wdm (0.1.1)
webrick (1.7.0)

PLATFORMS
ruby
Expand All @@ -76,6 +77,7 @@ DEPENDENCIES
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
webrick (~> 1.7)

BUNDLED WITH
2.1.4
2 changes: 1 addition & 1 deletion _pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<div class="hyde container">
<h1>{{ site.description }}</h1>
<h2 class="hyde main-desc">{{ page.description }}</h2>
<a href="/about" class="hyde btn btn-default">start exploring</a>
<a href="/about" class="hyde btn btn-light">start exploring</a>
</div>
</div>
22 changes: 21 additions & 1 deletion assets/css/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,17 @@
}
}

.hyde.btn-default {
.hyde.btn-secondary {
color: $secondary;
border: 2px solid $secondary;

&:hover {
color: white;
background-color: $secondary;
}
}

.hyde.btn-light {
color: white;
border: 2px solid white;

Expand All @@ -35,6 +45,16 @@
}
}

.hyde.btn-default {
color: $dark;
border: 2px solid $dark;

&:hover {
color: white;
background-color: $dark;
}
}

.hyde.btn-group {
text-align: center;
}
10 changes: 10 additions & 0 deletions assets/css/components/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,14 @@
.hyde.divider {
border-bottom: 1px solid $dark200 !important;
}

.hyde.btn-default {
color: white;
border: 2px solid white;

&:hover {
color: $dark;
background-color: white;
}
}
}
4 changes: 2 additions & 2 deletions assets/css/hyde.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/hyde.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Hyde v1.1.1 (https://chemistryx.me)
* Hyde v1.1.2 (https://chemistryx.me)
* Copyright 2022 ChemistryX. All rights reserved.
* Licensed under MIT (https://github.com/ChemistryX/hyde/blob/master/LICENSE)
*/
Expand Down

0 comments on commit c376b1a

Please sign in to comment.