Minor improvements

This commit is contained in:
Eduard Urbach 2017-10-06 07:28:21 +02:00
parent e27e5a9256
commit 52927cd9e0
3 changed files with 48 additions and 5 deletions

View File

@ -15,6 +15,12 @@ component WebDev
a.button.mountable(href="https://html5.validator.nu/?doc=https://notify.moe", target="_blank", rel="noopener")
Icon("external-link")
span HTML5 Validator
a.button.mountable(href="https://testmysite.withgoogle.com/", target="_blank", rel="noopener")
Icon("external-link")
span Mobile Speed
a.button.mountable(href="https://www.webpagetest.org/", target="_blank", rel="noopener")
Icon("external-link")
span Web Page Test
h2 Browser Support
@ -33,4 +39,7 @@ component WebDev
span Intersection Observer
a.button.mountable(href="http://caniuse.com/#feat=requestidlecallback", target="_blank", rel="noopener")
Icon("external-link")
span Request Idle Callback
span Request Idle Callback
a.button.mountable(href="http://caniuse.com/#feat=css-variables", target="_blank", rel="noopener")
Icon("external-link")
span CSS Variables

View File

@ -1,4 +1,6 @@
component FrontPage
.frontpage-background
.frontpage.mountable
h1 notify.moe
@ -9,9 +11,25 @@ component FrontPage
Login
.footer
a(href="https://paypal.me/blitzprog", target="_blank", rel="noopener") Support the development
span |
a(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") Source on GitHub
a.footer-element(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener")
Icon("microphone")
span Discord
a.footer-element(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener")
Icon("facebook")
span Facebook
a.footer-element(href="https://twitter.com/animenotifier", target="_blank", rel="noopener")
Icon("twitter")
span Twitter
a.footer-element(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener")
Icon("google-plus")
span Google+
a.footer-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener")
Icon("github")
span GitHub
video.bg-video(autoplay="autoplay", loop="loop")
source(src="//s1.webmshare.com/nZVby.webm", type="video/webm")

View File

@ -1,3 +1,14 @@
frontpage-bg-color = rgb(32, 32, 32)
.frontpage-background
position absolute
top 0
left 0
width 100%
height 100%
z-index -200
background frontpage-bg-color
.frontpage
vertical
align-items center
@ -30,6 +41,7 @@
margin-top content-padding
.bg-video
display none
position absolute
top 50%
left 50%
@ -39,7 +51,11 @@
width auto
height auto
z-index -100
background rgb(32, 32, 32)
background frontpage-bg-color
> 1100px
.bg-video
display block
.login-button
horizontal