Skip to content

Commit

Permalink
Redesign Intro Text in Home
Browse files Browse the repository at this point in the history
  • Loading branch information
aswinshenoy committed Mar 7, 2019
1 parent 0899e6d commit f225dde
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pages/static/pages/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ new TypeIt('#header-title', {
.delete(52)
.type('We mentor students to achieve excellence in ')
.type('Technical and')
.pause(200)
.pause(250)
.delete(13)
.type('Non-Technical Skills.')
.pause(200)
.pause(250)
.delete(20)
.delete(46)
.delete(45)
.type('The FOSS Club of Amrita Vishwa Vidyapeetham, Amritapuri Campus.')
.pause(300)
.delete(63)
Expand Down
11 changes: 10 additions & 1 deletion pages/static/pages/styles/home.sass
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ section

#cover
background: #444
position: relative
top: 0

video
width: 100%
Expand All @@ -17,9 +19,16 @@ section
z-index: 1000
padding: 5vh 5vw
position: absolute
left: 0
color: white
font-size: calc(1rem + 2.3vw)
left: 0
top: 0
bottom: 0
right: 0
display: flex
align-items: center
background: rgba(0,0,0,0.5)
text-shadow: 1px 1px rgba(0,0,0,0.5)

#intro
min-height: inherit
Expand Down
2 changes: 1 addition & 1 deletion templates/home.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block content %}
%div{:id=>"homepage"}
%section#cover
<video autoplay loop poster="img/index-image.jpg" id="index-video">
<video autoplay loop id="index-video">
<source src="{% static 'pages/videos/cover.mp4' %}" type="video/mp4">
</video>
%h1#header-title
Expand Down

0 comments on commit f225dde

Please sign in to comment.