From f99ee08af6c5a499cde827a66b2134d01471b8a4 Mon Sep 17 00:00:00 2001 From: Silvano Sallese Date: Sun, 2 Aug 2020 18:32:13 +0200 Subject: first commit --- sass/_header.scss | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 sass/_header.scss (limited to 'sass/_header.scss') diff --git a/sass/_header.scss b/sass/_header.scss new file mode 100644 index 0000000..c196cd8 --- /dev/null +++ b/sass/_header.scss @@ -0,0 +1,122 @@ +#particles-js { + background: $main; + display: flex; + vertical-align: bottom; + width: 100%; + min-height: 100vh; + background-repeat: no-repeat; + background-size: cover; + background-attachment: fixed; + .particles-js-canvas-el { + width:100% !important; + height:100vh !important; + } +} + +.header { + z-index: 1; + text-align: center; + color:#FFF; + position: absolute; + top: 50%; + left: 50%; + margin: 0 auto; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + .site-title { + font-size: 50px; + display: block; + line-height: 1; + color: #FFF; + @media only screen and (min-width:$cut){ + margin: 0; + font-size: 100px; + } + } + .site-description { + font-size: 20px; + display: block; + line-height: 1; + color: #FFF; + margin-top: 10px; + @media only screen and (min-width:$cut){ + font-size: 40px; + } + } +} + +.header-links { + margin: 10px; + .link { + color: #FFF; + text-decoration: none; + font-size: 15px; + margin: 10px; + @media only screen and (min-width:$cut){ + font-size: 20px; + } + } +} + +.header-icons { + display: flex; + justify-content: center; + text-align: center; + .icon { + text-align: center; + color: #FFF; + width: 20px; + height: 20px; + font-size: 20px; + padding: 10px; + margin: 5px; + border-radius: 50%; + border: 2px solid #FFF; + transition: all .7s; + &:hover { + color: $main; + background: #FFF; + } + &:active { + color: $main; + background: #FFF; + } + @media only screen and (min-width:$cut) { + width: 35px; + height: 35px; + font-size: 35px; + } + } +} + +.down { + color: #FFF; + position: absolute; + bottom: 25px; + width: 100%; + margin: 0 auto; + display: block; + text-align: center; + font-size: 30px; + cursor: pointer; + .icon { + position: absolute; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + width: 100px; + height: 100px; + fill: #fff; + -webkit-animation: pulse 1.3s infinite; + animation: pulse 1.3s infinite; + &:hover { + color: $sec; + } + &:active { + color: $sec; + } + } +} -- cgit v1.2.3