Commit ec6e54d5 authored by danterolle's avatar danterolle
Browse files

Added style rules + pJS to donate page

parent 6ac54506
Pipeline #2532 failed with stage
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
{{ $data := index .Site.Data .Site.Language.Lang }} {{ $data := index .Site.Data .Site.Language.Lang }}
<div id="particles-js">
</div>
<section id="donate-intro" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .Site.Params.donate.background | absURL }}")'> <section id="donate-intro" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .Site.Params.donate.background | absURL }}")'>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
...@@ -84,4 +87,11 @@ ...@@ -84,4 +87,11 @@
</div> </div>
</section> </section>
<script src="../plugins/particles/particles.min.js"></script>
<script>
window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
console.log('particles.json loaded!');
});
</script>
{{ end }} {{ end }}
\ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{{with .icon}} <i class="{{ . }}"></i> {{ end }} {{with .icon}} <i class="{{ . }}"></i> {{ end }}
</div> </div>
<div class="media-body"> <div class="media-body">
{{with .title}} <h4 class="media-heading">{{ . }}</h4>{{ end }} {{with .title}} <h4 class="media-heading" style="border-bottom: 2px solid #57cbcc; width: 70%; padding-bottom: 5px;">{{ . }}</h4>{{ end }}
{{ with .content}} <p>{{ . }}</p> {{ end }} {{ with .content}} <p>{{ . }}</p> {{ end }}
</div> </div>
</div> </div>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="collapse navbar-collapse" id="navigation"> <div class="collapse navbar-collapse mt-2" id="navigation">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
<!-- Home button <!-- Home button
<li class="nav-item"><a class="nav-link" href="/">{{ .Site.Params.home }}</a></li> <li class="nav-item"><a class="nav-link" href="/">{{ .Site.Params.home }}</a></li>
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
background:#9fef00; background:#9fef00;
} }
.navbar-toggler {
border: none;
}
/* btn style for cryptocurrency div */ /* btn style for cryptocurrency div */
.btn-copy.btn { .btn-copy.btn {
background: #57cbcc; background: #57cbcc;
...@@ -297,4 +301,4 @@ hr { ...@@ -297,4 +301,4 @@ hr {
fill-opacity: 1; fill-opacity: 1;
stroke-width: 0pt; stroke-width: 0pt;
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment