Skip to content

Commit

Permalink
Added Hugo project
Browse files Browse the repository at this point in the history
  • Loading branch information
surya1701 committed Oct 16, 2020
1 parent ac3a1ee commit 40d2ca3
Show file tree
Hide file tree
Showing 93 changed files with 4,617 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Thumbs.db
.DS_Store
.dist
.tmp
.sass-cache
npm-debug.log
node_modules
builds
package-lock.json
public
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

26 changes: 26 additions & 0 deletions assets/js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(function ($) {
'use strict';

// Preloader js
$(window).on('load', function () {
$('.preloader').fadeOut(100);
});

// Accordions
$('.collapse').on('shown.bs.collapse', function () {
$(this).parent().find('.ti-angle-right').removeClass('ti-angle-right').addClass('ti-angle-down');
}).on('hidden.bs.collapse', function () {
$(this).parent().find('.ti-angle-down').removeClass('ti-angle-down').addClass('ti-angle-right');
});


//slider
$('.slider').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
dots: true,
arrows: false
});

})(jQuery);
Binary file added assets/scss.zip
Binary file not shown.
100 changes: 100 additions & 0 deletions assets/scss/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/* Button style */
.btn {
font-size: 16px;
font-family: $primary-font;
font-weight: 600;
text-transform: capitalize;
padding: 15px 30px;
border-radius: 30px;
border: 0;
position: relative;
z-index: 1;
transition: .2s ease;
white-space: nowrap;

&::before {
position: absolute;
content: "";
height: 100%;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
border-radius: inherit;
transition: inherit;
background-color: inherit;
border: 1px solid transparent;
}

&:hover,
&:active,
&:focus {
outline: 0;
@extend .shadow;

&::before {
height: 110%;
width: 110%;
}
}

&-sm {
padding: 12px 30px;
font-size: 15px;
}
}

.btn-primary {
background-color: $primary-color;
color: $white;
border-color: $primary-color;

&:active,
&:hover,
&.focus,
&.active {
background-color: $primary-color !important;
border-color: $primary-color !important;
}
}

.btn-outline-primary {
background-color: transparent;
color: $text-color-dark;
border-color: transparent;

&:active,
&:hover,
&.focus,
&.active {
background-color: transparent !important;
border-color: $primary-color !important;
color: $primary-color;
}
&::before{
border-color: $primary-color;
}
}

.btn-link {
color: $primary-color;

i {
font-size: 12px;
margin-left: 5px;
transition: .2s ease;
}

&:active,
&:hover,
&.focus,
&.active {
color: $primary-color;
text-decoration: none;

i {
margin-left: 10px;
}
}
}
173 changes: 173 additions & 0 deletions assets/scss/_common.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
body {
background-color: $body-color;
overflow-x: hidden;
}

::selection {
background-color:darken($color: $primary-color, $amount: 10);
color: $white;
}

body::-webkit-scrollbar {
width: .5rem;
}

body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
background-color: $primary-color;
outline: 2px solid #fff;
}


/* preloader */

.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #fff;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}

ol,
ul {
margin: 0px;
}

img {
vertical-align: middle;
border: 0;
}

a,
a:hover,
a:focus {
text-decoration: none;
}

a,
button,
select {
cursor: pointer;
transition: .2s ease;

&:focus {
outline: 0;
}
}

a:hover {
color: $primary-color;
}

.slick-slide {
outline: 0;
}

.section {
padding-top: 70px;
padding-bottom: 70px;

&-title {
margin-bottom: 30px;
}
}

.bg-cover {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}

.border-default {
border-color: $border-color !important;
}

/* overlay */

.overlay {
position: relative;

&::before {
position: absolute;
content: '';
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: $black;
opacity: .5;
}
}

.bg-primary {
background-color: $primary-color !important;
}

.bg-light {
background-color: $light !important;
}

.text-primary {
color: $primary-color !important;
}

.rounded-lg{
border-radius: 10px !important;
}

.shadow{
box-shadow: 0 12px 24px -6px rgba(45,67,121,.10) !important;
}

// form control

.form-control {
&:focus {
outline: 0;
border-color: $primary-color;
box-shadow: none;
}

&::placeholder {
color: $text-color;
}
}

textarea.form-control {
height: 100px !important;
}

.list-unstyled{
li{
margin-bottom: 10px;
}
}

.marker{
position: relative;
padding-left: 0px;
&::before{
position: absolute;
content: "\261B";
font-family: $icon-font;
color: $white;
height: 25px;
width: 25px;
line-height: 25px;
background-color: $primary-color;
border-radius: 50%;
font-size: 15px;
text-align: center;
left: -30px;
top: 3px;
}
}
29 changes: 29 additions & 0 deletions assets/scss/_mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@mixin mobile-xs{
@media(max-width:400px){
@content;
}
}
@mixin mobile{
@media(max-width:575px){
@content;
}
}
@mixin tablet{
@media(max-width:767px){
@content;
}
}
@mixin desktop{
@media(max-width:991px){
@content;
}
}
@mixin desktop-lg{
@media(max-width:1200px){
@content;
}
}

@mixin size($size){
width: $size; height: $size;
}
Loading

0 comments on commit 40d2ca3

Please sign in to comment.