2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00

update svg css fade.js

This commit is contained in:
Hendrik Niefeld 2019-09-08 20:51:51 +02:00
parent 07f38cd57a
commit e323dfdc0d
7 changed files with 22 additions and 586 deletions

View File

@ -244,7 +244,11 @@ h4 {
font-size: 22px;
}
}
@media only screen and (max-width: 330px) {
.spacer-intro {
width: 250px;
}
}
/* ---------------------------------------------------
LINKS
@ -265,11 +269,6 @@ ol li p a:hover,
ol li p a:focus {
color: var(--grey-bright);
}
.footer a,
.footer a:hover,
.footer a:focus {
font-weight: 400;
}
/* ---------------------------------------------------
@ -406,7 +405,7 @@ BUTTONS
MENU
----------------------------------------------------*/
.nav-list {
margin: 0 0 40px 0;
margin: 0 10px 40px 0;
}
.nav-bar {
height: 70px;
@ -440,9 +439,10 @@ nav ul li a:visited {
display: block;
padding: 0 20px;
line-height: 70px;
text-decoration: none;
font-weight: 700;
background: var(--yellow-mid);
color: var(--black-mid);
text-decoration: none;
}
nav ul li a:hover,
nav ul li a:visited:hover {
@ -476,6 +476,9 @@ nav ul li ul li a {
}
/* Mobile Styles */
@media only screen and (max-width: 960px) {
.nav-list {
margin: 0 0 40px 0;
}
.nav-mobile {
display: block;
}
@ -526,7 +529,7 @@ nav ul li ul li a {
cursor: pointer;
border-radius: 1px;
height: 2px;
width: 35px;
width: 25px;
background: var(--black-mid);
position: absolute;
display: block;
@ -536,10 +539,10 @@ nav ul li ul li a {
*/
}
#nav-toggle span:before {
top: -10px;
top: -8px;
}
#nav-toggle span:after {
bottom: -10px;
bottom: -8px;
}
#nav-toggle.active span {
background-color: transparent;

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 85 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 21 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -2,7 +2,9 @@
$(document).ready(function () {
$(window).scroll(function () {
var scrollProgress = parseInt($(window).scrollTop(), 10)
$('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1))
if ($(window).width() > 960) {
$('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1))
}
})
})
})(window.jQuery)

View File

@ -89,7 +89,7 @@
In the making
</h2>
<p>
This project is still in alpha. Discover what is already up and running and where we want to go in the coming months.
<strong>offen</strong> is still in alpha. Discover what is already up and running and where we want to go in the coming months.
</p>
<div class="btn-wrapper">
<a class="btn btn-color-black" href="/status/">Project status</a>