Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rixsilverith committed Oct 31, 2022
0 parents commit 476c7dc
Show file tree
Hide file tree
Showing 36 changed files with 24,943 additions and 0 deletions.
74 changes: 74 additions & 0 deletions _base.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
*, :after, :before
box-sizing: border-box

html
scroll-behavior: smooth
font-family: sans-serif
line-height: 1.15

html, body
width: 100%
height: 100%
margin: 0
font-size: 1rem
font-weight: 400
color: #fff
background-color: #000
font-family: Lora, Helvetica Neue, Helvetica, Arial, sans-serif

h1, h2, h3, h4, h5, h6
margin-top: 0
margin-bottom: .5rem
letter-spacing: 1px
margin: 0 0 35px

p
margin-top: 0
margin-bottom: 1rem
font-size: 16px
line-height: 1.5
margin: 0 0 25px

@media (min-width:768px)
p
font-size: 18px
line-height: 1.6
margin: 0 0 35px

a
text-decoration: none
background-color: transparent

&:hover
text-decoration: none

img
border-style: none
vertical-align: middle

button
border-radius: 0

.container
width: 100%
padding-right: 15px
padding-left: 15px
margin-left: auto
margin-right: auto

@media (min-width:576px)
.container
max-width: 540px

@media (min-width:768px)
.container
max-width: 720px

@media (min-width:992px)
.container
max-width: 960px

@media (min-width:1200px)
.container
max-width: 1140px

4 changes: 4 additions & 0 deletions _colors.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$primary-color: #FF007B
$primary-dark-color: #A3004E
$secondary-color: #000416
$secondary-light-color: #000F47
202 changes: 202 additions & 0 deletions _theme.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
@use 'colors'

button:not(:disabled)
cursor: pointer

a
color: colors.$primary-color
transition: all .2s ease-in-out

&:hover
color: #fff

.btn
display: inline-block
text-align: center
vertical-align: middle
-webkit-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
background-color: transparent
padding: .375rem .75rem
font-size: 1.25rem
line-height: 1.5
transition: all .2s ease-in-out
text-transform: uppercase
color: colors.$primary-color
border: 1px solid colors.$primary-color
min-width: 180px

&:hover
color: #000
background-color: colors.$primary-color
outline: none

.btn-text
font-weight: bold

.fab
font-size: 25px
margin-top: 5px

.reach-out-btn
margin-bottom: 20px
min-height: 110px

.btn-down
display: flex
justify-content: center
align-items: center
margin: auto
padding: 0
font-size: 26px
width: 55px
height: 55px
line-height: 45px
border: 2px solid #fff
border-radius: 100% !important
color: #fff
min-width: 0

&:hover
color: colors.$primary-color !important
border-color: colors.$primary-color
background-color: hsla(0, 0%, 100%, .1)

.text-monospace
font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important

h1
font-weight: 700
text-transform: uppercase
line-height: 1.2
font-size: 2.5rem

#navbar
font-family: Cabin, Helvetica Neue, Helvetica, Arial, sans-serif
margin-bottom: 0
text-transform: uppercase
// height: 48px
.centered-stuff
display: flex
align-items: center
width: 50%
height: 100%
margin: auto

#navbar-brand
height: 100%

.navbar-list
width: 100%
// height: 100%
.navbar-brand
float: left !important

.navbar-item
display: inline
float: right

.navbar-link
display: block
color: #fff
text-align: center
padding: 1rem 1.2rem
letter-spacing: 1px
transition: all .2 ease-in-out

&:hover
color: #000
background-color: #fff

// @keyframes cursor
// from, to
// opacity: 0
// 50%
// opacity: 1
// @keyframes typing
// from
// width: 100%
// 90%, to
// width: 0
@keyframes cursor-blink
0%
opacity: 1
50%
opacity: 1
50.0001%
opacity: 0
100%
// color: transparent
opacity: 0

#landing-section
width: 100%
height: 100%
padding: 0
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1)), url('bg-grayscale.jpg')
background-size: cover
display: table
text-align: center
color: #fff

.landing-body
display: table-cell
vertical-align: middle
text-align: center
max-width: 720px

.heading-title
font-size: 5rem

&::after
content: "_"
// width: 5px
// height: 20px
// background: #fff
// color: #fff !important
display: inline-block
animation: cursor-blink 1.5s steps(2) infinite
font-weight: 700
text-transform: uppercase
line-height: 1.2
font-size: 5rem
z-index: 999999




footer
padding: 50px 0
text-align: center

p
font-size: 14px
margin: 0
opacity: 0.5

#about-section
display: flex
width: 40%
height: 100%
margin: auto
text-align: center !important
vertical-align: middle
justify-content: center
align-items: center

#reach-out-section
display: flex
justify-content: center
align-items: center
width: 70%
height: 100%
margin: auto
text-align: center !important
vertical-align: middle

73 changes: 73 additions & 0 deletions anim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
window.onload = function() {

function typeEffect(element, speed) {
var text = "4R3 Y0U 531F";
var text2 = "SEIF?"
element.innerHTML = "";
var i = 0;
var timer = setInterval(function() {
if (i < text.length) {
element.append(text.charAt(i));
i++;

} else if (text.length == i || text.length + 0 == i) {
i++;
} else if (text.length + 1 * 0 < i && i <= text.length + 5 - 1) {
element.innerHTML = element.innerHTML.substr(0, element.innerHTML.length - 1);
i++;
} else if (i < text.length + 11) {
element.append(text2.charAt(i - 18));
i++;
} else {
clearInterval(timer);
}
}, speed);

// i = 4;
// timer2 = setInterval(function() {
// if (i != 0) {
// element.innerHTML = element.innerHTML.substr(0, element.innerHTML.length - 1);
// i--;
// } else {
// clearInterval(timer2);
// }
// }, speed);
}

// application
var speed = 130;
var h1 = document.querySelector('h1');
var p = document.querySelector('p');
var delay = h1.innerHTML.length * speed + speed;

typeEffect(document.getElementById('seif-intro'), speed)
// typeRemove(document.getElementById('seif-intro'), speed)

// type affect to header
// typeEffect(h1, speed);


// // type affect to body
// setTimeout(function(){
// p.style.display = "inline-block";
// typeEffect(p, speed);
// }, delay);

}

// window.onload = function() {
// setTimeout(() => { document.getElementById('seif').textContent = "531F "; }, 1000)
// setTimeout(() => { document.getElementById('seif').textContent = "5E1_"; }, 1250)
// setTimeout(() => { document.getElementById('seif').textContent = "5E_"; }, 1500)
// setTimeout(() => { document.getElementById('seif').textContent = "5_"; }, 1750)
// setTimeout(() => { document.getElementById('seif').textContent = "_"; }, 2000)
// setTimeout(() => { document.getElementById('seif').textContent = "S_"; }, 2500)
// setTimeout(() => { document.getElementById('seif').textContent = "SE_"; }, 2750)
// setTimeout(() => { document.getElementById('seif').textContent = "SEI_"; }, 3000)
// setTimeout(() => { document.getElementById('seif').textContent = "SEIF_"; }, 3250)

// setInterval(() => setInterval(() => {
// document.getElementById('seif').textContent = "SEIF_"
// setTimeout(() => document.getElementById('seif').textContent = "SEIF ", 500)
// }, 1000), 3250)
// }
Binary file added bg-grayscale.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 476c7dc

Please sign in to comment.